You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If i negate notification permissions the first time the NotificationPlugin asks for them, and then i go to the iOS settings (while my app is still in background) and allow the notification, the NotificationPlugin dont "see" the new permission unless the app is killed and reopened
I think this is due the static bool _alertsAllowed always return its value when already sets.
so when we change the permissions while the app is still in memory, the new check will never happen until the app is killed.
I tried this on iOS only, maybe there is the same issue in Android.
i see two options:
the plugin needs to always check it's permission (at least when the "allow" is "false"
let us to check and request permission directly in shared code
The text was updated successfully, but these errors were encountered:
If i negate notification permissions the first time the
NotificationPlugin
asks for them, and then i go to the iOS settings (while my app is still in background) and allow the notification, theNotificationPlugin
dont "see" the new permission unless the app is killed and reopenedI think this is due the
static bool _alertsAllowed
always return its value when already sets.so when we change the permissions while the app is still in memory, the new check will never happen until the app is killed.
I tried this on iOS only, maybe there is the same issue in Android.
i see two options:
the plugin needs to always check it's permission (at least when the "allow" is "false"
let us to check and request permission directly in shared code
The text was updated successfully, but these errors were encountered: