-
Notifications
You must be signed in to change notification settings - Fork 28
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
BUG : <Title>App Crash in Kotlin #375
Comments
@Tilakrk21 thanks for reporting. Which version of SDK are you using? |
|
Can you please update to 1.21.1 and check if you are still facing this? |
Okay. I will check |
Hey @Tilakrk21, Have you tried updating to 1.21? |
Hey @Tilakrk21, |
Hey @prajjwal-epifi,
|
|
Hey @prajjwal-epifi, |
yes, we are using a rudder DB encryption.
In PersistenceProviderFactory, we are setting DB name only. |
As per our investigation, this issue is caused by the deprecated https://github.com/sqlcipher/android-database-sqlcipher dependency (as reported in your stack trace: at net.sqlcipher.database.SQLiteDatabase.native_execSQL(SQLiteDatabase.java)). We have already updated to the latest version of this dependency: https://github.com/sqlcipher/sqlcipher-android. We request you to upgrade to the latest version of our SDK v1.23.2 and also update the following SQLCipher dependencies:
You can refer to our DbEncryption documentation if required: https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-android-sdk/#dbencryption. If the issue persists, please create a new issue. For now, we are closing this one. |
Hey,
I am getting the below crash. Can anyone please help
Fatal Exception: net.sqlcipher.database.SQLiteException: database is locked: UPDATE events SET status = (status | 2) WHERE id IN (121493,121494,121495,121496,121497);
at net.sqlcipher.database.SQLiteDatabase.native_execSQL(SQLiteDatabase.java)
at net.sqlcipher.database.SQLiteDatabase.execSQL(SQLiteDatabase.java:2439)
at com.rudderstack.android.sdk.core.DBPersistentManager.updateEventStatus(DBPersistentManager.java:572)
at com.rudderstack.android.sdk.core.DBPersistentManager.markCloudModeDone(DBPersistentManager.java:562)
at com.rudderstack.android.sdk.core.RudderCloudModeManager$1.run(RudderCloudModeManager.java:57)
The text was updated successfully, but these errors were encountered: