We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c6e953 commit 699657fCopy full SHA for 699657f
TestProjects/com.unity.mobile-notifications-sample/Assets/Scripts/iOSTest.cs
@@ -238,7 +238,7 @@ private void InstantiateAllTestButtons()
238
{
239
var attachments = new List<iOSNotificationAttachment>();
240
foreach (var att in template.Attachments)
241
- attachments.Add(new iOSNotificationAttachment() { Url = "file://" + Path.Combine(Application.streamingAssetsPath, att) });
+ attachments.Add(new iOSNotificationAttachment() { Url = new Uri(Path.Combine(Application.streamingAssetsPath, att)).AbsoluteUri });
242
notification.Attachments = attachments;
243
}
244
ScheduleNotification(notification);
0 commit comments