-
Notifications
You must be signed in to change notification settings - Fork 181
Closed
Description
I'm having trouble with iOS default sound. If I don't pass any soundName as parameter, notification do appear but don't play any sound (regardless if app is on foreground or background). When I was writing my own code I had to manually call soundName = UnityEngine.iOS.LocalNotification.defaultSoundName but in your code this does not seems to work. I changed your line to this: notification.soundName = (soundName != null) ? soundName : UnityEngine.iOS.LocalNotification.defaultSoundName; but my iphone refuse to play any sound. Custom sound plays nice though. Do you know how can I fix this?
Unity 2018.1.9f1
Xcode 10.1
iPhone 7 iOS 12.1.2
Metadata
Metadata
Assignees
Labels
No labels