Tutorial Bypass sideloaded APK check in Unity games

AndnixSH

PMT Elite Modder
Original poster
Staff member
Modding-Team
Jun 27, 2017
4,685
297,065
1,213
Modding World
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:
C#:
if (Application.installerName.Contains("com.amazon.venezia") || Application.installerName.Contains("com.android.vending"))
{
}
gD4YuaJ.png


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

Bg99l5i.png


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...
 
Last edited:

nkodder

Solid & Active Platinian
Apr 14, 2017
65
1,173
183
Please recommend for newbies, such as where is the file?

thank you very much:face47: