Open armanhovsepyan98 opened 1 month ago
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
Drive-by comment: This SQLiteDatabaseLockedException
has been reported many times but we have never been able to reproduce or find the root cause: https://github.com/search?q=repo%3Afirebase%2Ffirebase-android-sdk+sqlitedatabaselockedexception&type=issues
The log is from Android Studio I believe? Can you reproduce this somewhat consistently? If so, can you tell us your setup and environment, devices used and their versions? A minimum reproduction App would be greatly appreciated.
The log is from Android Studio I believe? Can you reproduce this somewhat consistently? If so, can you tell us your setup and environment, devices used and their versions? A minimum reproduction App would be greatly appreciated.
Yes, it's from Android Studio logs. It constantly happens with Samsung phones (I tried on Android 10 and 12). I also tried on Pixel with different versions but did not have the problem. The app's minimum and target SDK versions are 27 and 34, respectively.
BuildVariant - debug
Firebase//
// Import the Firebase BoM (see: https://firebase.google.com/docs/android/learn-more#bom)
implementation(platform("com.google.firebase:firebase-bom:33.0.0"))
// Firestore
implementation("com.google.firebase:firebase-firestore")
// Firebase Authentication
implementation("com.google.firebase:firebase-auth")
implementation("com.google.firebase:firebase-storage")
This is great information. Can you provide a specific Samsung device info. I'll try to get a device to test this.
This is great information. Can you provide a specific Samsung device info. I'll try to get a device to test this.
I am using a Samsung A41 and an A52.
@wu-hui But as I understand, it's not only dependent on the device because when I create an empty project and connect to Firestore, it works. However, in some projects, it's throwing an exception only on Samsung phones in my case.
[READ] Step 1: Are you in the right place?
Issues filed here should be about bugs in the code in this repository. If you have a general question, need help debugging, or fall into some other category use one of these other channels:
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
Firestore is not working on several devices, and the app crashes with an error.
Relevant Code: