Closed YanouonaY closed 7 months ago
https://github.com/apache/cordova-plugin-camera/issues/854#issuecomment-1715932306
Closing as duplicated.
I would suggest filing a big ticket with the third-party plugin. Ask them to update the plugin for Android 13 and set the maxSdkVersion to 32 for those permissions.
In the mean time, you can look at the above link. It contains a gist link to code example that you can use in a hookscript to remove the duplicated permissions.
Bug Report
Problem
I try to update the plugin cordova-plugin-camera 6.0.4 -> 7.0.0 with Android13 bug corrections. BUt i've got a probleme: Cordova Android duplicated uses-permissions from two plugins with permission "WRITE_EXTERNAL_STORAGE". In fact, this permission is add with another cordova plugin without maxSdkVersion like cordova-plugin-file v6.0.2 or cordova-plugin-x-social-sharing v6.0.4. This 2 last plugins add "WRITE_EXTERNAL_STORAGE" wihtout maxSdkVersion and the AndroidManifest result contains 2 same uses-permission:
What is expected to happen?
What does actually happen?
Information
Command or Code
Environment, Platform, Device
Version information
Checklist