-
Notifications
You must be signed in to change notification settings - Fork 443
Closed
Description
[REQUIRED] Please fill in the following fields:
- Unity editor version: 2020.3.18
- Firebase Unity SDK version: 8.9.2
- Source you installed the SDK: .unitypackage
- Problematic Firebase Component: no_ (Auth, Database, etc.)
- Other Firebase Components in use: no_ (Auth, Database, etc.)
- Additional SDKs you are using: _no (Facebook, AdMob, etc.)
- Platform you are using the Unity editor on: _mac (Mac, Windows, or Linux)
- Platform you are targeting: _ios (iOS, Android, and/or desktop)
- Scripting Runtime: _IL2CPP (Mono, and/or IL2CPP)
[REQUIRED] Please describe the question here:
I followed this setup : https://firebase.google.com/download/unity
and added in the main screen
FirebaseApp.CheckAndFixDependenciesAsync().ContinueWithOnMainThread(task => {
dependencyStatus = task.Result;
if (dependencyStatus == DependencyStatus.Available) {
DebugLog("Enabling data collection.");
FirebaseAnalytics.SetAnalyticsCollectionEnabled(true);
DebugLog("Set user properties.");
// Set the user's sign up method.
FirebaseAnalytics.SetUserProperty(
FirebaseAnalytics.UserPropertySignUpMethod,
"Google");
// Set the user ID.
FirebaseAnalytics.SetUserId("uber_user_510");
// Set default session duration values.
FirebaseAnalytics.SetSessionTimeoutDuration(new TimeSpan(0, 30, 0));
firebaseInitialized = true;
} else {
Debug.LogError(
"Could not resolve all Firebase dependencies: " + dependencyStatus);
}
When i build for Xcode following errors

When i Build for android every thing is OK and i can see events in Debug view as well as dashboard