Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatically open app when receive push notification for FCM (Flutter)

I'm trying to make the app open automatically when it receive the push notification, i am using Firebase Cloud Messaging and i've already read here about the same problem but i don't quite understand on how to use it for flutter

like image 430
ali Avatar asked Jan 22 '19 01:01

ali


1 Answers

It's not possible to automatically launch the app once a notification has been received from Firebase Cloud Messaging. As mentioned in the docs, payloads received while the app is in the background can only be handled when the user taps on the notification.

like image 94
Omatt Avatar answered Nov 04 '22 10:11

Omatt