I have configured firebase push notification in the app but when user opens the app very first time after downloading user gets the notification permission request. But if user have denied the request and reopen the application it doesn't ask user for the permission.
I am facing issue for this configuration. How can I achieve that if user have not allowed permission for notification I have to ask user every time user opens the application.
Hello,
There are now some restrictions on the permission pop-up which does not display if user has denied two times. And it is the good practices to not ask for permission every time. It should be handled in the way -
1. First Check whether application have the permission.
2. If permission is not there, then check whether pop up is going to be display or now, if we ask permission.
3. If popup is going to display then request the permission.
4. If popup is not going to display then application should have a link which will navigate to the app security page, so that user can directly grant the permissions.
NOTE - Android permission plugin should provide the interface to accomplish all the 4 steps.