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: library/src/main/java/README.md
+4-5
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,9 @@ Kotlin code emitted by the `bindings_ffi` crate in [libxmtp](https://github.com/
6
6
7
7
1. From repo [libxmtp](https://github.com/xmtp/libxmtp) checkout the branch you would like to make a release from
8
8
2. Navigate to the `bindings_ffi` folder
9
-
3. Run `./gen_kotlin.sh`
10
-
4. Run `./cross_build.sh`
11
-
5. Copy the contents of `libxmtp/bindings_ffi/src/uniffi/xmtpv3/xmtpv3.kt` to `xmtp-android/library/src/main/java/xmtpv3.kt`
12
-
6. All instances of `value.forEach` should be changed to `value.iterator().forEach` to be compatible with API 23
13
-
7. Copy the jniLibs from `libxmtp/bindings_ffi/jniLibs` to `xmtp-android/library/src/main/jniLibs`
9
+
3. Follow the instructions for "Rebuilding this crate in the `bindings_ffi`[README](https://github.com/xmtp/libxmtp/tree/main/bindings_ffi#rebuilding-this-crate)"
10
+
4. Copy the contents of `libxmtp/bindings_ffi/src/uniffi/xmtpv3/xmtpv3.kt` to `xmtp-android/library/src/main/java/xmtpv3.kt`
11
+
5. All instances of `value.forEach` should be changed to `value.iterator().forEach` to be compatible with API 23
12
+
6. Copy the jniLibs from `libxmtp/bindings_ffi/jniLibs` to `xmtp-android/library/src/main/jniLibs`
14
13
15
14
You should now be on the latest libxmtp. Tests will fail if the jniLibs do not match the version of xmtpv3.
0 commit comments