-
Notifications
You must be signed in to change notification settings - Fork 11
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
Getting Crash on App Launch #20
Comments
@praveenathuru, thank you for the report. Is it full stacktrace? Are there more causes? |
Not sure just got this one today as I launched my app after 24 hours on Android 9.
|
There are many reasons why the library can't decrypt master key, but firstly I'd suggest updating tink (the cryptographic library used under the hood) to the latest version: dependencies {
implementation("com.google.crypto.tink:tink-android:1.12.0")
} If it does not help, look at this issue: tink-crypto/tink#535 (especially this comment and this one) |
@osipxd any luck with this crash? we are facing crashes heavily in the production because of this. |
@praveenathuru, yes, I've updated Tink to the latest version in v1.0.0. Do you have fresh stack traces with an updated version? |
@osipxd We are using |
It is required only if you want to use datastore 1.1.0. |
@praveenathuru, have you had a chance to check if the problem persists on the new version? |
@osipxd I'm having the same crash but only on a galaxy a35 so far. Using version 1.1.1-beta03. |
Could you tell me what versions of Android are affected? |
Android 14. Seems to run fine on A53 also with Android 14. |
Sorry @osipxd. It seems I am having a different issue:
|
@itamarb-ramm, could you ensure that encrypted files are excluded from backup? |
Seems like there's going to be an update with Tink that can hopefully address this issue, see tink-crypto/tink-java#23 (comment) |
Thank you for the link! I'll keep an eye on this ticket |
The text was updated successfully, but these errors were encountered: