Skip to content

Update sqlite to 3.49.1#255

Merged
ospfranco merged 4 commits into
mainfrom
update-sqlite
Apr 13, 2025
Merged

Update sqlite to 3.49.1#255
ospfranco merged 4 commits into
mainfrom
update-sqlite

Conversation

@ospfranco
Copy link
Copy Markdown
Contributor

@ospfranco ospfranco commented Apr 5, 2025

Partially takes care of #254

@ospfranco
Copy link
Copy Markdown
Contributor Author

I don't know why the tests are failing on iOS. My Xcode just updated, so I need to wait for downloads of the new simulator.

On Android, it seems sqlcipher has changed the compilation process and is now calling openssl functions directly and this kapputs on build time, created an issue on the sqlcipher repo, maybe they know what is going on

sqlcipher/sqlcipher#545

@ospfranco
Copy link
Copy Markdown
Contributor Author

Seems sqlcipher has removed support for openSSL 1, and now depends on the latest 3.x versions. This is however a problem as there is no ndkPort official release of the 3.x branch, even though the sources are already in 3.2.1

https://android.googlesource.com/platform/tools/ndkports/+/67ca9a51d5f1b954ad98e6077465ccab093261d1/openssl/build.gradle.kts

I could build openSSL from source but this is already too much work, as it will need to be included in the sources of opsqlite, etc...

I will only update sqlite for now and wait for a sponsor to put the work to update sqlcipher or until google decides to update the ndk port

Also important to notice that sqlcipher 4 databases are not compatible with sqlcipher 3 databases, so this will require a migration for people using them

https://discuss.zetetic.net/t/upgrading-to-sqlcipher-4/3283

# Conflicts:
#	example/ios/Podfile.lock
#	example/package.json
@ospfranco ospfranco changed the title update sqlite Update sqlite to 3.49.1 Apr 13, 2025
@ospfranco ospfranco merged commit 3cc164e into main Apr 13, 2025
8 checks passed
@ospfranco ospfranco deleted the update-sqlite branch April 13, 2025 02:37
subtleGradient pushed a commit to effect-native/op-sqlite that referenced this pull request Sep 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant