Created
March 28, 2022 15:54
-
-
Save mukeshsolanki/52cb07247144a96a71407e41853948a6 to your computer and use it in GitHub Desktop.
Used for the https://medium.com/@TheMukeshSolanki/how-to-prevent-hackers-from-reverse-engineering-your-android-apps-2981661ab1c2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.verifyInstaller(Installer.GOOGLE_PLAY_STORE)?.let { | |
if (it) { | |
// App is installed from Google Play | |
} else { | |
// App is not installed from Google Play | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the library. However excude my ignorance, but how do I use this is an Android Java app ?