pushwoosh by Pushwoosh

Currently displaying version


  1. Add “Pushwoosh” module to your app as per the tools documentation.

  2. Set up push notifications handler:

        function (notification) {
                alert('push received: ' + notification);
  3. Set up push registration handler:

        function (status) {
                log('registered with token: ' + status['deviceToken']);
  4. Call onDeviceReady method (make sure you call this method each time the app starts):

    For Android - pw_appid is your Pushwoosh App Id, gcm_id is your Google Project Number

    forge.pushwoosh.onDeviceReady({"pw_appid":"XXXX-XXXX", "gcm_id":"123456789012"});

    For iOS - pw_appid is your Pushwoosh App Id

  5. Register for push notifications:


That’s it!

You can find more API and samples on our website in: https://www.pushwoosh.com/programming-push-notification/

iOS Guide: https://www.pushwoosh.com/programming-push-notification/ios/ios-additional-platforms/trigger-io/

Android Guide: https://www.pushwoosh.com/programming-push-notification/android/android-additional-platforms/trigger-io/

Pushwoosh: http://www.pushwoosh.com