setSafetyNetApiKey

@Deprecated(message = "use Play Integrity set-up")
public final static Unit setSafetyNetApiKey(Context context, String apiKey)

Deprecated

use Play Integrity set-up

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.