How to check if a Unity app is running on modded Android system?

566 views Asked by At

I have a made, using Unity, an Android mobile app which currently has over a million users. There are various unresolved Crashes. Unfortunately, the stats I receive from Google does not contain enough information to diagnose the problem. I'm concerned about the Android distribution (Is it cyanogen or any other modded android).

Is there a way to check the android version my app is running on and determine if it is modded or not?

1

There are 1 answers

0
Matt On

SystemInfo should have what you are looking for. https://docs.unity3d.com/ScriptReference/SystemInfo.html

EDIT: You may also be interested in Application, especially genuineCheckAvailable. https://docs.unity3d.com/ScriptReference/Application.html