we are building an app with the Ionic 2 framework and would like to integrate the Pushwoosh Notifications. I've tried to follow the guide: http://docs.pushwoosh.com/docs/cordova-phonegap
The problem is that the following line of one code snippets fails by compiling: Cannot find name 'cordova'
var pushNotification = cordova.require("pushwoosh-cordova-plugin.PushNotification");
I think the main issue is, that these code samples are not completly compatible with the Ionic 2 framework which also includes angular 2 and typescript. Is there any workaround for that problem?
Please sign in to leave a comment.