cordova-plugin-android-permissions: POST_NOTIFICATION not working
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); });
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 15
save me! Thanks
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
Link to Cordova Documentation
Hope this helps.
Greetings
I had the same problem. OS: Android 13 Compile with SDK 32 or 33
When I made the “requestPermission” for POST_NOTIFICATIONS, I receive an error :
I try to request READ_CONTACTS and I receive success with
{ hasPermission: false }
and nothing shown