Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update README.md #15

Merged
merged 1 commit into from
May 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,6 @@ A (Key Attestation)[https://developer.android.com/privacy-and-security/security-
During key attestation, a key pair is generated along with its certificate chain hich can be used to verify the properties of that key pair.
If the device supports hardware-level key attestation, the root certificate of the chain is signed using an attestation root key protected by the device's hardware-backed keystore.

### `isPlayServicesAvailable`

Returns a boolean value indicating whether the Play Services are available on the device or not.

```ts
try {
const isServiceAvailable = await isPlayServicesAvailable();
if (isServiceAvailable) {
// Proceed with the following steps
} else {
// Return an error message
}
} catch (e) {
const error = e as IntegrityError;
setStatus(`Error: ${error.message}`);
console.log(JSON.stringify(e));
}
```

### `isPlayServicesAvailable`

Expand Down
Loading