verify-automatic-date-time-zone
TypeScript icon, indicating that this package has built-in type declarations

1.0.3-dev • Public • Published

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

Package Sidebar

Install

npm i verify-automatic-date-time-zone

Weekly Downloads

8

Version

1.0.3-dev

License

MIT

Unpacked Size

8.94 kB

Total Files

7

Last publish

Collaborators

  • edsonhoraciojunior