Skip to content

siegklenes/verify-automatic-date-time-zone

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

title Verify Automatic Date, Time and Timezone
description 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

 
 
 

Contributors

Languages

  • Java 89.7%
  • JavaScript 10.3%