-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
onRequestPermissionsResult never called #1393
Comments
The reason is the implementation of onRequestPermissionResult in CordovaInterfaceImpl
|
This seems a duplicate of #1388 |
Yes It is Thanks |
rmoehn
added a commit
to GuidedTrack/cordova-plugin-mindease
that referenced
this issue
Oct 24, 2023
As noted in the comment, the former is deprecated in favour of the latter, but the latter is never called. See also: - apache/cordova-android#1388 - apache/cordova-android#1393 I hope the comment will help us fix the problem quickly when the Cordova folks decide to remove the deprecated method. (And hopefully make sure that the new method is called.) Addresses: https://trello.com/c/zsmadleg/2549-mind-ease-notifications-probably-broken-on-android
rmoehn
added a commit
to GuidedTrack/cordova-plugin-mindease
that referenced
this issue
Oct 24, 2023
As noted in the comment, the former is deprecated in favour of the latter, but the latter is never called. See also: - apache/cordova-android#1388 - apache/cordova-android#1393 I hope the comment will help us fix the problem quickly when the Cordova folks decide to remove the deprecated method. (And hopefully make sure that the new method is called.) Addresses: https://trello.com/c/zsmadleg/2549-mind-ease-notifications-probably-broken-on-android
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
onRequestPermissionsResult never called after calling cordova.requestPermissions but it is called the deprecated method onRequestPermissionResult
Problem
api level version:<=29
After calling cordova.requestPermissions(this, 1, permissions) and give the rights on the device, onRequestPermissionsResult isn't called ( but It is called onRequestPermissionResult that is deprecated)
If I call cordova.requestPermission (without s) onRequestPermissionResult (without s) is correctly called
Information
Command or Code
Environment, Platform, Device
Version information
Cordova Packages:
Project Installed Platforms:
Project Installed Plugins:
Environment:
Checklist
The text was updated successfully, but these errors were encountered: