You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: com.unity.mobile.notifications/Documentation~/iOS.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -225,3 +225,9 @@ Sometimes, you might want to set custom data on the payload for a remote notific
225
225
```
226
226
227
227
You have to use the exact `data` as the key of your custom data, because this is what the package looks for.
228
+
229
+
#### Images, videos and sounds
230
+
231
+
By default notifications use the default system sound. Sound can be disabled by changing the [iOSNotificationCenter.SoundType](../api/Unity.Notifications.iOS.iOSNotification.html#Unity_Notifications_iOS_iOSNotification_SoundType). A custom sound can be used by using Default sound type and assigning sound file name to [iOSNotificationCenter.SoundName](../api/Unity.Notifications.iOS.iOSNotification.html#Unity_Notifications_iOS_iOSNotification_SoundName). The sound file itself has to be manually added to XCode project. For more information, see [Apple documentation](https://developer.apple.com/documentation/usernotifications/unnotificationsound?language=objc).
232
+
233
+
Images or video can added to notifications by using [attachments](../api/Unity.Notifications.iOS.iOSNotificationAttachment.html).
0 commit comments