oney

Results 64 comments of oney

@jawadrehman The communication between JS and native (Java) is paused when app is closed. I recommend you create a subclass of GcmListenerService to handle the notification. Demo is https://github.com/oney/TestGcm/commit/5fa36144ed015f38e4608667702b27b36a9696c2

What device do you test?

I guess the issue is related to Genymotion simulator. You can try installing Google Play service to Genymotion by follwinng [the link](http://stackoverflow.com/questions/20121883/how-to-install-google-play-services-in-a-genymotion-vm-with-no-drag-and-drop-su)

I think so. GCM is a service from Google Play, so we have to make sure the device/emulator has Google Play service before using it. I have tried testing on...

Now this module uses https://github.com/Neson/react-native-system-notification to create notification in `0.1.7`. You can get payload in `DeviceEventEmitter.addListener('sysNotificationClick'` listener. Give a try and give me feedback, thanks!

Yes, identifying which notification launched app isn't supported yet. Besides putting an extra to the intent in onCreateNotification, we should listen intent when launch the app. In `MainActivity.java` ``` java...

https://github.com/zo0r/react-native-push-notification/blob/b826276e291c0ab011eec80b210d39b63a1c2437/RNPushNotificationAndroid/src/main/java/com/dieam/reactnativepushnotification/modules/RNPushNotification.java#L50 This module already handles the feature. We can use some codes and the idea to do it.

Can you share codes or create a PR? It will be very useful to me.

I believe this issue is related to [react-native-system-notification](https://github.com/Neson/react-native-system-notification) that is responsible for creating notifications. Please go there to open a issue. I have tried TestGcm app. If I click the...

@jawadrehman the issue that you mentioned should be related to this module. Do you have more than one apps that are using this module? Including TestGcm app.