I am using Firebase notifications in one of my B4I and B4A Apps and they work very well. The code is based on the example posted by Erel:
But now I'm trying to figure out a way in which the user can temporarily "mute" the notifications and then "unmute" them as needed. I can't seem to find any way in the example above (the B4I part) that will allow me to add or modify the code to temporarily disable notifications and then re-enable them. I realize that iOS apps don't run in the background, but I have seen other iOS apps that will allow you to temporarily mute these notifications when too many have been received without having to do so in the main phone Settings.
Has anyone accomplished this? Any ideas or suggestions? ...... Thanks!
[B4X] Firebase Push Notifications 2023+
Google has deprecated the previous method of sending push notifications. It will stop working on June 2024. If you have an already working solution then you only need to update the B4J side. Do make sure that you switched from the service to a receiver on B4A. The new API is (confusingly) named...
www.b4x.com
But now I'm trying to figure out a way in which the user can temporarily "mute" the notifications and then "unmute" them as needed. I can't seem to find any way in the example above (the B4I part) that will allow me to add or modify the code to temporarily disable notifications and then re-enable them. I realize that iOS apps don't run in the background, but I have seen other iOS apps that will allow you to temporarily mute these notifications when too many have been received without having to do so in the main phone Settings.
Has anyone accomplished this? Any ideas or suggestions? ...... Thanks!