Comments (5)
I found your plugin to be very useful thank you, so had a go at adding the new permissions for Android 13 and have submitted a PR:
#116
As well as the permissions the OP mentioned, POST_NOTIFICATIONS is now also needed if you want to do push notifications.
from cordova-plugin-android-permissions.
Currently, no plan.
If you have any plan to support this new feature. You can create a PR, I can help to release it.
from cordova-plugin-android-permissions.
@NeoLSN kindly merged in PR #116 already.
from cordova-plugin-android-permissions.
I am having some difficulty with this too.
I need to request, and check permissions, and close the app if the user rejects a permission.
That's fine, but on Android 33, I have to somehow know that, if your on 33, ask for read media, if your on less than 33, ask for external storage read. If you ask for both on 33, it ignores external storage read, then tells you you don't have permission when you check for it.
So how are you supposed to know what API version the phone has to know what to request?
Also, READ_MEDIA_IMAGES doesn't seem to actually work, it always returns false to the hasPermission and doesn't pop up asking for access on Android 33 Emulator.
When I try on my actual Android 33 phone (Pixel 7) it just works without the need for permission.
This is affecting cordova-camera gallery picker.
from cordova-plugin-android-permissions.
@TDola you can use the cordova diagnostic plugin core module to check the OS version. Then make the appropriate call using a simple if statement.
from cordova-plugin-android-permissions.
Related Issues (20)
- NFC permissions Not Working HOT 1
- Cordova Permissions not working Quasar HOT 1
- Any way to "Predict" if User will be prompted for Permission? HOT 3
- How can i check `MANAGE_EXTERNAL_STORAGE`(all file access) in android? HOT 7
- BLUETOOTH_CONNECT permission missing in permissions.js HOT 2
- Background Location permission issue HOT 5
- BLUETOOTH_CONNECT + BLUETOOTH_SCAN missing for Android +10 HOT 4
- plugins/cordova-plug…w/permissions.js:38 Uncaught SyntaxError: Unexpected token ':' HOT 1
- BLUETOOTH_SCAN doesn't show confirm dialog to the user HOT 4
- Android 13 SDK 33 - no dialog HOT 5
- uses-feature and camera request in Ionic 6 HOT 3
- POST_NOTIFICATION not working HOT 15
- Camera permission is not turned on?? HOT 1
- android build faild HOT 1
- Permissions not popping up HOT 8
- Storage permission not showing up HOT 2
- BSF Cordova Ecosystem Crowdfunding Plan HOT 2
- POST_NOTIFICATIONS don't work for Android 10 HOT 1
- Trouble with requesting SCHEDULE_EXACT_ALARM permission for Android 14 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-android-permissions.