iOS 10: Local notifications ignore custom alerts and plays default sound after installing updated build

Originator:mail.junjie
Number:rdar://27968066 Date Originated:23-Aug-2016 11:49 PM
Status:Open Resolved:
Product:iOS Product Version:iOS 10.0 (14A5345a)
Classification:Serious Bug Reproducible:Always
 
Area:
Something not on this list

Summary:
When a new build of an app is installed either via Xcode, TestFlight and App Store on iOS 10, all existing scheduled local notifications begin to ignore the custom alert sound and play the default alert sound instead. Even newly scheduled notifications after the update will not play the custom alert sound. The only way to resolve the problem is to restart the device.

Steps to Reproduce:
1. Schedule a UILocalNotification with a custom soundName
2. Run the app
3. Return to Home screen
4. Wait for notification to fire
5. Verify that custom alert sound is played
6. Return to Xcode and increase build number. Run app.
7. Return to Home screen
8. Wait for notification to fire

Expected Results:
Notification plays the custom alert sound as assigned

Actual Results:
Notification plays the default alert sound

Version:
iOS 10.0 (14A5345a)

Notes:
Watch video reproducing the bug, or check out sample project.

Configuration:
iPhone 6s Plus (and all iOS 10 simulators)

Attachments:
'Wrong Notification Sound.mp4' and 'Notification With Wrong Alert Sound.zip' were successfully uploaded.

https://www.dropbox.com/s/vjd4tiict7uo4ll/Wrong%20Notification%20Sound.mp4?dl=1
https://www.dropbox.com/s/1nxo8xr5antpt22/Notification%20With%20Wrong%20Alert%20Sound.zip?dl=1

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!