moaazsidat / react-native-qrcode-scanner

A QR code scanner component for React Native.
MIT License
2.03k stars 514 forks source link

Getting error "Unhandled Permission Error" #188

Open jervis446 opened 5 years ago

jervis446 commented 5 years ago

`[Unhandled promise rejection: Error: Tried to use permissions API but the host Activity doesn't implement PermissionAwareActivity.]

my package.json file

image

michaloslav commented 5 years ago

Same problem here. Did you find a way around it?

exAspArk commented 5 years ago

I was trying to modify android/app/src/main/java/host/exp/exponent/MainActivity.java in my ejected Expo app like https://github.com/expo/expo/issues/2224#issuecomment-463242706 or https://github.com/wix/react-native-navigation/issues/3283#issue-328350574. But that didn't help. Weird that I see it only in the dev mode. It works fine if I compile a release apk.