Android Only Allows you to check:
You can then decide to end the game, subtly disadvantage players if you are a bit sadistic, or just show them a message.
if (HackCheck_HackInstalled()) {
// The user has a version of Lucky Patcher installed
}
if (HackCheck_Signature("XXYYZZAABBCC")) {
// the user has modified the app
// could have removed adverts, In-app purchases or more
}
To obtain the Signature of your app to prevent modification, compile the game for android as if you were going to release it, placing the function HackCheck_ShowCertificate() so that it will be called. A popup will show, which you can copy your certificate out of. In the example, you would replace "XXYYZZAABBCC" with this string.
Need an Android extension or SDK Implementation?
More Assets:
End User Licence Agreement (EULA).