zetavg / react-native-system-notification

Android system notifications for React Native. Supports push notifications with GCM integrated.
https://www.npmjs.com/package/react-native-system-notification
244 stars 102 forks source link

trouble installing #10

Open parkwood opened 8 years ago

parkwood commented 8 years ago

on installing I see ' UNMET PEER DEPENDENCY react-native-gcm-android@^0.1.8', but trying to install that, it says 'react-native-system-notification' is unmet. is there any around this you know of?

Thanks

zetavg commented 8 years ago

As I know, UNMET PEER DEPENDENCY is just an warning that you can ignore. It won't affects the functionality of this module. (let me know if it did!)

FYI: This is caused by https://github.com/Neson/react-native-system-notification/commit/57d23a7120d57f83f1d7be6755c1334431fcd4cf#diff-b9cfc7f2cdf78a7f4b91a753d10865a2R19

chinloongtan commented 8 years ago

Having issue with installation too for the latest version with react-native-gcm-android

from peerDependencies "react-native-gcm-android": "^0.1.8", it doesn't include 0.2.0which is the latest one.

for "react-native-gcm-android": "^0.1.8", anything 0.1.9 and below will fallback to "react-native-system-notification": "^0.0.8"

Thanks

*note: I update to remove the var EventEmitter = require('EventEmitter'); , otherwise it is working if I remove it on my own.