32
00 hello.

Push notification technicaltalk

Embed Size (px)

Citation preview

Page 1: Push notification technicaltalk

00

hello.

Page 2: Push notification technicaltalk

01

what ispush?

Page 3: Push notification technicaltalk

02

whypush?

Page 4: Push notification technicaltalk

0201

push ispersonal.<hug here>

Page 5: Push notification technicaltalk

0202

peoplewant(!) push

Page 6: Push notification technicaltalk

0203

pushto wooooow#yay

Page 7: Push notification technicaltalk

03

but how?

Page 8: Push notification technicaltalk

0301

like this:1. device requests a token from apns

Page 9: Push notification technicaltalk

0301

like this:2. apns returns a new token to device

Page 10: Push notification technicaltalk

0301

like this:3. device registers its token at little postman

Page 11: Push notification technicaltalk

0301

like this:4. you create a message using little postman api/back-end

Page 12: Push notification technicaltalk

0301

like this:5. little postman pushes the token to apns

Page 13: Push notification technicaltalk

0301

like this:6. apns pushes notification to device

Page 14: Push notification technicaltalk

why bother?04

Page 15: Push notification technicaltalk

multi-platformmadness

0401

Page 16: Push notification technicaltalk

scalabilityhell

0402

Page 17: Push notification technicaltalk

0403

simplifica-tion

Page 18: Push notification technicaltalk

0403

automation

Page 19: Push notification technicaltalk

0403

personali-zation

Page 20: Push notification technicaltalk

0403

segmenta-tion

Page 21: Push notification technicaltalk

0403

localization

Page 22: Push notification technicaltalk

0403

evaluation

Page 23: Push notification technicaltalk

0403

location

Page 24: Push notification technicaltalk

0403

multi-app

Page 25: Push notification technicaltalk

0403

and on top some colorful charts for the salesdepartment?

Page 26: Push notification technicaltalk

0404

release!

Page 27: Push notification technicaltalk

05

finally...

Page 28: Push notification technicaltalk

0501

we are here*to help.

* berlin-mitte, germany.

Page 29: Push notification technicaltalk

0501

init

self.pushClient = [[LPPushClient alloc] initWithClientKey:KEYenvironment:ENV];

UIApplication *app = [UIApplication sharedApplication];[app registerForRemoteNotificationTypes:TYPES];

Page 30: Push notification technicaltalk

0502

register

self.pushClient.deviceToken = deviceToken;[self.pushClient registerDeviceToken];

Page 31: Push notification technicaltalk

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

0504