Commit c61f1ad2 authored by Sebastián Katzer's avatar Sebastián Katzer
Browse files

Merge pull request #423 from MichelReij/master

Fixed the schedule event
parents 566fc91e 58908c20
Loading
Loading
Loading
Loading
+3 −0
Changes for src/android/LocalNotification.java: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -180,7 +180,10 @@ public class LocalNotification extends CordovaPlugin {
    	for (int i = 0; i < notifications.length(); i++) {
    		JSONObject options = notifications.optJSONObject(i);

            Notification notification =
                    getNotificationMgr().schedule(options, TriggerReceiver.class);
            
            fireEvent("schedule", notification);
    	}
    }