Artwork

Content provided by 5by5 Broadcasting. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by 5by5 Broadcasting or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.
Player FM - Podcast App
Go offline with the Player FM app!

106: Push It to the Limit

53:08
 
Share
 

Manage episode 125249954 series 27172
Content provided by 5by5 Broadcasting. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by 5by5 Broadcasting or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

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
  • 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

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

  continue reading

100 episodes

Artwork

106: Push It to the Limit

iOhYes

published

iconShare
 
Manage episode 125249954 series 27172
Content provided by 5by5 Broadcasting. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by 5by5 Broadcasting or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

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
  • 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

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

  continue reading

100 episodes

All episodes

×
 
Loading …

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.

 

Quick Reference Guide