react-native-custom-qr-codes
react-native-custom-qr-codes copied to clipboard
Error: while updating property 'fill' of a view managed by: RNSVGReact
I used npm install react-native-custom-qr-codes-expo
and expo install react-native-svg
to install
"dependencies": {
"expo": "^36.0.2",
"react-native": "~0.61.4",
"react-native-custom-qr-codes-expo": "^2.2.0",
"react-native-svg": "^11.0.1",
...
And here's the snippet of the component
import React from 'react'
import { View } from 'react-native'
import { QRCode } from 'react-native-custom-qr-codes-expo';
const QR = () => (
<View>
<QRCode
content="ID-123456"
/>
</View>
);
export default QR
I'm using expo to run the app in an android 10 phone
Thanks for the help