Skip to content

sauvainr/cordova-has-google-play

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cordova-has-google-play

Has-Google-Play

This plugin let your cordova javascript app to know if the Android device has google play installed.

Installation

cordova plugin add https://github.com/sauvainr/cordova-has-google-play

Usage

The test is runned automatically at startup, so you can just just:

if(!window.HasGooglePlay.hasGooglePlayStore || !window.HasGooglePlay.hasGooglePlayServices){

  .. auto-update logic ..

}

or

window.HasGooglePlay.check(function (hasGooglePlay) {

  console.log(hasGooglePlay);

});

About

This plugin let your cordova javascript app, test is the Android device has google play installed.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors