#2856·GmsCore

Play Integrity Standard Integrity Does not work only Classic Play Integrity checks work

Author: ydanielsCreated Apr 9, 2025Updated Sep 16, 2026
Labelsbug

Describe the bug Running a play integrity standard integrity check outputs error with current FakeStore but works with real Play store.

System.err: java.util.concurrent.ExecutionException: com.google.android.play.core.integrity.StandardIntegrityException: -19: Standard Integrity API error (-19): The StandardIntegrityTokenProvider is invalid (e.g. it is outdated).
04-09 19:27:06.291  3510  3555 W System.err: Request a new integrity token provider by calling StandardIntegrityManager#prepareIntegrityToken. (https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/model/StandardIntegrityErrorCode.html#INTEGRITY_TOKEN_PROVIDER_INVALID).

But class integerity check works with current FakeStore and real Playstore. Note most integrity checker apps performs classic integrity check not standard.

To Reproduce Steps to reproduce the behavior:

  1. Setup a simple app that performs standard integrity check using google cloud project number
  2. App crashes with error
System.err: java.util.concurrent.ExecutionException: com.google.android.play.core.integrity.StandardIntegrityException: -19: Standard Integrity API error (-19): The StandardIntegrityTokenProvider is invalid (e.g. it is outdated).
04-09 19:27:06.291  3510  3555 W System.err: Request a new integrity token provider by calling StandardIntegrityManager#prepareIntegrityToken. (https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/model/StandardIntegrityErrorCode.html#INTEGRITY_TOKEN_PROVIDER_INVALID).

Expected behavior A valid token should be returned

System Android Version: 13