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

App Crash: LICENSE_CHECK_FAILED #149

Closed
orkun1675 opened this issue Jan 22, 2024 · 3 comments
Closed

App Crash: LICENSE_CHECK_FAILED #149

orkun1675 opened this issue Jan 22, 2024 · 3 comments

Comments

@orkun1675
Copy link

orkun1675 commented Jan 22, 2024

Hello, my app submission has recently been denied as it crashed when the Android review team was manually testing it.

Based on what I can see from the Crashlytics logs is that the games_services plugin was what caused this. Please see the stacktrace during the crash below:

Screenshot 2024-01-22 at 9 50 33 AM

My app does have anti-piracy turned on. And I imagine the Android review team haven't added themselves to the approved testers list. So it is expected that they will be getting LICENSE_CHECK_FAILED code for all Play Games requests.

@theLee3
Copy link
Collaborator

theLee3 commented Jan 22, 2024

This is likely a configuration issue. Have you successfully run a release build on a device, or have you only run debug builds?

A few things to check:

  1. Is the game published under Play Games Services Configuration? This is necessary for non-testers to have access to the features (including the Play Store testers).
  2. Do you request internet permission in AndroidManifest.xml?
  3. Are all client credentials configured correctly under Play Games Configuration?

@orkun1675
Copy link
Author

orkun1675 commented Jan 22, 2024

The app and Play Games features are working as expected for internal testers. I create and publish test builds via Play Console and declare internal testers via the same UI. I also add these tester emails to the Play Games testers list.

The linked anti-piracy article states that the user will get LICENSE_CHECK_FAILED if they are not listed in the Play Games tester list. I was not able to reproduce this, though I didn't try with a fresh Gmail account.

In either case, the app should not be crashing if this status code is returned from GMS, right?

I was hoping #138 would address this issue.

@theLee3
Copy link
Collaborator

theLee3 commented Jan 22, 2024

I see your point now. My bad.
You are correct. #138 does address this issue.

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