I am trying to get a simple QR code scanner and WebView up and running, based on a simple article.
I just discovered Expo Snack, I can add the required dependencies in package.json, but one import is giving me errors. I already tried for hours on my Mac with local Expo, following the instructions of the camera and qr library, but no success. Can this be enabled in Snack? Is another QR library easier to handle? Code.
App.js (682:882)react-native-permissions: NativeModule.RNPermissions is null. To fix this issue try these steps: (Device) • If you are using CocoaPods on iOS, run `pod install` in the `ios` directory and then clean, rebuild and re-run the app. You may also need to re-open Xcode to get the new pods. • If you are getting this error while unit testing you need to mock the native module. You can use this to get started: https://github.com/react-native-community/react-native-permissions/blob/master/mock.js If none of these fix the issue, please open an issue on the Github repository: https://github.com/react-native-community/react-native-permissions Evaluating module://react-native-qrcode-scanner.js Evaluating module://App.js.js Loading module://App.js