You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Other Firebase Components in use: Auth, RemoteConfig(Auth, Database, etc.)
Additional SDKs you are using: Google sign in (Facebook, AdMob, etc.)
Platform you are using the Unity editor on: Mac (Mac, Windows, or Linux)
Platform you are targeting: Android (iOS, Android, and/or desktop)
Scripting Runtime: IL2CPP(Mono, and/or IL2CPP)
[REQUIRED] Please describe the issue here:
get crash:
After FirebaseApp is ready, call:
FirebaseFirestore.setLoggingEnabled(true);
crash
#00 pc 0000000000203360 /data/app/com.iscoolentertainment.snc-uASpMzKBwqBTylOAvW-FkA==/lib/arm64/libFirebaseCppApp-6_16_1.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+72) (BuildId: 53fcddeb61b159ccb0507acde42d344e)
E/CRASH: #1 pc 0000000000225c64 /data/app/com.iscoolentertainment.snc-uASpMzKBwqBTylOAvW-FkA==/lib/arm64/libFirebaseCppApp-6_16_1.so (firebase::firestore::Firestore::set_log_level(firebase::LogLevel)+44) (BuildId: 53fcddeb61b159ccb0507acde42d344e)
workaround:
Have to create an Instance first
var db = FirebaseFirestore.DefaultInstance;
FirebaseFirestore.LogLevel = Debug.isDebugBuild ? LogLevel.Debug : LogLevel.Error;
do not crash
In firestore_android.cc, bool FirestoreInternal::Initialize(App* app) must before anything else, I suppose that it's called on the first Instance Creation. Did not test ios.
The text was updated successfully, but these errors were encountered:
Thanks for the report and sorry for the difficulty. On Android the SDK, there's a bit of global initialization that's missing if you come in via a static method first. I'm working on a fix.
FYI, we released 7.0.2 today to fix a critical issue (#900). To reduce the risk inherent in that release, this fix will wait for the next regular release.
[REQUIRED] Please fill in the following fields:
[REQUIRED] Please describe the issue here:
get crash:
After FirebaseApp is ready, call:
FirebaseFirestore.setLoggingEnabled(true);
crash
#00 pc 0000000000203360 /data/app/com.iscoolentertainment.snc-uASpMzKBwqBTylOAvW-FkA==/lib/arm64/libFirebaseCppApp-6_16_1.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+72) (BuildId: 53fcddeb61b159ccb0507acde42d344e)
E/CRASH: #1 pc 0000000000225c64 /data/app/com.iscoolentertainment.snc-uASpMzKBwqBTylOAvW-FkA==/lib/arm64/libFirebaseCppApp-6_16_1.so (firebase::firestore::Firestore::set_log_level(firebase::LogLevel)+44) (BuildId: 53fcddeb61b159ccb0507acde42d344e)
workaround:
Have to create an Instance first
var db = FirebaseFirestore.DefaultInstance;
FirebaseFirestore.LogLevel = Debug.isDebugBuild ? LogLevel.Debug : LogLevel.Error;
do not crash
In firestore_android.cc, bool FirestoreInternal::Initialize(App* app) must before anything else, I suppose that it's called on the first Instance Creation. Did not test ios.
The text was updated successfully, but these errors were encountered: