Push notification technicaltalk

1,055 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,055
On SlideShare
0
From Embeds
0
Number of Embeds
529
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Push notification technicaltalk

  1. 1. 00 hello.
  2. 2. 01 what is push?
  3. 3. 02 why push?
  4. 4. 0201 push is personal. <hug here>
  5. 5. 0202 people want(!) push
  6. 6. 0203 push to wooooow #yay
  7. 7. 03 but how?
  8. 8. 0301 like this: 1. device requests a token from apns
  9. 9. 0301 like this: 2. apns returns a new token to device
  10. 10. 0301 like this: 3. device registers its token at little postman
  11. 11. 0301 like this: 4. you create a message using little postman api/back-end
  12. 12. 0301 like this: 5. little postman pushes the token to apns
  13. 13. 0301 like this: 6. apns pushes notification to device
  14. 14. 04 why bother?
  15. 15. 0401 multi-platform madness
  16. 16. 0402 scalability hell
  17. 17. 0403 simplifica- tion
  18. 18. 0403 automation
  19. 19. 0403 personali- zation
  20. 20. 0403 segmenta- tion
  21. 21. 0403 localization
  22. 22. 0403 evaluation
  23. 23. 0403 location
  24. 24. 0403 multi-app
  25. 25. 0403 and on top some colorful charts for the sales department?
  26. 26. 0404 release!
  27. 27. 05 finally...
  28. 28. 0501 we are here* to help. * berlin-mitte, germany.
  29. 29. 0501 init self.pushClient = [[LPPushClient alloc] initWithClientKey:KEY environment:ENV]; UIApplication *app = [UIApplication sharedApplication]; [app registerForRemoteNotificationTypes:TYPES];
  30. 30. 0502 register self.pushClient.deviceToken = deviceToken; [self.pushClient registerDeviceToken];
  31. 31. 0503 push! $item = $feed->get_items()[0]; $msg = new Lp_RPC_Model_OutgoingMessage($item->get_title()); $msg->setData(array(url => $item->get_link())); $lpClient = new Lp_RPC_LPClient($this->_serverKey); $lpClient->push($outgoingMessage);
  32. 32. 0504

×