UNPKG

nativescript-batch-notifications

Version:

Nativescript batch plugin for notifications.

21 lines 711 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var batch_common_1 = require("./batch.common"); var Bb = com.batch.android; var Batch = (function (_super) { __extends(Batch, _super); function Batch() { var _this = _super.call(this) || this; console.log('Android code on'); return _this; } Batch.prototype.init = function (API_KEY) { Bb.Batch.setConfig(new Bb.Config(API_KEY)); }; Batch.prototype.activityLifeCycleHelper = function () { return new Bb.BatchActivityLifecycleHelper(); }; return Batch; }(batch_common_1.Common)); exports.Batch = Batch; //# sourceMappingURL=batch.android.js.map