Learn how to use RedHat’s Aerogear Unified Push Server in the cloud to send Push Notifications to Android and iOS mobile devices from your Java based application.
9892124323 | Book Call Girls in Juhu and escort services 24x7
Gearing up for mobile push notifications
1. Gearing up for Push Notifications
“If I have seen further it is by standing on the shoulders of giants.”
- Sir Isaac Newton
Text
2. Keith D. Moore
• Independent Software Consultant
• KD Moore Consulting
• http://www.kdmooreconsulting.com
• keith@kdmooreconsulting.com
• @keithdmoore94
3. What is a Push
Notification?
A method of notifying a user
that an event has occurred and
allowing the user to launch the
application associated with it.
4. Push Notification Qualities
• Asynchronous
• Delivered even if the
app is not running
• Sent to the app, if in the
foreground
• May contain additional
data in its payload that
can be used by the app
5. Push Notification
Guidelines
• Should not be abused
• Message should be short
• Not intended for mission
critical events
6. Why do we need a Push Server
?
• Because we are lazy developers
7. Why do we need a Push Server
?
• Capitalize on the work of
others
• Focus on our application
• Separation of Concerns
• Multiple disparate systems
integration
9. AeroGear
• Backed by Red Hat
• Active community
• Good documentation
• Rest API based
• Other services (OTP,
Crypto, Geofencing)
10. Aerogear Unified Push
Server
• Supports Android
and iOS platforms
• Cordova Plugin
• Open Source
• Can be hosted in the
Cloud or internally
• Java Sender API
• Admin UI
13. Aerogear on
OpenShift(PaaS)
• Backed by RedHat
• Convenient
• Practically free
• Extremely easy to setup
• Aerogear UPS Cartridge
• MySQL 5.5 Cartridge
• Nice command line tools
• Jenkins Support
• Docker support coming soon
14. Aerogear UPS Android
Setup
• Create a Google API project
• Obtain Google API project number
• Obtain API Credentials Public Key
15. Aerogear UPS iOS Setup
• Setup Apple iOS developer
account (pay the $99)
• Create Apple App ID
• Create SSL Certificate for APNs
• Create Apple Provisioning
Profile
16. Aerogear UPS Common
Setup
• Install Aerogear Unified Push Server
(Locally, OpenShift or wherever)
• Login to Aerogear Unified Push Server
with default credentials
• Add Push Application
• Add Variant(s)
• Android - Provide Google API
project number and API Key
• iOS - Upload certificate and
provide passphrase
17. Server/Client App Setup
Checklist
• Setup server side application to send
push notifications
• Setup mobile client by providing push
server url, variant info, etc.
18. Credits/Links
• http://aerogear.org
• https://www.openshift.com
• http://developer.android.com/google/gcm/index.html
• https://developer.apple.com/notifications
• http://aerogear.org/docs/unifiedpush/aerogear-push-ios/
• All images, copyrights and trademarks belong to their
respective owners. We are not directly affiliated with any of
these companies.
Notas do Editor
Business cards and Aerogear stickers
Usually associated with mobile devices. However, push notifications can be sent to a browser using GCM for Chrome or Mozilla Simple Push. iOS8 introduces silent notifications which can allow an app to be notified about an event. An example would be a newsstand app, it could then download new content in the background.
I will show a demo of sending additional data in the payload later.
We would like to focus on getting our application to market, not get bogged down in the details of creating a push server.
With a Push Server, we can easily send push notifications to multiple mobile applications from multiple disparate applications.
With a Push Server, we can easily send push notifications to multiple mobile applications from multiple disparate applications.
Practically free especially for small to medium size applications
For more detailed pricing, see their website.
Worst case, you could use OpenShift initially for dev or test to get up and running quickly
30,000 foot view
Show demo
Show code
Practically free especially for small to medium size applications
For more detailed pricing, see their website.
Worst case, you could use OpenShift initially for dev or test to get up and running quickly
So you are convinced that you want to take this approach.
Simulators will not support push notifications. Genymotion ?
Aerogear site has screenshots for iOS setup.
So you are convinced that you want to take this approach.
Simulators will not support push notifications. Genymotion ?
Aerogear site has screenshots for iOS setup.
So you are convinced that you want to take this approach.
Simulators will not support push notifications. Genymotion ?
Aerogear site has screenshots for iOS setup.
So you are convinced that you want to take this approach.
Simulators will not support push notifications. Genymotion ?
Aerogear site has screenshots for iOS setup.