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
When calling permissionsController.getPermissionState() with Permission.REMOTE_NOTIFICATION, I always get the same value : DeniedAlways.
I'm testing it by deleting completely my app for my test phone.
At the time the call is made no authorization has been requested by the user yet.
In fact, just to be sure I also checked into the settings of the app that the Notification setting row does not appear.
What I tested
I first tested to prompt the notification status by logging it in my iOS app that way :
let currentCenter = UNUserNotificationCenter.current()
currentCenter.getNotificationSettings { value in
print(value.authorizationStatus)
}
The issue
When calling
permissionsController.getPermissionState()
withPermission.REMOTE_NOTIFICATION
, I always get the same value :DeniedAlways
.I'm testing it by deleting completely my app for my test phone.
At the time the call is made no authorization has been requested by the user yet.
In fact, just to be sure I also checked into the settings of the app that the Notification setting row does not appear.
What I tested
I first tested to prompt the notification status by logging it in my iOS app that way :
Which gives me this output :
Everything is fine here so I moved on with trying to get the value myself from my KMM/iosMain code :
I get the right result even in the kmm side, while at the same time I still get
.DeniedAlways
from moko.permissionsAny idea where this issue could originate from ?
The text was updated successfully, but these errors were encountered: