Using the Cordova API: Pushwoosh: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
The Pushwoosh API lets you send notifications from your computer to your app running on the device. While your app is running, if a notification is received, a function in your app will be called with the contents of the notification. It can then take whatever action needed based on the incoming data.
Both PushWoosh and Google have changed their interfaces. See the following docs:


== How to send add receive a message ==
http://docs.pushwoosh.com/docs/phonegap-build


Let's send a simple message to a device. We're assuming everything is set up already. We will cover how to set things up later.
http://docs.pushwoosh.com/docs/fcm-configuration


In Pushwoosh, we can compose and send a notification to our app. There are other ways to send notifications: this is the easiest.
https://www.joshmorony.com/setting-up-the-pushwoosh-plugin-with-phonegap-build/


[[File:Pushwoosh2.png]]
== Introduction ==


On the device, we already have our Pushwoosh app running. It is written in AppStudio. A moment or two after we sent the message, this appears:
The Pushwoosh API lets you send notifications from your computer to your app running on the device. While your app is running, if a notification is received, a function in your app will be called with the contents of the notification. It can then take whatever action needed based on the incoming data.
 
[[File:pushwoosh1.png]]


== Set up a Pushwoosh account ==
Notifications are a way to send and receive messages from your device. They have the ability to be broadcast to large numbers of devices. For Android, [http://en.wikipedia.org/wiki/Google_Cloud_Messaging Google Cloud Messaging] is used. For iOS, it uses the [http://en.wikipedia.org/wiki/Apple_Push_Notification_Service Apple Push Notification Service].

Latest revision as of 14:19, 2 December 2024

Both PushWoosh and Google have changed their interfaces. See the following docs:

http://docs.pushwoosh.com/docs/phonegap-build

http://docs.pushwoosh.com/docs/fcm-configuration

https://www.joshmorony.com/setting-up-the-pushwoosh-plugin-with-phonegap-build/

Introduction

The Pushwoosh API lets you send notifications from your computer to your app running on the device. While your app is running, if a notification is received, a function in your app will be called with the contents of the notification. It can then take whatever action needed based on the incoming data.

Notifications are a way to send and receive messages from your device. They have the ability to be broadcast to large numbers of devices. For Android, Google Cloud Messaging is used. For iOS, it uses the Apple Push Notification Service.