Pushjet-Android icon indicating copy to clipboard operation
Pushjet-Android copied to clipboard

Ask for permissions (Android 6.0+)

Open markhaehnel opened this issue 8 years ago • 6 comments

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 avatar Aug 27 '16 10:08 markhaehnel

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

Mechazawa avatar Aug 28 '16 19:08 Mechazawa

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.

Mechazawa avatar Aug 29 '16 07:08 Mechazawa

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

markhaehnel avatar Aug 29 '16 07:08 markhaehnel

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).

Mechazawa avatar Aug 31 '16 10:08 Mechazawa

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).

mrtnmtth avatar Feb 06 '18 16:02 mrtnmtth

something new on this?

setiseta avatar Mar 28 '18 18:03 setiseta