Skip to main content
Version: 5.11.6

GetGoogleHash

public string GetGoogleHash();

Description

This is a function to retrieve the Google hash key from the built Android APK.
It includes information required to authenticate information exchange between the Android app and the BACKND server.
The hash key is only returned when built in an Android device. Register the hash key in BACKND Console.

Example

Backend.Utils.GetGoogleHash();

//example
string googlehash = Backend.Utils.GetGoogleHash();

Debug.Log("Google hash key : " + googlehash);

Return cases

Success cases

When the hash key is retrieved successfully

//example
9DVI3dgk2gjdjjlh+=