Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter app - Notification settings option

How do I create the notifications settings page in a flutter app? There is no official documentation regarding this.

Most mobile apps have a settings page where users can enable/disable specific types of notifications. How to integrate various notification options in Android and iOS settings? I am using this plugin https://pub.dev/packages/firebase_messaging

Here are some Notification settings samples:

enter image description here


OS level notifications settings:

enter image description here

like image 435
jerrymouse Avatar asked Jun 11 '20 15:06

jerrymouse


People also ask

How do I turn off notifications on Flutter app?

If you want to disable push notifications for the user, use Notifications. setPushNotificationsEnabled(false) . When push notifications are disabled, you still can query for GetSocial Notifications via data API. To enable push notifications use Notifications.


1 Answers

the best solution i have it's when user click the button i take him to notification setting for the device

U can use a package for that like " open-settings"

like image 80
oussama ayadi Avatar answered Oct 01 '22 01:10

oussama ayadi