diff --git a/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseNotificationManager.java b/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseNotificationManager.java index 46417c96..214c9967 100644 --- a/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseNotificationManager.java +++ b/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseNotificationManager.java @@ -560,7 +560,9 @@ public class RNFirebaseNotificationManager { } private Uri getSound(String sound) { - if (sound.contains("://")) { + if (sound == null) + return null; + else if (sound.contains("://")) { return Uri.parse(sound); } else if (sound.equalsIgnoreCase("default")) { return RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);