PlayIntegrityHelper
Helper for requesting Play Integrity tokens on Android.
Wraps the IntegrityManagerFactory API in a coroutine-friendly interface, allowing callers to await a signed integrity token without managing callbacks manually.
Typical usage:
val token = playIntegrityHelper.requestToken()
integrityRepository.verify(token)Content copied to clipboard
Parameters
context
An Android Context used to initialise the IntegrityManagerFactory. An application context is preferred to avoid Activity leaks.