Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cartona/capacitor-google-play-availability

A plugin which allows to check for google play services availability and enabling it
https://github.com/cartona/capacitor-google-play-availability

Last synced: 24 days ago
JSON representation

A plugin which allows to check for google play services availability and enabling it

Awesome Lists containing this project

README

        

# capacitor-google-play-availability

A capacitor plugin which is a wrapper for google play availability api that allows to check for google play services availability and enabling it if it's available









## Install

```bash
npm install capacitor-google-play-availability
npx cap sync
```

## API

* [`isGooglePlayServicesAvailable()`](#isgoogleplayservicesavailable)
* [`makeGooglePlayServicesAvailable()`](#makegoogleplayservicesavailable)

### isGooglePlayServicesAvailable()

```typescript
isGooglePlayServicesAvailable() => Promise<{ available: boolean; }>
```

Retrieve google play services availability status

**Returns:** Promise<{ available: boolean; }>

--------------------

### makeGooglePlayServicesAvailable()

```typescript
makeGooglePlayServicesAvailable() => Promise<{ enabled: boolean; }>
```

Retrieve enabling google play services available request result

**Returns:** Promise<{ enabled: boolean; }>

--------------------