I am sharing two images please have a look on it you will understand my problem in fist image notification comes successfully as shown better me notification but I want it to come and show first on main screen as shown in second image just this telegram notification. first image second image Answer If I understand correctly, you would like
Tag: firebase-cloud-messaging
Android FCM notification is not received when app is close or Killed
I implemented FCM Push Notifications. The main problem is when app is closed, notifications not arrive when this happen on device. I tried a lot of thigs for that works; when notification sent the server response with “success”, but I never received. Manifest.xml Answer Try adding enabled=”true” and INTERNAL_SERVICE permission to your message service
How to get Firebase token of current user
I’m buildning an app where a logged in user can invite another user through pressing a button, so then the invited user will get a push notification. My idea is that if I can save the token for each user in the database, then when a user presses the “invite button” it will find that users token in the database