-
Notifications
You must be signed in to change notification settings - Fork 434
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] Remote Config for Android and iOS is broken in 7.0.0 #885
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hi @npicouet,
The app launched successfully and I could hit the "Sign in anonymously button" for my test. I tested this with both Mono and IL2CPP. Could you try the same steps on your side and let me know if I missed anything? |
I think I see it. If I setup the project with older version of Firebase plugins and update to 7.0.0, the app hangs. Where did you find these logs though? I tried 'adb logcat' but didnt see anything useful. EDIT: Retried on a new Unity project and the app works fine now. Steps
|
I just used adb logcat. Again I'm not sure if those logs were related, but it was the only error I was getting with the app hanging. Yes I upgraded from 6.16.1 when this started happening. Sorry, I'm doing various tests on my end, but nothing conclusive yet. |
I will post the various errors I'm getting using adb logcat per my testing devices. LG ThinQ G7 (Android 8):
Pixel 3 (Android 11):
|
Thanks for digging further. The auth example that was hanging is working fine now after I retried the steps. I will try with RemoteConfig quickstart now. It would be really helpful if we could confirm this problem with steps to reproduce in any of the quickstarts. |
Sorry, this is literally the last stopping point in our app, so I was just debugging our known changes. Not sure if this helps either, but I just downgraded back to 6.16.1, and the app now doesn't hang, it just straight up crashes. Not sure what the heck is going on! It was working fine yesterday. This is the log I get now in 6.16.1 after downgrading from 7.0.0:
|
Oh, more info. Here is our proguard file: -dontobfuscate -keep class com.facebook.** { -keep class com.google.googlesignin.** { -keep class com.yasirkula.unity.* { -keep,includedescriptorclasses public class com.google.firebase.dynamiclinks* { *; } -keep class com.google.firebase** { ; } |
Hi @npicouet Thanks for the log. I think the key here is this log
TL;DR; After some research, I think your best bet now is to downgrade to
Unfortunately, with Shawn |
Unity library is just a "wrapper" for a native dependency. As @chkuang-g said, crash is caused by
RemoteConfig 7.0.0 in Unity uses @npicouet
and change then in Unity
Now everything should work fine. iOS build works for me. |
@npicouet Firebase.Firestore.DocumentSnapshot.ToDictionary() documentation says: Reality says Bug reported |
Can anyone confirm this issue is fixed with release 7.0.1 yet? |
This should be fixed in 7.0.1. If the issue persists, please open a new issue and reference this one. |
[REQUIRED] Please fill in the following fields:
[REQUIRED] Please describe the issue here:
Updated to 7.0.0, app now hangs when loading on Android.
Seems to occur when its trying to initialize Firebase.
Works fine in Editor. Works fine on iOS.
Steps to reproduce:
What's the issue repro rate? 100%
Relevant Code:
Not sure if relevant, only thing I could find in logs.
No changes were made to my code. Just updated to 7.0.0, and it broke.
The text was updated successfully, but these errors were encountered: