qrcode_scanner icon indicating copy to clipboard operation
qrcode_scanner copied to clipboard

Request for permission only when scanner is called?

Open joshuakoh1 opened this issue 5 years ago • 7 comments

Right now the app asks for camera and files permissions on boot but I need it to only ask for it if the user wants to use the camera or the library. I don't find anything in AndroidManifest.

joshuakoh1 avatar May 17 '20 13:05 joshuakoh1

Did this get fixed? I need this as well.

arashAndroid avatar Jul 01 '20 10:07 arashAndroid

Me too. Showing permission dialogs to user when app starts wont be a good experience .

dev-naiksan avatar Aug 28 '20 09:08 dev-naiksan

Indeed, this is pretty annoying!

eliezedeck avatar Aug 28 '20 11:08 eliezedeck

FWIW I have created a fork of this repo to fix just this problem: https://github.com/eliezedeck/qrcode_scanner

eliezedeck avatar Aug 28 '20 11:08 eliezedeck

FWIT I have created a fork of this repo to fix just this problem: https://github.com/eliezedeck/qrcode_scanner

@eliezedeck does this work fine on iOS?

dev-naiksan avatar Aug 29 '20 12:08 dev-naiksan

@eliezedeck does this work fine on iOS?

I have modified only the Android files. If iOS has this same issue, I'm sure the problem is still there. Sorry, I only have Android to test.

eliezedeck avatar Aug 29 '20 17:08 eliezedeck

This repo doesn't actually support iOS the last time I checked. I moved to a different package.

joshuakoh1 avatar Aug 29 '20 17:08 joshuakoh1