Once you have configured at least one of APNS or GCM, you can send push notifications from your agency console. Your client can also send push notifications from their client portal if you have enabled this for them.
To send a push notification from your agency console, click on the app and then select Push from the left menu. Click the primary action button to display the Compose Push Notification wizard that will walk you through four simple steps to sending a push notification.
First, choose the audience that you want to send the push notification to. You can send a broadcast to all installs subscribed to receive push notifications or target a specific segment and/or channel.
To send the notification to an audience segment, toggle 'Limit to segment' and select the segment from the drop-down list.
To send the notification to installs subscribed to a channel, toggle 'Limit to channel' and select the channel from the drop-down list.
If you select both an audience segment and a channel, then an install must match all of the filters in the segment and be subscribed to the channel in order for the push notification to be sent to that install.
As you select a segment and/or channel, the wizard will tell you approximately how many installs will be targeted. Click 'Next' when done.
Next, define the content of the notification. If you want the notification to appear in the foreground, add a title and a message. Use the emoji pickers to add emojis to your title and message as required.
Kumulos supports Emoji v4.0 / Unicode version 9.0 which is fully supported in iOS 10.3 and Android v7. Older versions of iOS and Android may not support all emojis available. See Emojipedia for more details of what emojis are supported in which versions.
As you add content to the notification you can preview how the notification will look on a user's device. By default, the preview shows how the notification will look on an iPhone.
Click the Android tab to see how the notification will look on an Android phone.
To send a notification that can be processed in the background, toggle the "Background Push" switch. The title & message become optional, and can be omitted to create a silent push.
On iOS this will set the
content-available flag on the notification.
Open a URL¶
To open a URL when the push notification is tapped by the user, toggle the "Open URL" switch and enter the URL you want to open.
Ensure that you have reviewed the appropriate SDK integration guides to support URL push
To add an arbitrary meta-data object to the push notification, toggle the "Data" switch and enter a valid JSON object into the editor. Additional data can be consumed by the SDK, please refer to the platform integration guides for further information.
To set the badge on your app on iOS, toggle the "Set Badge" switch. By clicking on "Badge Type" you can choose whether to set the badge to the absolute number you enter in "Count" or to Increment the badge by the positive or negative number you enter in "Count".
Lastly, decide when you want the notification to be sent. If you want the notification to be sent immediately, just click "Send". The notification will appear under "Recently created notifications" in your Push Dashboard
Alternatively, if you want to schedule a notification in advance to be sent in the future, toggle the "Scheduled" switch. Enter the date and time you want the notification to be sent.
Next, set what this date and time is relative to. Do you want everyone to receive the notification at exactly that same time in either UTC or your own timezone (which Kumulos will detect)? Or, more likely, do you want users to receive the notification at that date and time in their local timezone (according to the device on which the app is installed)?
Finally, if choosing to schedule the notification according for the local timezone (according to the device on which the app is installed), what should Kumulos do for installs on devices for which this time has already past? Should we "Ignore" these installs or send at the same time, the "Next Day"?
For example: At 4pm on Christmas Eve, Marketing Mandy in New York decides to send a "Happy Christmas" notification to all of her customers at midnight on Christmas Day. However, for Surfer Steve in Sydney, that was already 6 hours ago. What should Kumulos do? In this example, Marketing Mandy should "Ignore" Surfer Steve as a "Happy Christmas" notification on Boxing Day won't work.
Click "Send" once done.
Event Driven Push¶
If you use the Kumulos Build feature you can send notifications programmatically via KScripts. Please refer to the API reference for KScript for more detail on implementation.
Alternatively, you can send push notifications from an other backend system using the Push API.
These will be listed under the "Event-driven" tab in the history of "Sent" notifications.