Skip to content

cloakedninjas/cordova-plugin-country

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cordova-plugin-country

Get the 2-letter ISO code from Android's Locale package. Useful when your device may not have GPS or cellular data.

Usage

function success (countryCode) {
  console.log(countryCode);
}

function error () {
  console.warn('An error occured');
}

plugins.country.get(success, error);

About

Cordova plugin to determine country without cellular network or GPS

Resources

Stars

Watchers

Forks

Packages

No packages published