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 ba8d8231..948ba9bd 100644 --- a/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseNotificationManager.java +++ b/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseNotificationManager.java @@ -85,6 +85,7 @@ public class RNFirebaseNotificationManager { try { cancelAlarm(notificationId); preferences.edit().remove(notificationId).apply(); + promise.resolve(null); } catch (SecurityException e) { // TODO: Identify what these situations are // In some devices/situations cancelAllLocalNotifications can throw a SecurityException.