Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invariant Violation: requireNativeComponent: "RNSVGSvgViewAndroid" was not found in the UIManager. #186

Open
alimaniddekh opened this issue Jul 14, 2023 · 2 comments

Comments

@alimaniddekh
Copy link

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;
`

@tanzeel152
Copy link

facing the same error got a solution?

@nalberthy
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants