setSafetyNetApiKey

public static void setSafetyNetApiKey(Context context, String apiKey)

Deprecated

Method that stores a SafetyNet API key to encrypted storage to use in future device integrity validations.

Parameters

context

the context of the calling application

apiKey

the SafetyNet Api Key Deprecated - use Play Integrity set-up.