advanced rich push notifications

15
ADVANCED RICH PUSH NOTIFICATIONS Erdem Yılmaz Sofware Engineer

Upload: erdem-yilmaz

Post on 15-Feb-2017

6.200 views

Category:

Documents


1 download

TRANSCRIPT

ADVANCED RICH PUSH NOTIFICATIONS

Erdem Yılmaz

Sofware Engineer

AGENDA

1. Why Push Notifications

2. General Overview of Notifications

3. Rich Push vs. Normal Push

4. Group Based Notifications

5. Location Based Notifications

6. Geofencing

WHY PUSH NOTIFICATIONS

Push notifications are a way for an app to send information to your mobile device even when you aren’t using the app

41%

24%

14%

20%notify the current audience ofnew apps or versions that havejust been released

send the users a special offer

alert the users of new content

other reasons

>31,000 Users

GENERAL OVERVIEW

Sends Sender Id

Returns unique Registration Id

Sends Registration Idto Your Server

Stores Registration Idin database

Sends message with RegistrationIds of devices

Delivers messages to mobile devices

RED – Registration of Devices

BLUE – Sending Notifications

NORMAL PUSH VS. RICH PUSH

VS

Hoşgeldiniz Erdem Yılmaz

• Images, videos or maps can be embedded• Customizable content

• Only text messages• Static content

RICH PUSH ARCHITECTURE

Sends Sender Id

Returns unique Registration Id

Stores Registration Idin database

Delivers message + Rich Push Content Id

Sends message + Rich Push Content Id

Sends Registration IdSends Rich Push Content Id

Returns Rich Push Html Content

Shows the contentto the user

Rich Push Html Content??

SENT, BUT TO WHOM? -I

Sending push notifications by tags

Segment app users according to different kind of parameters• Their interest• Usage Type• Characteristics

GROUP BASED

Sends Sender Id

Returns unique Registration Id

Sends Registration Id+ User’s Group List

Updates RegistrationId record with thegroup information

Gets related registrationids for desired group

Sends message withRegistration Ids of devices

Delivers messages to mobile devices

SENT, BUT TO WHOM? -II

Location Based Notifications

• Send push notifications to a specificlocation

• Only the users inside the specificarea will receive the notifications

LOCATION BASED(GEO TARGETING)

Sends Sender Id

Returns unique Registration Id

Sends message withRegistration Ids of devices

Delivers messages to mobile devices

Updates RegistrationId record with theLocation information

Sends Registration Id+ User’s CurrentLocation

Gets registration ids of devices inside the specificregion

GEOFENCING

Geo-fence: predefined set of boundaries

When application user enters geo-fence zone, send the pushnotification to the user

GEOFENCING-II

Start listening userlocation

On every locationupdate, register the

device with the latestlocation

Is thelocation

inside thegeofence

Is this firstregistration

SendRegistration Idto GCM

Send message todevice

Is this a richpush

notification

Send Rich PushContent Id toserver

Show thecontent to appuser

End

NO

YES

YES

YES

NO

NO

PUSH ETHICS

Don’t send spam!

Send app related content.

Too many notifications may kill your app!

Make good targetting.

Create meaningful, valuable messages.

WHAT ABOUT BACKEND SERVER?

THANKS

More Info

• http://developer.android.com/google/gcm/index.html

• http://netmera.com

• http://en.wikipedia.org/wiki/Geo-fence

• https://github.com/Netmera

[email protected]

[email protected]