diff --git a/Acr.Notifications.Android/NotificationsImpl.cs b/Acr.Notifications.Android/NotificationsImpl.cs index b353e9d..3bb33cb 100644 --- a/Acr.Notifications.Android/NotificationsImpl.cs +++ b/Acr.Notifications.Android/NotificationsImpl.cs @@ -69,8 +69,7 @@ public override string Send(Notification notification) if (notification.Sound != null) { - var file = new File(notification.Sound); - var uri = Android.Net.Uri.FromFile(file); + var uri = Android.Net.Uri.Parse(notification.Sound); builder.SetSound(uri); } var not = builder.Build(); diff --git a/nuspec/Acr.Notifications.nuspec b/nuspec/Acr.Notifications.nuspec index f70b2f4..8c29b0f 100644 --- a/nuspec/Acr.Notifications.nuspec +++ b/nuspec/Acr.Notifications.nuspec @@ -23,6 +23,7 @@ 3.2.0 [feature] full metadata can now be added to a notification via Notification.SetMetadata (UWP scheduled message currently wont allow this) [fix][android] default sound was not set on the notification properly +[fix][android] URI is now parsed instead of assuming a file location 3.1.2 [fix][ios] alert title not set properly