Difference between hasPermission result in Android and iOS #153
Labels
android
Relates to Android platform
bug
Something isn't working properly
legacy
Related to inherited code/functionality
runtime issue
An issue related to app runtime
"On Android, returns true if remote notifications are enabled."
"callbackContext.success(areNotificationsEnabled ? 1 : 0);"
This statement is wrong, on Android, hasPermission return 1 or 0.
It will be better, if possible, to return directly areNotificationsEnabled in the callback to match the signature.
The text was updated successfully, but these errors were encountered: