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.
2 parents 77b0aa7 + cb5217e commit 589dac7Copy full SHA for 589dac7
android/src/main/java/io/neson/react-native/notification/Notification.java
@@ -11,6 +11,7 @@
11
import android.content.Intent;
12
import android.content.SharedPreferences;
13
import android.support.annotation.Nullable;
14
+import android.net.Uri;
15
16
import java.lang.System;
17
import java.util.HashMap;
@@ -228,6 +229,10 @@ else if (attributes.bigStyleImageBase64 != null) {
228
229
notificationBuilder.setLocalOnly(attributes.localOnly);
230
}
231
232
+ if (attributes.sound != null) {
233
+ notificationBuilder.setSound(Uri.parse(attributes.sound));
234
+ }
235
+
236
return notificationBuilder.build();
237
238
0 commit comments