Closed khrizt closed 6 years ago
Ok, I figured what was happening. I'm gonna put it here just in case someone comes from google with a similar error.
I'm using detox and for testing the android app in one of the compilations it gave me an error that made me add the line tools:node="replace"
to the AndroidManifest:
<application
[...]
android:allowBackup="false"
android:theme="@style/AppTheme"
tools:node="replace">
That provoked and error in the manifest merger that made new installations to not register the push token in the firebase service. That part I'm still investigating why.
That means that the new users that installed the app with this error will never get a push notification unless I force to regenerate the push token. Is there a way to do that?
Hi,
I'm using this library since 6 months ago when I migrated our app to firebase and always worked perfectly, but today I've realised that the mobiles are not getting the push notifications. The last test I made was when I submitted a PR to this library to be able to display images, and that did work because I did extensive testing.
The strange thing is that no information appears in the log (in debug mode) and the last change I've done is upgrading compile sdk version, target sdk version (both to 27), firebase versions (to 15.+), ... I've tested even reverting this change but no luck.
When installing a new app on a device I receive the push notification token and I can save in my servers, and when I send a push notification firebase service returns 200 OK.
I've tried to use the old code, before migrating to this library and using Zo0r's one and I receive the push notifications, but with the current code no push notifications and no information in logs.
So I'm kind out of ideas, if someone knows where to look or what to try, I'll be really grateful.