Skip to content

Conversation

@jkasten2
Copy link
Member

@jkasten2 jkasten2 commented Mar 9, 2017

  • Notification Service Extension is now used instead of content-available on iOS 10 for Action buttons and Media attachments.
  • This improves the reliably of and delivery speed of notifications with these features enabled.
  • Added the following selectors that must be used with from your Notification Service Extension.
    • didReceiveNotificatioExtensionnRequest:withMutableNotificationContent:
    • serviceExtensionTimeWillExpireRequest:withMutableNotificationContent:
  • Fixed bug where actionID was not being set since release 2.3.6.
  • Cleaned up Objective-c example project
  • Added additional unit test and fixed flaky tests with Travis-CI
  • Fixed crash with action buttons when using the new os_data payload.

This change is Reviewable

jkasten2 added 5 commits March 7, 2017 19:26
* Action buttons support is included as well.
* Updated example
* Fixed flaky travis tests due to a slow execution of tests.
* Crash would only happen if the new os_data type payload was received by the device along with a receiver being setup and no title or subtitle set.
* Added serviceExtensionTimeWillExpireRequest handler so buttons still show if other customizations take to look to process.
* Fixed handling of new payload with buttons.
* Corrected mock notification to be a remote type.
* Cleaned up OneSignal.h
* Cleaned up Objective-C example project.
@jkasten2 jkasten2 merged commit a1bef2c into master Mar 9, 2017
@jkasten2 jkasten2 deleted the media_attachments_service_extension branch March 10, 2017 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants