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 runtime permissions #8

Open
razvanmitre opened this issue Feb 24, 2017 · 0 comments
Open

Android runtime permissions #8

razvanmitre opened this issue Feb 24, 2017 · 0 comments

Comments

@razvanmitre
Copy link

Hello,

I am new to Android programming, and I can't figure out how to request permissions only when the user wants to upload a file. Right now I request WRITE_EXTERNAL_STORAGE permission when the app loads, but I don't think this is ok.

I have tried to override the UIClient's openFileChooser method, to request the permission there, but I found that this is called after the "choose file" popup appears, and without permission no files are shown.

Do you know of a better solution?

Thanks.

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

1 participant