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

GrandUriPersmission in AndroidManifest.xml #267

Open
maltorpro opened this issue Aug 21, 2019 · 1 comment
Open

GrandUriPersmission in AndroidManifest.xml #267

maltorpro opened this issue Aug 21, 2019 · 1 comment

Comments

@maltorpro
Copy link

The plugin sets the provider "io.github.pwlin.cordova.plugins.fileopener2.FileProvider" with the grandUriPermission="true" in the AndroidManifest.xml.
According to google developer documentation https://developer.android.com/guide/topics/manifest/provider-element#gprmsn the given permission must be revoked via the function Context.revokeUriPermission().
Is it possible to remove the entry and use grantUriPermission before using the FileProvider and after revokeUriPermission in the class "FileOpener2"?

@shnist
Copy link
Collaborator

shnist commented Sep 4, 2019

Hi @maltorpro, I'm not sure about this. @pwlin Do you have any thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants