Anti-Cheat Toolkit  2023.2.6
Multi-purpose anti-cheat solution for Unity Engine
AppInstallationSourceValidator Class Reference

Static Public Member Functions

static AppInstallationSource GetAppInstallationSource ()
 
static bool IsInstalledFromGooglePlay ()
 

Detailed Description

Simple tool to quickly figure out installation source of the app.

Member Function Documentation

◆ GetAppInstallationSource()

static AppInstallationSource GetAppInstallationSource ( )
inlinestatic

Allows getting detailed information about installation source of the app.

Returns
AppInstallationSource instance or null if run not on Android device or exception occured.

◆ IsInstalledFromGooglePlay()

static bool IsInstalledFromGooglePlay ( )
inlinestatic

Checks if app was installed from the Google Play Store.

Returns
True if app was installed from the Google Play, false otherwise. Can return false if installations source couldn't be identified.