For consumer apps For enterprise apps Not only for alerts Breaking news News/Media Reservation changes, Deals, Back-office Travel/Hospitality/Airlines SMS replacement, Deals, Back-office Banking/Insurance Orders, Product UX, Back-office Discrete manufacturing/Auto Prescriptions, Appointments, LOB (maintenance) Healthcare Offers, Orders,

Download Report

Transcript For consumer apps For enterprise apps Not only for alerts Breaking news News/Media Reservation changes, Deals, Back-office Travel/Hospitality/Airlines SMS replacement, Deals, Back-office Banking/Insurance Orders, Product UX, Back-office Discrete manufacturing/Auto Prescriptions, Appointments, LOB (maintenance) Healthcare Offers, Orders,

For consumer apps
For enterprise apps
Not only for alerts
Breaking news
News/Media
Reservation changes, Deals,
Back-office
Travel/Hospitality/Airlines
SMS replacement, Deals,
Back-office
Banking/Insurance
Orders, Product UX,
Back-office
Discrete manufacturing/Auto
Prescriptions, Appointments,
LOB (maintenance)
Healthcare
Offers, Orders, Back-office
Retail
Registration at app launch
1.
2.
Sending Notification
Platform
Notification
Service
1.
2.
Maintenance
1.
App back-end
Platform dependency


Routing



Scale


One-time set up
1.
Register
iOS app
Windows app
1.
2.
Send Notification
MPNS
APNs WNS GCM
App back-end
1.
2.
ADM
Notification Hub
X-plat: from any back-end to any mobile platform


No need to store device information in the app back-end

Routing and interest groups

Personalization and localization

Broadcast at scale, multicast, unicast

Telemetry

3+
10s
100s
<2
3+
150+
•
•
•
•
•
•
await
var toast = @“<notification payload>";
hub.SendWindowsNativeNotificationAsync(toast);
[hub registerNativeWithDeviceToken:deviceToken
tags:nil
completion:^(NSError* error) { … }];
hubService.wns.sendToastText01(null,
{
text1: 'Hello from Node!'
},
function (error)
{
…
}
);
hub.register(regid);
Tags as interest groups
1.
2.
3.
App back-end
Tag:”Beatles”
You can use tags also for
•
•
•
Notification Hub
•
Tag:”Wailers”
Tag:”Beatles”
await
new string[] {"myTag", "myOtherTag"}
[hub registerNativeWithDeviceToken:deviceToken tags:@[@"myTag", @"myOtherTag"] completion:
^(NSError* error) {
…
}];
hub.register(regid, "myTag“, "myOtherTag");
Social “All my group except me”
group:id && !user:id
Events Touchdown event is send to everybody following either team
Followteam:A || Followteam:B || followplayer:1 || followplayer:2 …
Hours Send notifications at specific times. E.g. Tag with timezone, @12pm in Seattle send:
timezone:PST && follows:thaifood
Versions & platforms Send a reminder to update to your first Android app version:
version:1.0 && platform:Android
•
•
Identify your device
1.
2.
Register
createId()
upsert({id}, channel, tags)
App back-end
1.
a)
b)
2.
3.
Notes
1.
2.
{id}
Notification Hub
Use a tag to identify user
1.
2.
Back-end updates tags
1.
2.
Note
1.
2.
getByTag(userid)
update(tags)
App back-end
Notification Hub
Registration
<toast>
<visual>
<binding template=\"ToastText01\">
<text id=\"1\">$(message)</text>
</binding>
</visual>
</toast>

•
•
Hello!
{
message: “Hello!”
“$(message)”}}
}
Send notification

Notification Hub
App back-end
Notes


Hello!
{
aps: {
alert: “$(message)”
}
}
<toast>
<visual>
<binding template=\"ToastText01\">
<text id=\"1\">$(news_en)</text>
</binding>
</visual>
</toast>
Registration

•
•
Send notification
{
Hello!
news_en: “Hello!”,
news_it: “Ciao!”
}

Template Expressions


Notification Hub
App back-end
Ciao!
{
aps: {
alert: “$(news_it)”
}
}
Updates app state
Push to sync
1.
Example: music app
1.
2.
3.
4.
Platform-dependent
Notification Hub
App back-end
Add new song
Deliver content directly from BE
1.
2.
Push to sync
(no sensitive info)
Retrieve the content securely from BE
Note
Secure push has to use a long lived auth token on app
Notification Hub
App back-end
Send a targeted coupon
Loc:SF && Food
1.
2.
Push UX & feedback
Update tags
Loc:SF && Food
App back-end
&& !tapped
1.
2.
Retarget
1.
2.
3.
CRM/DMP
system
Notification Hub
•
•
•
•
•
•
•
Notification Hubs service page
Get started
(Windows/Phone, iOS, Android, Kindle)
MSDN documentation
APIs references and download
REST surface documentation
Debugging guide
•
Pricing
•
•
•
•
•
•
•
•
Cloud Cover 116 – X-plat notifications
Cloud Cover 118 – Geo-location
Azure Friday – Broadcasting
Azure Friday – Tags
Azure Friday – Templates
Azure Friday – User-specific notifications