Skip to content

Releases: javiersantos/PiracyChecker

Version 1.0.2

19 Mar 11:32
Compare
Choose a tag to compare
  • 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(...) by blockIfUnauthorizedAppUninstalled(...).

Version 1.0.1

13 Mar 23:47
Compare
Choose a tag to compare

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 in SharedPreferences. See the README for more details.

A huge thanks to @jahirfiquitiva for his PR 👏

Version 1.0

13 Mar 19:50
Compare
Choose a tag to compare

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 in SharedPreferences. See the README for more details.

A huge thanks to @jahirfiquitiva for his PR 👏

Version 0.0.3

25 Jan 16:06
Compare
Choose a tag to compare
Version 0.0.3 Pre-release
Pre-release
  • 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

28 May 15:04
Compare
Choose a tag to compare
Version 0.0.2 Pre-release
Pre-release
  • 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

28 May 09:31
Compare
Choose a tag to compare
Version 0.0.1 Pre-release
Pre-release

Initial release.