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
{{ message }}
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
When running PushNotification.hasPermission I expect to get a boolean back if the user has already given permission or not.
Actual Behaviour
When running PushNotification.hasPermission and the user has not given permission yet, the permission modal popups. This not expected behaviour. I want to be able to ask for permissions later on the app when it makes more sense for the user.
Reproduce Scenario (including but not limited to)
Run PushNotification.hasPermission after deviceready. Before calling PushNotification.init
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
iOS 9.3.1
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Expected Behaviour
When running
PushNotification.hasPermission
I expect to get a boolean back if the user has already given permission or not.Actual Behaviour
When running
PushNotification.hasPermission
and the user has not given permission yet, the permission modal popups. This not expected behaviour. I want to be able to ask for permissions later on the app when it makes more sense for the user.Reproduce Scenario (including but not limited to)
Run
PushNotification.hasPermission
after deviceready. Before callingPushNotification.init
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
iOS 9.3.1
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
iPhone 6
Cordova CLI version and cordova platform version
Cordova CLI 6.1.0
Installed platforms:
android 5.1.1
browser 4.1.0
ios 4.1.0
Plugin version
phonegap-plugin-push 1.6.1 "PushPlugin"
The text was updated successfully, but these errors were encountered: