Skip to content
This repository has been archived by the owner on Jan 26, 2023. It is now read-only.

Ask for permissions (Android 6.0+) #12

Open
markhaehnel opened this issue Aug 27, 2016 · 6 comments
Open

Ask for permissions (Android 6.0+) #12

markhaehnel opened this issue Aug 27, 2016 · 6 comments
Assignees

Comments

@markhaehnel
Copy link

markhaehnel commented Aug 27, 2016

https://developer.android.com/training/permissions/requesting.html

Beginning in Android 6.0 (API level 23), users grant permissions to apps while the app is running, not when they install the app.

This should be implemented because at the moment i can't scan QR codes.

@markhaehnel markhaehnel changed the title Ask for permissions (Android 6.0 Ask for permissions (Android 6.0+) Aug 27, 2016
@Mechazawa
Copy link
Member

Great that they just changed this without having any kind of fallback. I'll implement it.

@Mechazawa Mechazawa assigned Mechazawa and unassigned Mechazawa Aug 28, 2016
@Mechazawa
Copy link
Member

In classic Android fashion the documentation is terrible. It might take a bit longer.

For now you should be able to grant the permissions manually through the application manager. I'm strongly considering doing a rewrite of the app since it was origninally written for an older version of Android (4.1). This has been causing me a lot of issues.

@markhaehnel
Copy link
Author

Let me know if you need help when rewriting it. I'm glad to help you with it.

@Mechazawa
Copy link
Member

Mechazawa commented Aug 31, 2016

Please, if you don't mind. Right now I'm a quite busy with the start of the acedemic year. I'm kind-of swapped for the coming week(s).

@mrtnmtth
Copy link

mrtnmtth commented Feb 6, 2018

Updating dependency com.journeyapps:zxing-android-embedded fixes this issue since it adds proper permission support to the library.

Changelog excerpt:

3.1.0 (2015-12-29)

  • Add support for Android 6 runtime permissions (Camera only).

@setiseta
Copy link

something new on this?

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

No branches or pull requests

4 participants