user2945101
user2945101

Reputation: 11

Sample phonegap build PushWoosh plugin / usage

I want to use the plugin PushWoosh for Phonegap Build (https://build.phonegap.com/plugins/150). In our APP we use PhoneGap build 3.0.0 so it's fully compatible.

I searched the internet for days but someways it isn't clear to me how to implement this plugin succesfully.

What we want to do: 1. When app is started register device (always) 2. Correctly receive pushwoosh messages 3. A button to unsubscribe from push messages

First two are most important.

Is there anybody out there who can make a very simple sample set-up? I think it will be useful for all of us!

Thanks a lot in advance!

Bas

Upvotes: 1

Views: 2766

Answers (1)

shader
shader

Reputation: 2121

Take a look on a Pushwoosh Sample app for PGB here: https://github.com/shaders/phonegap-3-sample-app

This file in particular: https://github.com/shaders/phonegap-3-sample-app/blob/master/www/js/index.js

The sample app supports iOS and Android. You can simply import this github repo into Phonegap Build to get the running version of out the box.

Thanks

Pushwoosh Team :)

Upvotes: 3

Related Questions