Comments (8)
I get same with READ_EXTERNAL_STORAGE
from cordova-plugin-android-permissions.
Hi there - same is happening with READ_CONTACTS or GET_ACCOUNTS or WRITE_CONTACTS...
Thanks
from cordova-plugin-android-permissions.
Just want to add.
It seems that it is working if you upgrade cordova to the latest version (cli-8.0.0).
I removed my other plugins for the build to work - however it did ask me. Will update the current plugins and hopefully all should be good again.
Please shout if this also worked for you or not?
Thanks and Happy Coding...
from cordova-plugin-android-permissions.
I'm having the same issue, and am currently running cordova 8.0.0. I literally cannot request the permission
from cordova-plugin-android-permissions.
Hi @mikeThurmond
Seems the hook did not work, honesty not sure if this will work, as I did not work with this package since then (only do phonegap apps every so often)
Below is all the packages I have in my config for when I wanted to use the contacts plugin as well.
<preference name="phonegap-version" value="cli-8.0.0" />
<preference name="deployment-target" value="8.0" />
<preference name="android:minSdkVersion" value="16" />
<preference name="android-targetSdkVersion" value="26" />
<preference name="android-build-tool" value="gradle" />
<preference name="AndroidPersistentFileLocation" value="Compatibility" />
<engine name="cordova" spec="^8.0.0" />
<engine name="cordova-ios" spec="^4.3.1" />
<plugin name="cordova-plugin-device" spec="^2.0.1" />
<plugin name="cordova-plugin-file" spec="^6.0.1" />
<plugin name="cordova-plugin-geolocation" spec="^4.0.1" />
<plugin name="cordova-plugin-inappbrowser" spec="^2.0.2" />
<plugin name="cordova-plugin-network-information" spec="^2.0.1" />
<plugin name="cordova-plugin-statusbar" />
<plugin name="cordova-plugin-whitelist" spec="^1.3.3" />
<plugin name="cordova-plugin-analytics" spec="^1.4.3" />
<plugin name="phonegap-plugin-barcodescanner" spec="^7.1.1" />
<plugin name="cordova-plugin-sms" spec="^1.0.5" />
<plugin name="cordova-plugin-contacts" spec="^3.0.1" />
<plugin name="cordova-plugin-android-permissions" spec="^1.0.0" />
<plugin name="cordova-plugin-camera" spec="^4.0.2" />
<plugin name="cordova-plugin-advanced-http" spec="^1.11.1" />
Hopefully you notice something, or the package owner will be able to assist more. :)
from cordova-plugin-android-permissions.
@bpocallaghan, Thanks for responding. I actually edited a hook I found online to request WRITE_EXTERNAL_STORAGE and it works.
from cordova-plugin-android-permissions.
This is still an issue. requestPermission acts exactly like checkPermission for CAMERA and MANAGE_EXTERNAL_STORAGE permissions. Not working on Cordova 9.0.1. Fails with no errors or logs output.
from cordova-plugin-android-permissions.
Just for information, the WRITE_EXTERNAL_STORAGE can only be requested for API 30+(android 11). The plugin does not support a mechanism for requesting this permission. To solve the issue i developed a plugin, which requests the permission.
https://github.com/GAGANsinghmsitece/cordova-manage-external-storage
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
- Support Android 13 (API 33) HOT 5
- 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.