-
Notifications
You must be signed in to change notification settings - Fork 428
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] Firestore crash when using Android emulator #1065
Comments
Hi @Nyankoo, In order to identify what's causing this behavior, could you share a minimal, reproducible example of your project along with the steps you've taken before facing this issue? |
Furthermore, are you able to share debug logs if this is reproducible? You can change the log level with this API: https://firebase.google.com/docs/reference/unity/namespace/firebase#namespace_firebase_1ae165d1d7bc3d85e1c0463a2a1d9ced9a If you change the log level to DEBUG then will be able to see the messages that the SDK receives from the backend. |
@schmidt-sebastian I'm still trying to recreate this in a minimal repro, but in the meantime, you can find the complete logcat with DEBUG enabled here. |
Unfortunately, Firestore only logs its network traffic when the log level is explicitly set to debug. Even if you cannot create a minimal repro, a debug log that shows the network traffic would help tremendously. |
@schmidt-sebastian The log level is set to debug in the above logcat file (with |
The log level for Firestore is independent from FirebaseApp. You should see some log messages that show the communication from the WatchStream and the WriteStream. |
@schmidt-sebastian Any guides or pointers how to correctly set this up so I can provide a useful logcat? |
You can use FirebaseFirestore.LogLevel = LogLevel.Debug; |
@var-const Thank you! @schmidt-sebastian Please find the logcat with WatchStream and WriteStream below. |
@Nyankoo This is very helpful and exactly what I need. Thank you. |
@Nyankoo Are you talking to our production backend or to the Emulator? |
@schmidt-sebastian What exactly do you mean? |
Are you using "useEmulator()" in your app and talking to "localhost" instead of "firestore.googleapis.com"? |
@schmidt-sebastian I'm not using any special emulator-related methods. |
We also just had the same crash report through Crashlytics on a Reno Ace with Android 5.1.1, but we can't confirm if this is actually an emulator or real device on the user's end. |
@schmidt-sebastian Any progress with this issue? |
We believe this is invalid data coming from the backend. We have a bug to track this - b/191139962. There are no updates yet. |
Hello, has this bug been fixed? We also encountered this problem.
|
[REQUIRED] Please fill in the following fields:
[REQUIRED] Please describe the issue here:
Steps to reproduce:
Relevant Code:
The text was updated successfully, but these errors were encountered: