Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open app on firebase notification received in flutter

I want to open the application automatically when a firebase notification is received, without user interaction. means when my application is killed or in the background and when the user receives a firebase notification the application should open automatic without user interaction or clicking on the notification is this possible in the flutter

I want to add this feature in the video calling application that when I receive a notification the call screen with accept reject button should render and I also want to add the autoanswer feature in it.

like image 305
Sumita Naiya Avatar asked Dec 18 '25 12:12

Sumita Naiya


1 Answers

You can achieve this in Android but Its not possible in iOS for now, For android its Full-screen intent notifications and for iOS most you can do is set an custom ringtone when notification is received, You can use the below mentioned library for most of your notification needs:-pub.dev/packages/flutter_local_notifications

like image 129
Surya Mouly Avatar answered Dec 20 '25 10:12

Surya Mouly



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!