Skip to content
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

Android Manifest Permissions Issue #1021

Closed
ashvin777 opened this issue Jun 23, 2016 · 3 comments
Closed

Android Manifest Permissions Issue #1021

ashvin777 opened this issue Jun 23, 2016 · 3 comments

Comments

@ashvin777
Copy link

ashvin777 commented Jun 23, 2016

Hi Team,

In the plugin.xml <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> is this really required for this plugin ? I have a security requirement to remove this permission from app.

Please help. I am not using any external storage in my app. Is it ok to just remove it or it is going to impact any functionalities.

@ecthurlow
Copy link

The plugin does write to the external cache, however starting from 4.4 KitKat no permissions are required to write to the external storage of your own app.

You can use <uses-permission android:maxSdkVersion="18" android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> instead to only add this permission for versions of android older than KitKat.
https://developer.android.com/guide/topics/data/data-storage.html#AccessingExtFiles
https://developer.android.com/reference/android/content/Context.html#getExternalCacheDir()

@rwillett
Copy link
Collaborator

rwillett commented Mar 7, 2017

Closed as no update from original poster.

@rwillett rwillett closed this as completed Mar 7, 2017
@ashvin777
Copy link
Author

Thanks :)

@wioux wioux mentioned this issue Jul 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants