Bypass sideloaded APK check in Unity games


I discovered a really strange APK sideload check and fake crash. It checks if the APK is installed from Play Store or Amazon Store and connect to server if text contains ‘c’. I guess C stands for ‘connect’ and N stands for ‘none’ or something. If not, the game will quit. Don’t know what happen if it set to test connecting.

Code snippet:
if (Application.installerName.Contains("com.amazon.venezia") || Application.installerName.Contains("com.android.vending"))
{
}


They think they are smarter than us but unfortinately It’s easy to bypass.

Just modify or remove installer check and the game will work normally


Not only that, It also have iOS checks because it’s a cross-platform game. I think you can do something fun to make the game think your are using iOS device, Nintendo device, Windows, etc...

Kommentarer