androidPrepareIntegrityServer method
Android only
Warm up the integrity API server.
Use this method on Android when you plan to use the verify
method
in a near future.
See this android official doc for more details.
Throws if the warmup fails, or if the method had already been called.
cloudProjectNumber
is the cloud project number of your app.
It can be found in the Google Play Console.
This method will do nothing on iOS.
Implementation
@override
Future<void> androidPrepareIntegrityServer(int cloudProjectNumber) {
return AppAttestIntegrityApi().androidPrepareIntegrityServer(
cloudProjectNumber,
);
}