Skip to content
This repository was archived by the owner on Sep 17, 2021. It is now read-only.

Commit a7efd21

Browse files
kensongoomarzolfb
authored andcommitted
Fix the RN 0.46 and above incompatibility issues caused by React Native SVG 5.2 (#170)
* fix 'Unable to resolve module Accessibility Info' error that happens in RN ^0.46 * fix peerDependency version * upgrade react-native-svg version * restore the depedency changes * clean up * upgrade RN to ~4.6.1 for both package.json and example/package.json
1 parent 55f5372 commit a7efd21

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"dependencies": {
1010
"moment": "^2.17.1",
1111
"react": "16.0.0-alpha.12",
12-
"react-native": "0.45.1",
12+
"react-native": "~0.46.1",
1313
"react-native-pathjs-charts": "file:../",
1414
"react-native-side-menu": "^0.20.1",
1515
"react-navigation": "^1.0.0-beta.9"

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"babel-polyfill": "^6.23.0",
4141
"lodash": "^4.12.0",
4242
"paths-js": "^0.4.5",
43-
"react-native-svg": "~5.2.0"
43+
"react-native-svg": "~5.3.0"
4444
},
4545
"devDependencies": {
4646
"babel-jest": "*",
@@ -50,7 +50,7 @@
5050
"jest-react-native": "*",
5151
"react": "16.0.0-alpha.12",
5252
"react-dom": "16.0.0-alpha.12",
53-
"react-native": "0.45.1",
53+
"react-native": "~0.46.1",
5454
"react-test-renderer": "16.0.0-alpha.12"
5555
},
5656
"jest": {

0 commit comments

Comments
 (0)