Closed
Description
[READ] For Firebase Unity SDK issues, please report to Firebase Unity open-source
Once you've read this section and determined that your issue is appropriate for this repository, please delete this section.
[REQUIRED] Please fill in the following fields:
- Unity editor version: 2021.3.11f1(LTS)
- Firebase Unity SDK version: 8.7.0
- Source you installed the SDK: .unitypackage
- Problematic Firebase Component: Auth
- Other Firebase Components in use: Crashlytics, Analytics, Messaging
- Additional SDKs you are using: Facebook, Google Sign In, Other SDK
- Platform you are using the Unity editor on: Window
- Platform you are targeting: Android, iOS
- Scripting Runtime: IL2CPP
[REQUIRED] Please describe the issue here:
Calling FirebaseApp.CheckAndFixDependenciesAsync().ContinueWithOnMainThread
got DependencyStatus.UnavailableInvalid on some device
Steps to reproduce:
Got some log about the error in logging service (Record on 1 devices resulting that device cannot sign in using firebase auth)
Still could not reproduce on development environment and staging environment
Relevant Code:
FirebaseApp.CheckAndFixDependenciesAsync().ContinueWithOnMainThread(t =>
{
var status = t.Result;
if (status == DependencyStatus.Available)
{
FirebaseApp app = FirebaseApp.DefaultInstance;
FirebaseAnalytics.SetAnalyticsCollectionEnabled(true);
isInitialized = true;
auth = FirebaseAuth.DefaultInstance;
FirebaseMessaging.SubscribeAsync(PortalSettings.GetPackageName()).ContinueWithOnMainThread(OnSubscribe);
}
else
{
Debug.LogError("Could not resolve all Firebase dependencies: " + status + "\n" + t.Exception);
}
});