Releases: javiersantos/PiracyChecker
Releases · javiersantos/PiracyChecker
Version 1.0.2
- Added
.destroy()
to avoid ServiceConnection leaks. See the Wiki for a sample usage. - Added Toolbar and some customizations to
Display.ACTIVITY
. Use.withActivityColor(R.color.colorPrimary, R.color.colorPrimaryDark)
to customize the activity with your own colours. - Added Galaxy Apps Store to InstallerID:
.enableInstallerId(InstallerID.GALAXY_APPS)
. - #16 Fixed issue when using the emulator check in certain Samsung devices.
- Renamed
blockIfUnauthorizedAppDetected(...)
byblockIfUnauthorizedAppUninstalled(...)
.
Version 1.0.1
Bug fixes.
Sooooo many changes, improvements and new features 🎉 🎉 🎉
- LVL implementation has been updated. This changes should make harder to apply a patch when using piracy apps (aka Lucky Patcher, Freedom, etc).
- You can now display the result of the license checker in a new Activity by using
.display(Display.ACTIVITY)
. This way you make sure that the main activity of the app is finished. - Unauthorized apps (such as LuckyPatcher, Freedom and CreeHack) are now detected using a new method
.enableUnauthorizedAppsCheck()
. You can even block your app when this pirate apps has been uninstalled. See "Verify the use of pirate apps" for more details. - Third-party stores (such as Aptoide, BlackMart, Mobogenie, 1Mobile, GetApk, GetJar and SlideMe) are now detected using a new method
.enableStoresCheck()
. - Added
.enableDebugCheck()
to check if app is a debug build. - Added
.enableEmulatorCheck()
to check if app is being run in an emulator. - Added
.saveResultToSharedPreferences(preferences, preferenceName)
to save the result of the license check inSharedPreferences
. See the README for more details.
A huge thanks to @jahirfiquitiva for his PR 👏
Version 1.0
Sooooo many changes, improvements and new features 🎉 🎉 🎉
- LVL implementation has been updated. This changes should make harder to apply a patch when using piracy apps (aka Lucky Patcher, Freedom, etc).
- You can now display the result of the license checker in a new Activity by using
.display(Display.ACTIVITY)
. This way you make sure that the main activity of the app is finished. - Unauthorized apps (such as LuckyPatcher, Freedom and CreeHack) are now detected using a new method
.enableUnauthorizedAppsCheck()
. You can even block your app when this pirate apps has been uninstalled. See "Verify the use of pirate apps" for more details. - Third-party stores (such as Aptoide, BlackMart, Mobogenie, 1Mobile, GetApk, GetJar and SlideMe) are now detected using a new method
.enableStoresCheck()
. - Added
.enableDebugCheck()
to check if app is a debug build. - Added
.enableEmulatorCheck()
to check if app is being run in an emulator. - Added
.saveResultToSharedPreferences(preferences, preferenceName)
to save the result of the license check inSharedPreferences
. See the README for more details.
A huge thanks to @jahirfiquitiva for his PR 👏
Version 0.0.3
- Updated the code for Google Play Licensing library from their GitHub site.
- Added required permission to AndroidManifest.xml
<uses-permission android:name="com.android.vending.CHECK_LICENSE"/>
- The callback method has been updated to manage license check errors.
.callback(new PiracyCheckerCallback() {
@Override
public void allow() {
// Do something when the user is allowed to use the app
}
@Override
public void dontAllow(PiracyCheckerError error) {
// You can either do something specific when the user is not allowed to use the app
// Or manage the error, using the 'error' parameter, yourself (Check errors at {@link PiracyCheckerError}).
}
@Override
public void onError(PiracyCheckerError error) {
// This method is not required to be implemented/overriden but...
// You can either do something specific when an error occurs while checking the license,
// Or manage the error, using the 'error' parameter, yourself (Check errors at {@link PiracyCheckerError}).
}
})
- The minimum API level is now 9 (Gingerbread).
- Updated ProGuard rules.
Huge thanks to @jahirfiquitiva for his PR #11.
Version 0.0.2
- Added Amazon App Store:
.enableInstallerId(InstallerID.AMAZON_APP_STORE)
.enableInstallerId()
now supports multiple installers. For example:
.enableInstallerId(InstallerID.GOOGLE_PLAY)
.enableInstallerId(InstallerID.AMAZON_APP_STORE)
- Fixed an issue when comparing the APK signature.
- Non-LVL checkers will be executed before the LVL checkers, since they are asynchronous and could take some seconds to give a result.
Version 0.0.1
Initial release.