-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot receive notification after app killed in android #37
Comments
PS. my app can receive notification while it is closed by pressing home button |
Please try TestGcm project first to see whether it works. Make sure to delete other apps that use this module. |
I am experiencing a similar problem, I have this app only that uses this module |
I have a similar problem on React Native 0.22. I found a error in my device log below:
In fact, I couldn't find that class in sources of react native 0.22.2. Best. Here is my device log: |
More info: Best. |
I am also getting the same error, when i kill the app and send Push notification..
|
got the same error on Nexus 5, 6.0.1, RN 0.22.2
|
This is expected behavior for Android apparently: http://stackoverflow.com/questions/20838415/gcm-push-notification-works-after-app-force-stop |
I have the same problem. When app is put in background, notifications are working fine but when app is closed, background service crashes.
in OR comment out:
|
I found one solution. You have to add all the react packages you have added in MainActivity in com.oney.gcm.BackgroundService.java. |
@shibomb your solution works. +1. Note: You also need to comment new ReactTextInlineImageViewManager() down below in the same file. |
Any update for this problem? I'm getting this in my project. |
@dattran92 did you try @shibomb's solution above? |
As title,
i am not sure is it normal behavior or i missed sth?
thanks!
The text was updated successfully, but these errors were encountered: