-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
POST_NOTIFICATION not working #120
Comments
I had the same problem. When I made the "requestPermission" for POST_NOTIFICATIONS, I receive an error :
I try to request READ_CONTACTS and I receive success with |
same. not working |
Hi, I have the same problem has anyone found a solution for this issue? |
I have the same problem. The Allow permission modal is NOT shown for POST_NOTIFICATIONS If I change permission to CAMERA then it works - the Allow permission modal IS shown. BUT not the first time. The app must be restarted for it to start working. Weird
is there an alternate plugin? |
Hithere,
in the config.xml? Greetings, |
I have same problem
|
save me! Thanks |
where is those config.xml file location ? |
For projects created with the Cordova CLI (described in The Command-Line Interface), this file can be found in the top-level directory: app/config.xml Hope this helps. Greetings |
Hi, permissions.POST_NOTIFICATION is still not working. |
Use this plugin |
Hi @wtto00 thx for advice and I tested it. I found usefull these two methods isRemoteNotificationsEnabled and switchToNotificationSettings
|
This is what worked for me with the plugin .
add this to the manifest:
|
When i request the new POST_NOTIFICATION permission on android platform, nothing be shown
Can someone help me ?
this is my code:
this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.POST_NOTIFICATIONS).then( result => { console.log('Has permission?', result.hasPermission) if (!result.hasPermission) this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.POST_NOTIFICATIONS); });
The text was updated successfully, but these errors were encountered: