I want to implement pushwoosh in ionic 2 i am using this cordova plugin. i am new to ionic 2 want to know how to use methods from this plugin.
相关问题
- Plugin with id 'com.google.gms.google-services
- google-drive can't get push notifications
- Is there any way to make the background of a 3D-mo
- Custom click on Ionic notification using Firebase
- When you are on flight mode and exit from the Flig
相关文章
- How can I add media attachments to my push notific
- How to open current activity which is open while c
- Does the apple push notification distribution cert
- How posting One Signal notification's addition
- App not showing Notification receiving FCM when th
- iOS Push Notifications with empty aps dictionary
- Make Web push notification work using webview in a
- Does the APNs authentication key work for all my a
You need to use
Instead of
First read the pushwoosh manual about using the cordova plugin: http://docs.pushwoosh.com/docs/cordova-phonegap
After that i got this code working on ios and android.
On step 3, you can use the following code as a service provider: in my projects folder i created this file: /src/app/providers/push-service.ts
Now you can import this provider in your /src/app/app.component.ts.
Whenever your app is launched, it will initialize pushwoosh.
Good luck ;)