private void schedule(JSONArray optionsJSONList, CallbackContext callbackContext) {
        for (int index = 0; index < optionsJSONList.length(); index++) {
            Notification notification = new Notification(getContext(), optionsJSONList.optJSONObject(index));
            if (notification.scheduleNext()) fireEvent("add", notification);
        }

        hasPermission(callbackContext);
    }
Schedule one or multiple local notifications
@param optionsJSONList The notifications to schedule.
src/android/LocalNotification.java