-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Notifications sometimes don't work on android app in release mode, changed upon installation. #1348
Comments
Hi @Pazamozaurus, |
Hi @Dallas62 googlePlayServicesVersion = "+" When I changed it to specific versions, like It worked correctly on both debug and release mode. I'm not even sure if these are the correct versions of googlePlayServices and firebaseVersion I use, but at least for me it worked. |
Thanks for this feedback!
then run:
OR
This will allow you to test the PR.
Thanks a lot! |
The PR #1355 is merged into mater, and will be released ASAP. |
I am also facing a similar issue, using version react-native-push-notification : ^3.1.9 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions. |
same issue with 8.1.1 working fine in debug but not sending notification in release APK |
Same here, working very well in debug, and not sending notification in release APK |
Hey Buddy, I found the Resolution of the problem, you've to Sign your app? |
I'm using react-native-push-notifications in my android app(android 10, Samsung galaxy s10).
I have a very weird problem, and that is sometimes I don't get any notifications in my released app (in the debug version it works great).
But the point is, it's not that sometimes I get the notifications and sometimes don't, but rather it depends on when I install my app.
It can be that after I install my app I won't get notifications at all, but after I delete it and re-install, it suddenly can get notifications again.
I really can't figure out what's going on and why deleting and re-installing the app suddenly makes it accept notifications (re-installation doesn't 100% help it to start get notifications, sometimes I need to install and re-install it a couple of times before I can get it.
My version of react native is 0.61.4 and version 3.1.9 of react-native-push-notification.
I'm not sure what kind of another info/configuration about my app I should point out, because I really have no clue what can cause such a phenomenon.
Just to clarify, all the other notifications in my phone work properly without any problems.
Other clarifications: I'm talking about remote notifications of course that I send through firebase
After some debugging I found out that indeed when the notifications don't work and I try to send a message to the token I receive on the onRegister function, I get a "NotRegistered" error from FCM.
But I really have no clue why the registration sometimes work and sometimes doesn't...
The text was updated successfully, but these errors were encountered: