Expensify / react-native-qrcode-svg

A QR Code generator for React Native based on react-native-svg and node-qrcode.
MIT License
1.07k stars 217 forks source link

Android app crushed when use version 6.1.1 #204

Open RunliSong opened 3 months ago

RunliSong commented 3 months ago

I have notice that your code has been updated on yesterday with new version 6.3.2. However our app is still using the old version which is 6.1.1 and when your QRCode component has mounted, there is an error shows up.

"The Property 'TextEncoder' is not exist"

I have no idea why your new changes could effect the old versions(I believe it happens on multiple versions ), but it does happened . Then we updated to the new version and the crush is fixed.

I highly suggest that you can look into this issue, cause it will still in out app on old versions.

Thank you

RunliSong commented 3 months ago

Am I the only one who faced on this issue?

andordavoti commented 2 months ago

Solved this temporarily by adding a polyfill.

Installed "fast-text-encoding"

Then add import "fast-text-encoding" where you are importing this library.

Elanthingal commented 2 months ago

213 - Need Reviewers