Skip to content

Commit e9b28d2

Browse files
committed
Update libsql docs
1 parent f403389 commit e9b28d2

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

docs/docs/Libsql/updating.md

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,16 @@
11
# Updating Libsql
22

3-
# Submitting libsql updates
4-
53
## Re-compile the C binary for iOS and Android
64

7-
PR which originally introduced support for iOS/Android
8-
9-
[https://github.com/tursodatabase/libsql/pull/1423/files](https://github.com/tursodatabase/libsql/pull/1423/files)
10-
11-
You only need to navigate to the `bindings/c` folder and run the make scripts to generate the files
5+
Navigate to `libsql/bindings/c` folder and run:
126

137
```bash
14-
cd libsql/bindings/c
158
make ios
169
make android
1710
```
1811

19-
Sqlcipher/Crypto support is disabled for now, just needs someone to put the time to get it to compile. The makefile then compiles libsql for iOS/Android, RN just consumes these modules natively but can be consumed by any iOS/Android app.
20-
21-
## Submit a PR to op-sqlite
12+
## Submit a PR
2213

23-
Afterwards you will have a bunch of files on the `bindings/c/generated` folder. You need to replace the `libsql.xcframework` to `op-sqlite/ios/libsql.xcframework`. Then you need to copy the `jniLibs` to `op-sqlite/android/`.
14+
Afterwards you will have a bunch of files on the `bindings/c/generated` folder. You need to replace the files inside `opsqlite/ios/libsql_experimental.xcframework` (the binaries and the headers) and the `op-sqlite/android/jniLibs` folder with the generated files.
2415

25-
As long as you have not changed the headers and bindings submitting a PR will be enough, there are automated tests that will build the app to make sure everything is compiling. If you did modify the headers you also need to update the file at `cpp/libsql/libsql.h` .
16+
As long as you have not changed the headers and bindings submitting a PR will be enough, there are automated tests that will build the app to make sure everything is compiling.

0 commit comments

Comments
 (0)