Angular 1.x module for the Pushwoosh Cordova plugin
$ npm i -S ng-cordova-pushwoosh
var module = angular.module('MyModule', ['$cordovaPushwoosh']);
module.value('$cordovaPushwooshAppId', 'PUSHWOOSH_APP_ID');
module.value('$cordovaPushwooshProjectId', 'PUSHWOOSH_PROJECT_ID');
module.run(function ($cordovaPushwoosh) {
$cordovaPushwoosh.register()
});
- Plugin API documentation