react-native-gifted-charts
react-native-gifted-charts copied to clipboard
`RNSVGRect` and `RNSVGSvgViewAndroid/UIManager` problems
Describe the bug I am experiencing both issue #306 and Issue #324 in my project, depending on the configuration of the libraries.
If I use react-native-svg
version 13.9.0 or below, I experience issue #306. If I use version 13.10.0, I experience issue #324.
If I attempt to use an older version of the library, I experience the same issue as #306, but with RNSVGSvgView
instead of RNSVGRect
.
- Device: Android Emulator
- OS: Android API 34 w/ Google APIs
- Version of the library being used: 3.2.0 (also attempted older versions)
Additional context
Current package.json:
{
"scripts": {
"start": "expo start --dev-client",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web"
},
"dependencies": {
"@expo/vector-icons": "^13.0.0",
"@expo/webpack-config": "^18.0.1",
"@react-navigation/drawer": "^6.6.3",
"@react-navigation/material-top-tabs": "^6.6.3",
"axios": "^1.4.0",
"easy-peasy": "^6.0.0",
"expo": "~48.0.18",
"expo-constants": "~14.2.1",
"expo-dev-client": "~2.2.1",
"expo-linear-gradient": "~12.1.2",
"expo-linking": "~4.0.1",
"expo-router": "^1.5.3",
"expo-secure-store": "~12.1.1",
"expo-splash-screen": "~0.18.2",
"expo-status-bar": "~1.4.4",
"formik": "^2.4.2",
"native-base": "^3.4.28",
"react": "18.2.0",
"react-dom": "^18.2.0",
"react-native": "0.71.8",
"react-native-gesture-handler": "~2.9.0",
"react-native-gifted-charts": "^1.3.2",
"react-native-pager-view": "6.1.2",
"react-native-reanimated": "~2.14.4",
"react-native-safe-area-context": "4.5.0",
"react-native-screens": "~3.20.0",
"react-native-svg": "13.4.0",
"react-native-tab-view": "^3.5.2",
"react-native-vector-icons": "^9.2.0",
"react-native-web": "~0.18.10",
"react-tagcloud": "^2.3.1",
"yup": "^1.2.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@react-native-community/eslint-config": "^3.2.0",
"@types/react": "~18.0.14",
"@types/react-tagcloud": "^1.1.7",
"babel-plugin-module-resolver": "^5.0.0",
"eslint": "^8.42.0",
"prettier": "^2.8.8",
"react-native-svg-transformer": "^1.0.0",
"typescript": "^4.9.4"
},
"overrides": {
"metro": "0.76.0",
"metro-resolver": "0.76.0",
"react": "18.2.0",
}
}
@Emperor-Koala i fixed this upgrading in my proyect the react native svg library to 13.9.0
@Emperor-Koala i fixed this upgrading in my proyect the react native svg library to 13.9.0
How did you upgrade it? npm install [email protected]? Can you show your package.json file? What version of expo are you using?
@Emperor-Koala i fixed this upgrading in my proyect the react native svg library to 13.9.0
How did you upgrade it? npm install [email protected]?
Can you show your package.json file? What version of expo are you using?
I tried upgraded using both npx expo install [email protected]
and updating the package.json directly and running npx expo install
I've already included my package.json in the post, and I'm using Expo SDK 48. I tried upgrading the project to SDK 49 but I ran into issues with other packages.