Android Question SOLVED FirebaseMessaging doesn't start on sleeping Android 7

tigrot

Well-Known Member
Licensed User
Longtime User
Hi everybody,
I'm testing my app. It's composed of services and activities. All services are background and none is sticky or foregound. The FirebaseMessaging service works very well on Android's up to 6. On 7, if the system is running, the message flow is regular, while after a long period of inactivity in background it refuses to receive and process messages. I cannot say if the process was aborted by system. No error is signaled by Firebase crash.
Maybe the process is not restarted when a message is in?
Thank you for help!

Best regards
Mauro
 

DonManfred

Expert
Licensed User
Longtime User
Compare your code with the b4j Code... The Json Format is important
 
Upvote 0

tigrot

Well-Known Member
Licensed User
Longtime User
Further investigations proved that the customer swiped away the APP. Since the app is not informed of this I was not able to update customer's record on DB.
Now this is not possible any more. To get rid of App the user must choose to terminate.
 
Upvote 0
Top