Skip to content

Cordova Plugin to verify if automatic date, time and timezone is enabled in Android and iOS

License

Notifications You must be signed in to change notification settings

edsonhoraciojunior/verify-automatic-date-time-zone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

title description
Verify Automatic Date, Time and Timezone
Verify if Date, Time and Timezone are set to automatic sync with network provider.

Installation

cordova plugin add verify-automatic-date-time-zone

VerifyAutomaticDateTimeZone.isAutomaticChecked

Returns a boolean indicating if automatic is enabled for date, time and timezone

Supported Platforms

  • Android

Quick Example

window.VerifyAutomaticDateTimeZone.isAutomaticChecked(function(isIt){
  if (isIt == 'true') {
        // do something
    } else {
        // do something else
    }
});

iOS not supported

Couldn't find out how to get iOS settings programatically so it's pending

About

Cordova Plugin to verify if automatic date, time and timezone is enabled in Android and iOS

Resources

License

Stars

Watchers

Forks

Packages

No packages published