$ npm i --save react-native-gcm-android
[snip]
├── react-native-gcm-android@0.2.0
└── UNMET PEER DEPENDENCY react-native-system-notification@^0.1.2
npm WARN react-native-gcm-android@0.2.0 requires a peer of react-native-system-notification@^0.1.2 but none was installed.
$ npm i --save react-native-system-notification
[snip]
├── UNMET PEER DEPENDENCY react-native-gcm-android@0.2.0
└── react-native-system-notification@0.1.10
npm WARN react-native-system-notification@0.1.10 requires a peer of react-native-gcm-android@^0.1.9 but none was installed.
This appears to be down to peer dependency version mismatching, as ^0.1.9 refers to ">=0.1.9 < 0.2.0" rather than ">=0.1.9 < 1.0.0".
$ npm i --save react-native-system-notification@0.1.8 works as expected, as react-native-system-notification@0.1.8 depends upon react-native-gcm-android@0.2.0, whereas all react-native-gcm-android@0.1.x versions depend upon react-native-system-notification@0.0.8 or lower.
This appears to be down to peer dependency version mismatching, as ^0.1.9 refers to ">=0.1.9 < 0.2.0" rather than ">=0.1.9 < 1.0.0".
$ npm i --save react-native-system-notification@0.1.8
works as expected, asreact-native-system-notification@0.1.8
depends uponreact-native-gcm-android@0.2.0
, whereas allreact-native-gcm-android@0.1.x
versions depend uponreact-native-system-notification@0.0.8
or lower.