react-native-qrcode-scanner icon indicating copy to clipboard operation
react-native-qrcode-scanner copied to clipboard

Getting error "Unhandled Permission Error"

Open jervis446 opened this issue 6 years ago • 2 comments

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

  • node_modules/react-native/Libraries/BatchedBridge/NativeModules.js:155:41 in createErrorFromErrorData
  • node_modules/react-native/Libraries/BatchedBridge/NativeModules.js:104:55 in
  • ... 5 more stack frames from framework internals`

my package.json file

image

jervis446 avatar Jun 18 '19 06:06 jervis446

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

michaloslav avatar Jun 28 '19 16:06 michaloslav

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.

exAspArk avatar Jul 26 '19 02:07 exAspArk