https://www.npmjs.com/package/react-native-qrcode-scanner
react-native-qrcode-scanner
A QR code scanner for React Native.. Latest version: 1.5.5, last published: 2 years ago. Start using react-native-qrcode-scanner in your project by running `npm i react-native-qrcode-scanner`. There are 27 other projects in the npm registry using react-nat
www.npmjs.com
react native에서 qr 코드 스캐너를 구현하기 위해 react-native-qrcode-scanner 라이브러리를 사용했다.
android에서는 문제없이 작동했지만 ios에서 실행했을 때 해당 모듈이 설치되어 있지 않다는 에러 메세지가 나타났다.
원인은 react-native-qrcode-scanner에 종속되어 있는 react native permission의 버전 충돌 문제였다.
해결
해당 오류를 해결하기 위해선 node module에서 react-native-qrcode-scanner 폴더 안에 있는 react native permission 폴더를 깔끔하게 삭제해주면 문제 없이 작동한다.
'APP > React Native' 카테고리의 다른 글
[React Native] release 버전으로 앱을 설치하고 싶을때.. (0) | 2024.02.28 |
---|---|
[React Native] webview 사용시 파일 다운로드 - ios (0) | 2024.01.04 |
[React Native, android] react-native-send-intent 라이브러리 설치 주의사항 (0) | 2023.12.29 |
[React Native, android] proguard 설정시 webview 안보이는 문제 해결 (1) | 2023.12.29 |
[React Native, android] aab 파일을 apk로 변환하기 (0) | 2023.12.29 |
댓글