

The main difference between this and the other answer is, that it includes the check against user. Taken from the documentation with some added comments to explain. If they are avalible Initialize Firebaseĭebug.LogError("Could not resolve all Firebase dependencies: " + dependencyStatus) If (dependencyStatus = DependencyStatus.Available) Check that all of the necessary dependencies for Firebase are present on the systemįirebaseApp.CheckAndFixDependenciesAsync().ContinueWith(task => Additionally, there is lack of documentation on it with Unity so I don't know what is wrong with this script. I'm sure this code works like this, but I have low experience on firebase. Then, I want the player to be logged out and no longer automatically sign in when he presses the "sign out" button. Use the createReferrerShortLink method to create a short link as in the example below.I want to add an auto login/sign in ability into my game, so when the player quits the game or goes to main menu, the login panel is gone and the player is automatically logged in.

The name and ID of the referring user, if you want to be able to track new app installs back to the user who shared the link.Any parameters you want to add to the link dynamically (see Tracking Link Parameters for the list of options).A Singular Link that leads to your app download (see the Singular Links FAQ).Typically, you will want to create short links dynamically so that your app's users can share them with friends to invite them to use the app. Use short links to transform long, parameter-filled Singular Links into shorter and more secure links that are convenient for sharing. Note: This functionality is available in SDK version 4.0.16+.
