Upload
teerasej-jiraphatchandej
View
327
Download
0
Embed Size (px)
DESCRIPTION
My presentation on PhoneGap/Cordova training at Rakuten's TARAD.com headquarter. It shows concept and overview before we go deep in project, code, and PushPlugin. Invite me to help your team faster with PhoneGap/Cordova. Contact: [email protected]
Citation preview
PhoneGap/Cordova’s Push Notification
for Android
Teerasej Jiraphatchandej www.nextflow.in.th/phonegap
http://www.nextflow.in.th/phonegap/
“Pon” Teerasej Jiraphatchandej
USER GROUP MANAGER THAI ADOBE DEVELOPER COMMUNITY
teerasej
http://www.nextflow.in.th/phonegap/
http://www.nextflow.in.th/phonegap/
Bad Push notification
• Spam (Bad User Experience)
• Server-Load (Bad Resource Management)
Overview
• Register
• Submit Message
• Notify
http://www.nextflow.in.th/phonegap/
ServerDeviceGoogle Cloud
Messaging API
http://www.nextflow.in.th/phonegap/
ServerDeviceGoogle Cloud
Messaging API
Register
Register ID
http://www.nextflow.in.th/phonegap/
ServerDeviceGoogle Cloud
Messaging API
Register ID
http://www.nextflow.in.th/phonegap/
ServerDeviceGoogle Cloud
Messaging API
Register ID
http://www.nextflow.in.th/phonegap/
ServerDeviceGoogle Cloud
Messaging API
Register ID
http://www.nextflow.in.th/phonegap/
ServerDeviceGoogle/Apple/Somethings…
Server
Register ID
http://www.nextflow.in.th/phonegap/
ServerDeviceGoogle/Apple/Somethings…
Server
Register ID, Message, Title, …
http://www.nextflow.in.th/phonegap/
Push notification to notify user
http://www.nextflow.in.th/phonegap/
ServerDeviceGoogle/Apple/Somethings…
Server
Register ID, Message, Title, …
http://www.nextflow.in.th/phonegap/
ServerDeviceGoogle/Apple/Somethings…
Server
Register ID, Message, Title, …
Push Notification to Registered ID
http://www.nextflow.in.th/phonegap/
That’s Push notification! :)
You need…
• Your Android Device
• A computer with PhoneGap/Cordova CLI
• A nice PHP server
• and…
http://www.nextflow.in.th/phonegap/
Push Plugin !
https://github.com/phonegap-build/PushPlugin
http://www.nextflow.in.th/phonegap/
Thank you!
facebook.com/teerasej
www.nextflow.in.th