nativescript-batch-notifications
Version:
Nativescript batch plugin for notifications.
16 lines • 559 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var observable_1 = require("tns-core-modules/data/observable");
var Common = (function (_super) {
__extends(Common, _super);
function Common() {
return _super.call(this) || this;
}
Common.prototype.initIOS = function (API_KEY) {
Batch.startWithAPIKey(API_KEY);
BatchPush.requestNotificationAuthorization();
};
return Common;
}(observable_1.Observable));
exports.Common = Common;
//# sourceMappingURL=batch.common.js.map