iOS 10 Beta 8: Remote Notification not registering in app

Originator:chip.snyder3
Number:rdar://28170364 Date Originated:06-Sep-2016
Status:OPEN Resolved:
Product:iOS 10 SDK Product Version:iOS 10 Beta 8
Classification:Other Bug Reproducible:Always
 
Summary:
When working with Push notifications in an app implementing the iOS 10 Beta 8 SDK remote notification user dictionary is not being sent to iPhone devices with iOS 10 installed. 

The app in question in implementing 

- application:didReceiveRemoteNotification:fetchCompletionHandler:

https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegate_Protocol/#//apple_ref/occ/intfm/UIApplicationDelegate/application:didReceiveRemoteNotification:fetchCompletionHandler:

And is not implementing


- application:didReceiveRemoteNotification:


https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegate_Protocol/#//apple_ref/occ/intfm/UIApplicationDelegate/application:didReceiveRemoteNotification:


According to the documentation for - application:didReceiveRemoteNotification:

"Implement the application:didReceiveRemoteNotification:fetchCompletionHandler: method instead of this one whenever possible. If your delegate implements both methods, the app object calls the application:didReceiveRemoteNotification:fetchCompletionHandler: method."

Steps to Reproduce:
Steps:
1) Using an app configured for remote notifications with - application:didReceiveRemoteNotification:fetchCompletionHandler: implemented instead of - application:didReceiveRemoteNotification: 
2) Send a remote notification with a user info dictionary (such as a deeplink)


Expected Results:
App opens and calls - application:didReceiveRemoteNotification:fetchCompletionHandler:



Actual Results:
App will open but - application:didReceiveRemoteNotification:fetchCompletionHandler: is not called

Version:
iOS 10 beta 8

Notes:
The POC (proof of concept) has implemented push notifications using Urban Airship.

Configuration:
iPhone 6 MG472LL/A

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!