Go offline with the Player FM app!
106: Push It to the Limit
Manage episode 125249954 series 27172
Discussion
Push Notification Overview
- Notifications
- Intended for user
- Certificate required
- Can be disabled
- Remote vs. Local
- Local - schedule by the app on device
- Best example is Reminders app
- Schedule by
- elapsed time or exact time
- location based
- Remote - come from your server
- Local - schedule by the app on device
- Actions
- Interactive Notifications
- Categories
Text Input
- New type of “Action”
- Behavior is “.textInput”
APNS (Apple Push Notification Service)
- Device token created by APNS, need to store on server, associated with particular client app
- Payload must include aps, but can also include custom values, as well
- Payload “aps dictionary”: alert (string or dictionary), badge, sound, content-available, category
- Payload alert dictionary: title, body, title-loc-key, title-loc-args, action-loc-key, loc-key, loc-args, launch-image
- Silent notifications (content-available == 1) wakes your app in the background so that you can fetch data, etc.
- Feedback service, how to discover tokens that are no longer active
- Device tokens are 32 bytes, may be increasing to 100 bytes soon
- New provider API released in 2015
- HTTP/2
- notification requests to APNS get a response
- multiplexed
- binary
- Notification requests
- POST
- json
- Notification responses
- 200 OK
- 400 BAD REQUEST with json payload and reason
- Instant Feedback
- Allows you to learn about inactive tokens in the notification response via 410 status code in the response
- Simplified Certificate Handling
- Now one certificate for all push actions
- Push notifications payload size increased from 2KB to 4KB
- HTTP/2
Thanks to Braintree for sponsoring this episode of iOhYes. If you're building a mobile app and searching for a simple payments solution, check out Braintree. For your first $50,000 in transactions fee-free, go to braintreepayments.com/yes
100 episodes
Manage episode 125249954 series 27172
Discussion
Push Notification Overview
- Notifications
- Intended for user
- Certificate required
- Can be disabled
- Remote vs. Local
- Local - schedule by the app on device
- Best example is Reminders app
- Schedule by
- elapsed time or exact time
- location based
- Remote - come from your server
- Local - schedule by the app on device
- Actions
- Interactive Notifications
- Categories
Text Input
- New type of “Action”
- Behavior is “.textInput”
APNS (Apple Push Notification Service)
- Device token created by APNS, need to store on server, associated with particular client app
- Payload must include aps, but can also include custom values, as well
- Payload “aps dictionary”: alert (string or dictionary), badge, sound, content-available, category
- Payload alert dictionary: title, body, title-loc-key, title-loc-args, action-loc-key, loc-key, loc-args, launch-image
- Silent notifications (content-available == 1) wakes your app in the background so that you can fetch data, etc.
- Feedback service, how to discover tokens that are no longer active
- Device tokens are 32 bytes, may be increasing to 100 bytes soon
- New provider API released in 2015
- HTTP/2
- notification requests to APNS get a response
- multiplexed
- binary
- Notification requests
- POST
- json
- Notification responses
- 200 OK
- 400 BAD REQUEST with json payload and reason
- Instant Feedback
- Allows you to learn about inactive tokens in the notification response via 410 status code in the response
- Simplified Certificate Handling
- Now one certificate for all push actions
- Push notifications payload size increased from 2KB to 4KB
- HTTP/2
Thanks to Braintree for sponsoring this episode of iOhYes. If you're building a mobile app and searching for a simple payments solution, check out Braintree. For your first $50,000 in transactions fee-free, go to braintreepayments.com/yes
100 episodes
All episodes
×Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.