Closed sourimoto closed 5 years ago
Hello, @sourimoto Thank you for the interest to our project. User can disable notification for specific application using android settings. If you want to implement custom switch inside the application the simplest way is to save some flag into Shared Preferences, and check it before do notificationManager.notify( ) in MyFirebaseMessagingService.
Can you plase teach us how to implement a switch button to disable notification if the user wanted.. That's will be a great addition,