Apple notification push
SummaryExample of notificationArchitecture APNIPHONE AuthorizationYourcode in XcodeMyprovider RegisterCertificateSend a notificationReturn disableddevicesReceive a notification push
Example of notificationExist 2 notification versions :  Local Notification Push
 Remote Notification PushWe work with second type of notification
Architecture APNFeedBack server send notificationIn JSON. It indicate you, device who uninstall application or device  dysfunctional Gateway server receive notificationIn JSON. After reception, it sends  notification to selected device
IPHONE AuthorizationTo receive notification in IPHONE, users must accept  to notification reception. Once to accept, you must register  identifier of  IPHONE to send it to corporate server (your provider)
In yourAppDelegateAlways use application:didFinishLaunchingWithOptions: method for launching your application when it have optionsThis method, we ask iphone ID user to receive notification or not …
Your code in XcodeThis code sends device identifier to your provider to register them.This code must be always in AppDelegate ApplicationDelegate of UIApplication must be useNext slide presents my code Application:didRegisterForRemoteNotificationsWithDeviceToken must be called;The register always must be made.
My codeFunction which recover Device ID and remove space blank. After call a function in backgroundFunction which send info to your provider. Baseurlregister is my url address of my serveur
My providerMy script make in PHP and may be use in other programming languageYour server must be accessible (choose a web server much easier)
My PHP code register IDIPHONE
Message FormatTo transfer a message, you use JSONFormat includes alert message, badge, and soundYou can use a personalize sound to put in you application 
ExampleThis code send a alert message, use a default sound of IPHONE and notify app to 1 Don’t worry to write json, PHP have a function which allow to convert a table to json
certificateDon’t  think to send notification without minimum security levelYou must create a security certificate and send it to iphone provisionning portal  and recover the new one in iphone provisionning portal  of your application. Procedure explained on developer portal, don’t forgot enable notification push service
Create a certificate
certificateAfter to inform apple of your certificate, we transform it to regroup all information with openssl (download it if you didn’t have it)
Certificate .PEMOpen your terminal and tapezTest yourconnection, if failreverifyyour certificat, it’sbad
Send a notification on gatewayTo communicate with gateway sandbox, we go to create a secured network by using ssl protocol.My script is in php, my certificate recently created must put in folder protected by htacessWarning if you do not protect your certificate, an hacker  can send a lot of notification in your place.
Script sendNotif.php
Return disableddevices on feedback.sandbox
Receive a notification pushWhenyoureceive a notification, more often you must specify the good view to show
You have 2 options
when application enter in background

More Related Content

PPTX
Push Notification
PPTX
Your Guide to Push Notifications - Comparing GCM & APNS
KEY
How to build a server and a iPhone client application using the Apple Push No...
PPTX
Push notifications
PDF
Push to Me: Mobile Push Notifications (Zend Framework)
PPTX
Gearing up for mobile push notifications
PDF
Mobile Push Notifications
ODP
OWD - Push Notification Server Architecture [DEVCON1_2012]
Push Notification
Your Guide to Push Notifications - Comparing GCM & APNS
How to build a server and a iPhone client application using the Apple Push No...
Push notifications
Push to Me: Mobile Push Notifications (Zend Framework)
Gearing up for mobile push notifications
Mobile Push Notifications
OWD - Push Notification Server Architecture [DEVCON1_2012]

What's hot (15)

PDF
REST is not enough: Using Push Notifications to better support your mobile cl...
PDF
From Push Technology to Real-Time Messaging and WebSockets
PPTX
Open Source Problem Solving
PPTX
Code Camp - Presentation - Windows 10 - (Cortana)
PPTX
Ubunto Server VPN Implementation
PDF
Tropo Presentation for TADHack
PDF
Securing the PHP Environment with PHPSecInfo
PDF
Twilio Signal 2016 Serverless Contact Center
KEY
Building Tropo Apps with Grails
PDF
LINE Things - LINE IoT平台新技術分享
ODP
Otra forma de hacer aplicaciones de telefonía
PDF
Windows phone 8 session 10
PPTX
Thursday webinar deep dive into docu sign certification
PDF
Develop your website with ROR
KEY
Tropo: Telephony in the Cloud
REST is not enough: Using Push Notifications to better support your mobile cl...
From Push Technology to Real-Time Messaging and WebSockets
Open Source Problem Solving
Code Camp - Presentation - Windows 10 - (Cortana)
Ubunto Server VPN Implementation
Tropo Presentation for TADHack
Securing the PHP Environment with PHPSecInfo
Twilio Signal 2016 Serverless Contact Center
Building Tropo Apps with Grails
LINE Things - LINE IoT平台新技術分享
Otra forma de hacer aplicaciones de telefonía
Windows phone 8 session 10
Thursday webinar deep dive into docu sign certification
Develop your website with ROR
Tropo: Telephony in the Cloud
Ad

Viewers also liked (17)

PPTX
Учням — цікаво, вчителям — легко. Немає нічого більш упорядкованого, ніж природа
PPTX
State of Search: Local SEO
PPTX
SinterklaasbezoektEemland.nl
PPTX
Pycon 2016-open-space
PDF
8617 Taylor Road
PDF
Alumni talk-university-of-kachchh
DOCX
Survey Monkey Results
DOCX
News Release
PPTX
Romance powerpoint
DOCX
RobertJMontgomeryJR V4
DOCX
PDF
Social Media Calender
TXT
Filme terror 2013
PDF
Continuous Deployment with Containers
DOCX
Feature Release
PDF
Davidson Capital - NOAH15 London
PPTX
Data science bootcamp day 3
Учням — цікаво, вчителям — легко. Немає нічого більш упорядкованого, ніж природа
State of Search: Local SEO
SinterklaasbezoektEemland.nl
Pycon 2016-open-space
8617 Taylor Road
Alumni talk-university-of-kachchh
Survey Monkey Results
News Release
Romance powerpoint
RobertJMontgomeryJR V4
Social Media Calender
Filme terror 2013
Continuous Deployment with Containers
Feature Release
Davidson Capital - NOAH15 London
Data science bootcamp day 3
Ad

Similar to Apple notification push (20)

PPTX
push_notification
PDF
Get step-by-step instructions on implementing notifications in your apps.
PPT
Apple push notification service
PDF
Petr Dvořák: Push notifikace ve velkém
DOCX
Configure & send push notification on i os device
PDF
Newsstand
PDF
In the hunt of 100% delivery rate with mobile push notifications
PDF
Swiftstart - Provisioning Basics
PDF
How apple can read your i messages
PPTX
Swift to send Push Notifications with Parse Dashboard and
PPTX
Push notifications with dashboard and swift
PDF
YOW! Connected 2014 - Developing Secure iOS Applications
PDF
iOS Remote Notifications
PPTX
Ios development training presentation
PDF
Push Notification - Part 1 - Transcript.pdf
PDF
Leveraging Zend Framework for Sending Push Notifications
PDF
Zend Framework Push Notifications
PDF
How to Enable Unified Push Notifications in Native and HTML5 Hybrid Mobile Apps
KEY
Local Notifications @ Melbourne Cocoaheads (Aug 10)
PDF
Creating Enterprise Friendly Apps
push_notification
Get step-by-step instructions on implementing notifications in your apps.
Apple push notification service
Petr Dvořák: Push notifikace ve velkém
Configure & send push notification on i os device
Newsstand
In the hunt of 100% delivery rate with mobile push notifications
Swiftstart - Provisioning Basics
How apple can read your i messages
Swift to send Push Notifications with Parse Dashboard and
Push notifications with dashboard and swift
YOW! Connected 2014 - Developing Secure iOS Applications
iOS Remote Notifications
Ios development training presentation
Push Notification - Part 1 - Transcript.pdf
Leveraging Zend Framework for Sending Push Notifications
Zend Framework Push Notifications
How to Enable Unified Push Notifications in Native and HTML5 Hybrid Mobile Apps
Local Notifications @ Melbourne Cocoaheads (Aug 10)
Creating Enterprise Friendly Apps

Recently uploaded (20)

PDF
STKI Israel Market Study 2025 version august
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
August Patch Tuesday
PDF
DP Operators-handbook-extract for the Mautical Institute
PPTX
Web Crawler for Trend Tracking Gen Z Insights.pptx
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PPTX
The various Industrial Revolutions .pptx
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PPTX
Benefits of Physical activity for teenagers.pptx
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
Five Habits of High-Impact Board Members
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
Architecture types and enterprise applications.pdf
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
DOCX
search engine optimization ppt fir known well about this
PPT
Geologic Time for studying geology for geologist
PDF
Unlock new opportunities with location data.pdf
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
CloudStack 4.21: First Look Webinar slides
STKI Israel Market Study 2025 version august
NewMind AI Weekly Chronicles – August ’25 Week III
August Patch Tuesday
DP Operators-handbook-extract for the Mautical Institute
Web Crawler for Trend Tracking Gen Z Insights.pptx
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
The various Industrial Revolutions .pptx
Enhancing emotion recognition model for a student engagement use case through...
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Benefits of Physical activity for teenagers.pptx
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Five Habits of High-Impact Board Members
Zenith AI: Advanced Artificial Intelligence
Architecture types and enterprise applications.pdf
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
search engine optimization ppt fir known well about this
Geologic Time for studying geology for geologist
Unlock new opportunities with location data.pdf
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
CloudStack 4.21: First Look Webinar slides

Apple notification push

  • 2. SummaryExample of notificationArchitecture APNIPHONE AuthorizationYourcode in XcodeMyprovider RegisterCertificateSend a notificationReturn disableddevicesReceive a notification push
  • 3. Example of notificationExist 2 notification versions : Local Notification Push
  • 4. Remote Notification PushWe work with second type of notification
  • 5. Architecture APNFeedBack server send notificationIn JSON. It indicate you, device who uninstall application or device dysfunctional Gateway server receive notificationIn JSON. After reception, it sends notification to selected device
  • 6. IPHONE AuthorizationTo receive notification in IPHONE, users must accept to notification reception. Once to accept, you must register identifier of IPHONE to send it to corporate server (your provider)
  • 7. In yourAppDelegateAlways use application:didFinishLaunchingWithOptions: method for launching your application when it have optionsThis method, we ask iphone ID user to receive notification or not …
  • 8. Your code in XcodeThis code sends device identifier to your provider to register them.This code must be always in AppDelegate ApplicationDelegate of UIApplication must be useNext slide presents my code Application:didRegisterForRemoteNotificationsWithDeviceToken must be called;The register always must be made.
  • 9. My codeFunction which recover Device ID and remove space blank. After call a function in backgroundFunction which send info to your provider. Baseurlregister is my url address of my serveur
  • 10. My providerMy script make in PHP and may be use in other programming languageYour server must be accessible (choose a web server much easier)
  • 11. My PHP code register IDIPHONE
  • 12. Message FormatTo transfer a message, you use JSONFormat includes alert message, badge, and soundYou can use a personalize sound to put in you application 
  • 13. ExampleThis code send a alert message, use a default sound of IPHONE and notify app to 1 Don’t worry to write json, PHP have a function which allow to convert a table to json
  • 14. certificateDon’t think to send notification without minimum security levelYou must create a security certificate and send it to iphone provisionning portal and recover the new one in iphone provisionning portal of your application. Procedure explained on developer portal, don’t forgot enable notification push service
  • 16. certificateAfter to inform apple of your certificate, we transform it to regroup all information with openssl (download it if you didn’t have it)
  • 17. Certificate .PEMOpen your terminal and tapezTest yourconnection, if failreverifyyour certificat, it’sbad
  • 18. Send a notification on gatewayTo communicate with gateway sandbox, we go to create a secured network by using ssl protocol.My script is in php, my certificate recently created must put in folder protected by htacessWarning if you do not protect your certificate, an hacker can send a lot of notification in your place.
  • 20. Return disableddevices on feedback.sandbox
  • 21. Receive a notification pushWhenyoureceive a notification, more often you must specify the good view to show
  • 22. You have 2 options
  • 23. when application enter in background
  • 25. When application enter in background you must use thismethod
  • 26. -(void) application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo
  • 27. When application start because a notification, our information concerning notification
  • 28. -(BOOL) application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptionsReceive notification when Application enter in backgroundInformations regarding notification is in userInfo. To readthat, use commande [[userInfoobjectForKey:@"aps"] objectForKey:@"alert"]
  • 29. Receive notification when application wasn’tstartingYou verify if option isnull. If null, youstart application normallyotherwiseyoutake information insidelauchoptions variable. if user, duringalert notification, close it, youdidn’t have badge on your application execpt in applicationIconeBadge.
  • 30. Conclusion If there are a lot of mistakes, sorrymyenglishis middle but in the picture, youunderstandusing of push notification.Regardingdevolepment i use feedback.sandox and gateway.sandbox and developmentcertificate, but whenyourun in production you must use feedback an and not feedback.sandboxeventhings for gateway. You must have production certificate