Invariant Violation: requireNativeComponent: "RNSVGSvgViewAndroid" was not found in the UIManager.
Opened this issue · 2 comments
I get this Error even when I have installed @react-native-qrcode-svg and @react-native-svg.
And I didn't find any solution.
`
import React from 'react';
import { View, Text, SafeAreaView, TouchableOpacity, StyleSheet } from 'react-native';
import QRCode from 'react-native-qrcode-svg';
const TransactionDetailsScreen = ({ navigation }) => {
const route = useRoute();
const { person } = route.params;
return (
<SafeAreaView style={{ flex: 1 }}>
<View style={{ flex: 1, padding: 16 }}>
<TouchableOpacity onPress={() => navigation.replace('DrawerNavigatorRoutes')} style={styles.goBackButton}>
Go Back
<View
style={{
flex: 1,
alignItems: 'center',
justifyContent: 'center',
}}>
{person.id}
);
};
export default TransactionDetailsScreen;
`
facing the same error got a solution?
I had this problem and it was related to the Android version of the emulated device. I solved it by creating a new device with Android 12 version.