Android Question How to resume or run the app automatically after Firebase trigger

Adamdam

Active Member
Licensed User
Longtime User
Dear All;

Have a nice day,

I build app include firebase notification,
it work correctly, and receive notifications even the app is off or sleep.
I need to walk up or resume or run the app automatically to from the notification procedures, how?
The reason to is to run display, and run every things of the app after the mobile received the notification.
thanks on advance.

best regards
 

KMatle

Expert
Licensed User
Longtime User
As you receive the message in a service, you can do some stuff in it. Starting an Activity is possible but a bad behaviour (screen is locked, etc.). You should throw additional notifications to show user action is needed (good and recommended behaviour)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…