14
Push Notification Service

Windows Phone Push Notification using App42 Mobile Backend as a Service

Embed Size (px)

DESCRIPTION

Push Notification enables you to send an event update or an alert to your App users even when they are offline to the App. App42 cross platform solution uses MPNS( Microsoft Push Notification Service) to send Push Notification on WP devices. This presentation will help you integrate App42 Push Notification Service on Windows Phone App. Check out our website http://www.shephertz.com

Citation preview

Page 1: Windows Phone Push Notification using App42 Mobile Backend as a Service

Push Notification Service

Page 2: Windows Phone Push Notification using App42 Mobile Backend as a Service

Increase User

Engagement

Calendar Events

Message

Pop-Up

Latest

Updates

Push Notifications

Page 3: Windows Phone Push Notification using App42 Mobile Backend as a Service

Benefits of Push Notification

Increases user-engagement

e.g. In a turn-based game like Tic-Tac-Toe, it can notify a user of his turn (suppose

he gets a phone call in between and forgets that he was playing!!)

Allows to send messages to users even when the app is not running; thus helps in

reminding them of your App

Helps to build a fan community around your game by pushing to a targeted

audience – like your regular gamers

Allows an App to notify its users of new events without needing to actually open it,

i.e. by a sound or a screen pop up

Page 4: Windows Phone Push Notification using App42 Mobile Backend as a Service

Coming Soon!! &

App42 Push Notification supports

Page 5: Windows Phone Push Notification using App42 Mobile Backend as a Service

Our Push Notification API can be used to send cross-

platform push messages to devices running on iOS,

Android and Windows Phone with a single API call

• Send Image/Text/URLs text-based Push Notifications

• Send messages in Channel Subscription Mode

• Send Scheduled Push as per Time-Zone

No infrastructure & scalability worries

Push Analytics

• Analyze your Push Campaign with App42 Analytics

• Evaluate the number of Push messages sent, delivered

and opened.

Why App42 Push Notification?

Page 6: Windows Phone Push Notification using App42 Mobile Backend as a Service

Creating a channel & scheduling

Push messages through AppHQ

Page 7: Windows Phone Push Notification using App42 Mobile Backend as a Service

A very useful feature that can track:

These analytics can be viewed from our AppHQ console.

Why Push Analytics?

When you use our Push Notification Service, each Push goes from the App42 server to

GCM/APNS/MPNS and then to the user device.

Thus, Analytics gives you a better insight of your Push Notification campaign.

Push Analytics

• Delivery of Push Notification is not guaranteed even from the service provider

• Once delivered, there might be a chance that user just clears it without opening the message

How many Push Notifications were sent from your side

How many were delivered, and

How many users opened the message

100%

74%

31%

Push Notification Campaign

Sent

Delivered

Opened

Page 9: Windows Phone Push Notification using App42 Mobile Backend as a Service

Create your notification channel URL and pass that to your custom (cloud) service.*

Register your app for toast notification.*

Save this channel URL with App42 using store device token.*

http://www.silverlightshow.net/items/Implementing-Push-Notifications-in-Windows-Phone-7.aspx*

3 easy steps

Page 10: Windows Phone Push Notification using App42 Mobile Backend as a Service

Subscribe device to Push Notification

1 String userName = "Nick" ;

2 String deviceToken = "http://sn1.notify.live.net/xxxxxxx/01.00/xxxxxxxxxxx";

3 App42Callback requestCallback = this; /* This function used the App42Callback interface */

4 ServiceAPI api = new ServiceAPI("<API_KEY>","<SECRET_KEY>");

5 PushnotificationService pushnotificationService = api.BuildPushnotificationService();

6 pushnotificationService.StoreDeviceToken(userName, deviceToken, requestCallback);

7 OnSucess(Object obj)

8 {

9 PushNotification push = (PushNotification) obj;

10 String jsonResponse = push.ToString();

11 }

12 public class CallBack : App42Callback

13 {

14 public override void OnSuccess(Object obj)

15 {

16 PushNotification push = (PushNotification) obj;

17 //Do whatever you want with the object

18 }

19 public override void OnException(App42Exception e)

20 {

21 //Do whatever you want with the exception

22 }

23 }

Page 11: Windows Phone Push Notification using App42 Mobile Backend as a Service

Sending a message

through AppHQ console

Page 12: Windows Phone Push Notification using App42 Mobile Backend as a Service

IT IS THAT SIMPLE!!!

Page 13: Windows Phone Push Notification using App42 Mobile Backend as a Service

Some useful linksGetting Started:

Quick Start Guide

Sign-up for Free

Game Development Center

Concepts:

Backend as a Service

Massive Multiplayer Gaming Engine

App Analytics

Products:

App42 Cloud APIs - BaaS

AppWarp – Multiplayer Gaming Engine

AppHQ – Management Console

AppHawk – Project Management Tool

AppClay – Custom App Builder

Downloads:

App42 Cloud SDKs

App 42 Modules

Blogs:

Why BaaS?

Push Notification for iOS

Push Notification for Android

Real-time Multiplayer Games using Unity3D

Integrating Facebook in your Android App

Making a Turn-based Game

Using Query Interface

When to use NoSQL?

Add ‘Social’ to your Game