UNPKG

capacitor-background-interval-process

Version:

this lib ensures to run the interval process in background when app is suspended

19 lines (13 loc) 742 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var core = require('@capacitor/core'); exports.ERROR_MESAGES = void 0; (function (ERROR_MESAGES) { ERROR_MESAGES["SOME_THING_WENT_WRONG"] = "SOME_THING_WENT_WRONG"; ERROR_MESAGES["SERVICE_IS_RUNNING_ALREADY"] = "SERVICE_IS_RUNNING_ALREADY"; ERROR_MESAGES["INCORRECT_INTERVAL_VALUE"] = "INCORRECT_INTERVAL_VALUE"; ERROR_MESAGES["COMING_SOON_NOT_IMPLEMENTED_YET"] = "COMING_SOON_NOT_IMPLEMENTED_YET"; })(exports.ERROR_MESAGES || (exports.ERROR_MESAGES = {})); const BackgroundIntervalProcess = core.registerPlugin('BackgroundIntervalProcess'); exports.BackgroundIntervalProcess = BackgroundIntervalProcess; //# sourceMappingURL=plugin.cjs.js.map