Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

License verification fails when using Google Play Licensing #61

Open
4 tasks done
zacharee opened this issue Nov 7, 2018 · 5 comments
Open
4 tasks done

License verification fails when using Google Play Licensing #61

zacharee opened this issue Nov 7, 2018 · 5 comments

Comments

@zacharee
Copy link

zacharee commented Nov 7, 2018

  • I have verified there are no duplicate active or recent bugs, questions, or requests.
  • I have verified that I am using the latest version of PiracyChecker.
  • I have given my issue a non-generic title.
  • I have read over the documentation (before asking questions on how to do something).
Details
  • PiracyChecker version: 1.2.4
  • Device OS version: Any
  • Device Manufacturer: Any
  • Device Name: Any
Builder
        piracyChecker {
            enableSigningCertificate("/**/")
            enableGooglePlayLicensing("/**/")

            callback {
                doNotAllow { error, _ ->
                    sendResult(false, "PiracyChecker doNotAllow: $error")
                }

                onError {
                    sendResult(false, "PiracyChecker onError: $it")
                }

                allow {
                    sendResult(true, "PiracyChecker valid")
                }
            }
        }
Reproduction Steps
  1. Add LVL check with proper licensing key
  2. Test on any device
  3. PiracyChecker returns error in title
Expected Result

Users who've bought the APK should receive the "PiracyChecker valid" status.

Actual Result

Many are reporting that the verification fails.

This doesn't seem to be related to version 1.2.4, as users on the Play Store are complaining as well, with an APK using an older version of PiracyChecker.

Full class: https://pastebin.com/mLamh0xD

@jahirfiquitiva
Copy link
Collaborator

Are you aware of this issue?
https://issuetracker.google.com/issues/110978499

@zacharee
Copy link
Author

zacharee commented Nov 7, 2018

That was fixed on July 30. I was affected by it, and it was fine after that date.

@jahirfiquitiva
Copy link
Collaborator

Are you sure your users don't have an old version of the play store?

@jahirfiquitiva
Copy link
Collaborator

jahirfiquitiva commented Nov 7, 2018

Anyways..

  1. Please add the whole code of the piracyChecker setup you use.
  2. You can get info about the error and the pirate app (if found) that your users have. Try to get those details and it should show you why the license check has failed.
    If you don't understand that info, let me know exactly what you get from it and I will explain

@jahirfiquitiva jahirfiquitiva changed the title "This user is not using a licensed application from Google Play" when using Google Play Licensing License verification fails when using Google Play Licensing Nov 7, 2018
@zacharee
Copy link
Author

zacharee commented Nov 7, 2018

Sorry if I wasn't clear in the OP, but this setup has been largely the same since June. Through that, there were problems with the issue you linked, which got resolved. Through no changes on my end, it seems to have stopped working again (maybe Google changed the API?).

The Play Store users are using an older version of PiracyChecker from July 11. Both they and beta users (with the current November testing releases) have started complaining about this issue. The exact error I get is the one you edited from the title. I'll put the class into a Paste and link it in the OP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants