GitHub user kiwi-x edited a discussion: Request Permission not Working With 
Android 15 and Security Update May 2025

Hello,

I'm using Cordova Android in combination with the 
[cordova-plugin-android-permissions](https://github.com/NeoLSN/cordova-plugin-android-permissions/tree/master)
 plugin.

I use it like this;

```
        permissions.requestPermission(permissions.READ_MEDIA_IMAGES, success, 
error);
        function error() {
          console.warn('Permissions not granted!');
        }
        function success( status ) {
          if(!status.hasPermission) error();
}
```

Since the May 2025 security update, the permission request dialog opens, but 
you can't 
submit the dialog anymore.

The only hint I fould was that Google changed something in the Permission 
Controller

Permission Controller CVE-2025-26420, CVE-2025-26425

See: https://source.android.com/docs/security/bulletin/2025-05-01

But now I'm not shure if it's a common problem or a problem with the plugin.

Does anyone have simular issues or any hints.

Cheers 
kiwi-x

PS: I open an issue for the plugin, too:
https://github.com/NeoLSN/cordova-plugin-android-permissions/issues/131

GitHub link: https://github.com/apache/cordova/discussions/542

----
This is an automatically sent email for issues@cordova.apache.org.
To unsubscribe, please send an email to: issues-unsubscr...@cordova.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to