Concordium / concordium-reference-wallet-android

Reference Android wallet for the Concordium blockchain
Apache License 2.0
12 stars 2 forks source link

Identity flow accesses the camera even without permission #53

Closed concordium-cl closed 2 years ago

concordium-cl commented 2 years ago

Bug Description Even when the app has no permission to access the camera, the camera is opened and used during the identity flow.

Note that on iPhone, a dlg pops up informing the user and redirecting him to phone settings, if he agrees.

Note also that it works as expected for the address book in Android when adding a receiver.

Steps to Reproduce

Expected Result A dlg should pop up informing the user that camera access is disabled. If he agrees, he should be redirected to settings to enable the permission.

Actual Result The camera can be used to take pictures of documents and selfies.

Versions

concordium-cl commented 2 years ago

It's Chrome not camera permissions that are relevant.