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

Need a way to ask for permissions #131

Open
xandro0777 opened this issue Oct 12, 2021 · 4 comments
Open

Need a way to ask for permissions #131

xandro0777 opened this issue Oct 12, 2021 · 4 comments

Comments

@xandro0777
Copy link

Tried to open a file in /sdcard/ and got EACCES. I guess the app should have acquired the necessary perm, though not perfectly sure. See also #130

@xandro0777
Copy link
Author

Added the permission manually in android/java/AndroidManifest.xml which works. Didn't realize the file can be edited by hand.. can it? Should that be the recommended approach?

@larpon
Copy link
Contributor

larpon commented Oct 13, 2021

Yes we need something set up for this. So far the best options is to either bake it into the VActivity or try something via JNI

@MatejMagat305
Copy link
Contributor

I was create for golang, but you can use it: https://github.com/MatejMagat305/golang-prototype-permision/blob/main/permisions/android.c

@larpon
Copy link
Contributor

larpon commented Dec 17, 2022

Nice! 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

3 participants