__scanCodes is not defined
See original GitHub issueHelp me, please !!!
- This is my “babel.config.js”
plugins: [ [ 'react-native-reanimated/plugin', { globals: ['__scanQRCodes'], }, ], ],
- i tried:
project.ext.react = [ enableHermes: false ]
project.ext.react = [ enableHermes: true ]
yarn start --reset-cache
- All are not working.
- react-native: 0.70.1
- vision-camera-code-scanner: 0.2.0
- Mac M1
- Android Device
Issue Analytics
- State:
- Created a year ago
- Reactions:4
- Comments:7
Top Results From Across the Web
ReferenceError: Can't find variable: __scanCodes · Issue #79
rc file? I'm getting this error. ERROR ReferenceError: Can't find variable: __scanCodes ERROR Invariant Violation: Module AppRegistry is not a ...
Read more >react native - Scan codes and error undefined is not an object
I would like to set up a scan for EAN13 codes, I am using the react-native-camera package but I ran into a **....
Read more >Can't find variable: __scanCodes in React Native Vision Camera
ReferenceError: Can't find variable: __ scanCodes Please do like share and ... ERROR TypeError: undefined is not an object (evaluating ...
Read more >Keyboard scancodes
1. Keyboard scancodes. The data from a keyboard comes mainly in the form of scancodes, produced by key presses or used in the...
Read more >Get keyboard to map to "Unassigned" Scancodes - MSDN
The keyboard has tons of keys, well above the set that windows can ... but does nothing since that code is not defined...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I resolved with that: https://github.com/rodgomesc/vision-camera-code-scanner/issues/79#issuecomment-1276041982
the issue happens on Android with typescript enabled.
Note: I updated react native to 0.70.6 and the issue is resolved