Android Question FirebaseNotification not working when i restart my device

FrostCodes

Active Member
Licensed User
Longtime User
Hello everyone,
I added firebase notifications to my app but I noticed that if I start my app or kill it after I first started it, the push notification works but when I restart my devices and don't open my app for the first time, the notifications don't come in and when I send a new notification again then I reopen my app after some time (even less than 5 minutes) the notifications also seem to be lost and won't deliver into my device until I resend a new one.

I also tested this on android 8.1, i am facing the same issue.

Please any solution.
 

FrostCodes

Active Member
Licensed User
Longtime User
I implemented it correctly, and yes I used the B4j code, I did port it to PHP also and tested. I face the same issue.
I do have a question, I didn't add Firebase Analytic library to one of my projects because b4a IDe was telling me its not been used.
could this be the problem?

If not, if I create another service and make it start at boot and call the firebase Subscribe method? maybe this would solve it?
 
Last edited:
Upvote 0
Top