setGooglePlayIntegrityProjectNumber

public static void setGooglePlayIntegrityProjectNumber(Context context, String projectNumber)

Method that stores a Google Cloud project number to encrypted storage to use when calling Play Integrity APIs.

Parameters

context

The context of the calling application.

projectNumber

The String representation of the Google Cloud project number.