Push notification technicaltalk
-
Upload
heinrich-seeger -
Category
Technology
-
view
396 -
download
0
Transcript of Push notification technicaltalk
![Page 1: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/1.jpg)
00
hello.
![Page 2: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/2.jpg)
01
what ispush?
![Page 3: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/3.jpg)
02
whypush?
![Page 4: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/4.jpg)
0201
push ispersonal.<hug here>
![Page 5: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/5.jpg)
0202
peoplewant(!) push
![Page 6: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/6.jpg)
0203
pushto wooooow#yay
![Page 7: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/7.jpg)
03
but how?
![Page 8: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/8.jpg)
0301
like this:1. device requests a token from apns
![Page 9: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/9.jpg)
0301
like this:2. apns returns a new token to device
![Page 10: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/10.jpg)
0301
like this:3. device registers its token at little postman
![Page 11: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/11.jpg)
0301
like this:4. you create a message using little postman api/back-end
![Page 12: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/12.jpg)
0301
like this:5. little postman pushes the token to apns
![Page 13: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/13.jpg)
0301
like this:6. apns pushes notification to device
![Page 14: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/14.jpg)
why bother?04
![Page 15: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/15.jpg)
multi-platformmadness
0401
![Page 16: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/16.jpg)
scalabilityhell
0402
![Page 17: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/17.jpg)
0403
simplifica-tion
![Page 18: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/18.jpg)
0403
automation
![Page 19: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/19.jpg)
0403
personali-zation
![Page 20: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/20.jpg)
0403
segmenta-tion
![Page 21: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/21.jpg)
0403
localization
![Page 22: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/22.jpg)
0403
evaluation
![Page 23: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/23.jpg)
0403
location
![Page 24: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/24.jpg)
0403
multi-app
![Page 25: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/25.jpg)
0403
and on top some colorful charts for the salesdepartment?
![Page 26: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/26.jpg)
0404
release!
![Page 27: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/27.jpg)
05
finally...
![Page 28: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/28.jpg)
0501
we are here*to help.
* berlin-mitte, germany.
![Page 29: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/29.jpg)
0501
init
self.pushClient = [[LPPushClient alloc] initWithClientKey:KEYenvironment:ENV];
UIApplication *app = [UIApplication sharedApplication];[app registerForRemoteNotificationTypes:TYPES];
![Page 30: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/30.jpg)
0502
register
self.pushClient.deviceToken = deviceToken;[self.pushClient registerDeviceToken];
![Page 31: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/31.jpg)
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);
![Page 32: Push notification technicaltalk](https://reader034.fdocuments.us/reader034/viewer/2022052622/55946fe11a28ab920e8b4662/html5/thumbnails/32.jpg)
0504