You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,9 +68,9 @@ dependencies {
68
68
+ "jsc-android": "241213.x.x",
69
69
```
70
70
71
-
then run `npm install` or `yarn` (depending which npm client you use) in order for the new dependency to be installed in `node_modules`
71
+
then run `npm install` or `yarn` (depending on which npm client you use) in order for the new dependency to be installed in `node_modules`
72
72
73
-
2. Modify `android/build.gradle` file to add new local maven repository packaged in the `jsc-android` package to the search path:
73
+
2. Modify `android/build.gradle` file to add the new local maven repository packaged in the `jsc-android` package to the search path:
74
74
```diff
75
75
allprojects {
76
76
repositories {
@@ -88,12 +88,12 @@ allprojects {
88
88
}
89
89
```
90
90
91
-
3. Update your app's `build.gradle` file located in `android/app/build.gradle` to add the JSC dependencey. Please make sure the dependency should put before React Native dependency.
91
+
3. Update your app's `build.gradle` file located in `android/app/build.gradle` to add the JSC dependency. Please make sure the dependency is before the React Native dependency.
92
92
93
93
```diff
94
94
95
95
dependencies {
96
-
+ // Make sure to put android-jsc at the the first
96
+
+ // Make sure to put android-jsc at the top
97
97
+ implementation "org.webkit:android-jsc:r241213"
98
98
+
99
99
compile fileTree(dir: "libs", include: ["*.jar"])
@@ -114,7 +114,7 @@ android {
114
114
}
115
115
```
116
116
117
-
5. You're done, rebuild your app and enjoy updated version of JSC on android!
117
+
5. You're done - rebuild your app and enjoy the updated version of JSC on Android!
0 commit comments