azure push notification hub

14
Push Notifications Adding push notifications in azure mobile apps Fiyaz Bin Hasan Independent Software Developer @FiyazBinHasan | www.fiyazhasan.me

Upload: fiyaz-hasan

Post on 13-Apr-2017

250 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Azure push notification hub

Push NotificationsAdding push notifications in azure mobile apps

Fiyaz Bin HasanIndependent Software Developer@FiyazBinHasan | www.fiyazhasan.me

Page 2: Azure push notification hub

What are we going to cover?

▸ What is Push Notification▸ Why we should use it▸ What are the challenges related to it.▸ Azure Notification Hub▸ Azure Mobile Apps and Push

Notifications▸ Demo

Page 3: Azure push notification hub

What is Push Notification?

▸ Way of notifying the user▸ In Windows and Android,

could be in form of a toast

▸ In iOS a dialog box is shown for further action

▸ Notifications can be shown in forms of badge and tiles

Page 4: Azure push notification hub

Platform Notification System

WNS / MPNS

BaiduADM

APNS

GCM

Page 5: Azure push notification hub

2. Store PNS Handle

1. Retrieve PNS Handle

3. Send push notification4.

Sen

d to

dev

ice

Push Notification System

App Back-end / Cloud

CONCEPTUALVIEW OF PNS

Page 6: Azure push notification hub

Why?6

App + =

Page 7: Azure push notification hub

CHALLENGESRELATED TO PNS

Scalable

Routing

Platform Dependency

Page 8: Azure push notification hub

Azure Push Notification Hub

▸ Cross Platforms▸ Works with any backend (cloud or on

premises)▸ Rich sets of delivery patterns▸ Scalability▸ Personalization

Page 9: Azure push notification hub

2. Register PNS Handle

1. Retrieve PNS Handle

3. Send push notification

Push Notification System

App Back-end / Cloud

Notification Hub

HOW NOTIFICATION HUB FITS INTO

PNS

Page 10: Azure push notification hub

Azure Mobile Apps

▸ Highly scalable, globally available mobile application development platform

▸ Build native and cross platform apps ▸ Connect to your enterprise systems ▸ Build offline-ready apps with data sync▸ Push Notifications to millions in seconds

Page 11: Azure push notification hub

Azure Mobile Apps and Push Notification Hub

11

Page 12: Azure push notification hub

Demo ▸ Create an App using Azure Mobile App Service

▸ Download the todo application ▸ Demo includes both server and client

solutions▸ Implement notification code in the

backend▸ Associate the client app with the store

to receive push notifications

Page 13: Azure push notification hub
Page 14: Azure push notification hub

THANKS!Any questions?You can find me at▸ @FiyazBinHasan▸ fb.com/alsoknownasfizz▸ https://bd.linkedin.com/in/fiyazhasan