@cartona/capacitor-google-play-availability
v1.1.0
Published
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
Downloads
32
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
npm install capacitor-google-play-availability
npx cap sync
API
isGooglePlayServicesAvailable()
isGooglePlayServicesAvailable() => Promise<{ available: boolean; }>
Retrieve google play services availability status
Returns: Promise<{ available: boolean; }>
makeGooglePlayServicesAvailable()
makeGooglePlayServicesAvailable() => Promise<{ enabled: boolean; }>
Retrieve enabling google play services available request result
Returns: Promise<{ enabled: boolean; }>