|
@@ -138,7 +138,10 @@ public class LocalNotification extends CordovaPlugin {
|
|
|
NotificationManager nc = getNotificationManager();
|
|
NotificationManager nc = getNotificationManager();
|
|
|
|
|
|
|
|
am.cancel(pi);
|
|
am.cancel(pi);
|
|
|
- nc.cancel(Integer.parseInt(notificationId));
|
|
|
|
|
|
|
+
|
|
|
|
|
+ try {
|
|
|
|
|
+ nc.cancel(Integer.parseInt(notificationId));
|
|
|
|
|
+ } catch (Exception e) {}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|