unity3d - Can I verify that a user has a legitimate copy of an android app for online features? -
I'm looking at creating a game for Android devices that the player logs in to their host on a host I host You can. I would like to connect to update the player's account with information from app games, like if it is possible to verify that the game was purchased, and if it was not, then the app is in the user's account Stop signing in? I have no problem with the fact that people do pirate games and do not make it unrelated, but I just want account profits for legitimate purchases. This game will be made in Unity 3D, but I suspect that specially matters.
If this is possible, some links in the right direction in search of information will also be appreciated.
I'm assuming that by legitimate copy you mean that it was installed from the Play Store . If so, you can use it:
PackageManager pm = getPackageManager (); String Establishment = pm.getInstallerPackageName (getPackageName ()); The name of the package in 'installSource' would be if it was installed from the Play Store and if not otherwise it would be zero.
There is another way,
Comments
Post a Comment