-
Notifications
You must be signed in to change notification settings - Fork 238
refactor: Migrate SQLCipher Android to new API #4874
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: Migrate SQLCipher Android to new API #4874
Conversation
Thank you for your contribution! Here are a few things to check in the PR to ensure it's reviewed as quickly as possible:
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #4874 +/- ##
===========================================
- Coverage 80.30% 80.30% -0.01%
===========================================
Files 2155 2155
Lines 57332 57333 +1
Branches 7221 7221
===========================================
- Hits 46043 46041 -2
Misses 8841 8841
- Partials 2448 2451 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
Tested on a local nightly build (so with enabled optimization), and application can be upgraded from a previous version (so with the previous version of the library) without any issue.
Do you know why the latest GitHub release is 4.6.0 and not 4.7.2?(see https://github.com/sqlcipher/sqlcipher-android/releases)?
Also we will merge the PR after the next release candidate has been build to avoid any risk on this sensitive update. In particular one of the encrypted database contains the user credentials, so a problem could break the user access to their session.
@bmarty sqlcipher/sqlcipher-android does not create GitHub Releases anymore, they only push Git tags to the repo. As for 4.7.2, it's used in SQLCipher for Android Migration, and I'll bump to the latest version 4.9.0 shortly. (Using 4.7.2 is primarily for testing binding migration before bumping to 4.9.0) |
82c8c04
to
f198c7e
Compare
From what I could test locally, the upgrade seems to work fine, the Maestro run is failing with an unrelated issue:
|
OK, that's fine then, since forks cannot access GitHub secret (code). Thanks @jmartinesp ! |
Content
Migrate SQLCipher for Android to use the refreshed API
Motivation and context
The legacy API of SQLCipher for Android has been deprecated in favor of the new API.
Additionally the new SQLCipher library supports 16kb alignment.
Screenshots / GIFs
Tests
Tested devices
Checklist