Commit ca85d768 by Sebastián Katzer

Comment out everything eccept ios

parent 4f195194
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
id="de.appplant.cordova.plugin.local-notification" id="cordova-plugin-local-notifications"
version="0.8.5"> version="0.0.0">
<name>LocalNotification</name> <name>LocalNotification</name>
...@@ -27,12 +27,11 @@ ...@@ -27,12 +27,11 @@
<!-- dependencies --> <!-- dependencies -->
<dependency id="cordova-plugin-device" /> <dependency id="cordova-plugin-device" />
<dependency id="cordova-plugin-app-event" /> <!-- <dependency id="cordova-plugin-app-event" /> -->
<!-- js --> <!-- js -->
<js-module src="www/local-notification.js" name="LocalNotification"> <js-module src="www/local-notification.js" name="LocalNotification">
<clobbers target="cordova.plugins.notification.local" /> <clobbers target="cordova.plugins.notification.local" />
<clobbers target="plugin.notification.local" />
</js-module> </js-module>
<js-module src="www/local-notification-core.js" name="LocalNotification.Core"> <js-module src="www/local-notification-core.js" name="LocalNotification.Core">
...@@ -60,7 +59,7 @@ ...@@ -60,7 +59,7 @@
<header-file src="src/ios/APPLocalNotification.h" /> <header-file src="src/ios/APPLocalNotification.h" />
<source-file src="src/ios/APPLocalNotification.m" /> <source-file src="src/ios/APPLocalNotification.m" />
<header-file src="src/ios/APPLocalNotificationOptions.h" /> <!-- <header-file src="src/ios/APPLocalNotificationOptions.h" />
<source-file src="src/ios/APPLocalNotificationOptions.m" /> <source-file src="src/ios/APPLocalNotificationOptions.m" />
<header-file src="src/ios/UNUserNotificationCenter+APPLocalNotification.h" /> <header-file src="src/ios/UNUserNotificationCenter+APPLocalNotification.h" />
...@@ -70,21 +69,12 @@ ...@@ -70,21 +69,12 @@
<source-file src="src/ios/UNMutableNotificationContent+APPLocalNotification.m" /> <source-file src="src/ios/UNMutableNotificationContent+APPLocalNotification.m" />
<header-file src="src/ios/UNNotificationRequest+APPLocalNotification.h" /> <header-file src="src/ios/UNNotificationRequest+APPLocalNotification.h" />
<source-file src="src/ios/UNNotificationRequest+APPLocalNotification.m" /> <source-file src="src/ios/UNNotificationRequest+APPLocalNotification.m" /> -->
<header-file src="src/ios9/APPLocalNotificationOptions.ios9.h" />
<source-file src="src/ios9/APPLocalNotificationOptions.ios9.m" />
<header-file src="src/ios9/UIApplication+APPLocalNotification.ios9.h" />
<source-file src="src/ios9/UIApplication+APPLocalNotification.ios9.m" />
<header-file src="src/ios9/UILocalNotification+APPLocalNotification.ios9.h" />
<source-file src="src/ios9/UILocalNotification+APPLocalNotification.ios9.m" />
</platform> </platform>
<!-- android --> <!-- android -->
<platform name="android"> <!-- <platform name="android">
<framework src="com.android.support:support-v4:+" value="gradle" /> <framework src="com.android.support:support-v4:+" value="gradle" />
...@@ -205,10 +195,10 @@ ...@@ -205,10 +195,10 @@
src="src/android/notification/TriggerReceiver.java" src="src/android/notification/TriggerReceiver.java"
target-dir="src/de/appplant/cordova/plugin/notification" /> target-dir="src/de/appplant/cordova/plugin/notification" />
</platform> </platform> -->
<!-- windows --> <!-- windows -->
<platform name="windows"> <!-- <platform name="windows">
<config-file target="config.xml" parent="/*" > <config-file target="config.xml" parent="/*" >
<preference name="WindowsToastCapable" value="true" /> <preference name="WindowsToastCapable" value="true" />
...@@ -226,6 +216,6 @@ ...@@ -226,6 +216,6 @@
<merges target="" /> <merges target="" />
</js-module> </js-module>
</platform> </platform> -->
</plugin> </plugin>
/* /*
* Copyright (c) 2013-2015 by appPlant UG. All rights reserved. * Copyright (c) 2013 by appPlant GmbH. All rights reserved.
* *
* @APPPLANT_LICENSE_HEADER_START@ * @APPPLANT_LICENSE_HEADER_START@
* *
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
* @APPPLANT_LICENSE_HEADER_END@ * @APPPLANT_LICENSE_HEADER_END@
*/ */
#import <Foundation/Foundation.h>
#import <Cordova/CDVPlugin.h> #import <Cordova/CDVPlugin.h>
@import UserNotifications; @import UserNotifications;
...@@ -31,50 +30,50 @@ ...@@ -31,50 +30,50 @@
// Execute all queued events // Execute all queued events
- (void) deviceready:(CDVInvokedUrlCommand*)command; - (void) deviceready:(CDVInvokedUrlCommand*)command;
// Inform if the app has the permission to show notifications // Check permission to show notifications
- (void) hasPermission:(CDVInvokedUrlCommand*)command; - (void) check:(CDVInvokedUrlCommand*)command;
// Register permission to show notifications // Request permission to show notifications
- (void) registerPermission:(CDVInvokedUrlCommand*)command; - (void) request:(CDVInvokedUrlCommand*)command;
// Schedule set of notifications //// Schedule set of notifications
- (void) schedule:(CDVInvokedUrlCommand*)command; //- (void) schedule:(CDVInvokedUrlCommand*)command;
// Update set of notifications //// Update set of notifications
- (void) update:(CDVInvokedUrlCommand*)command; //- (void) update:(CDVInvokedUrlCommand*)command;
// Cancel set of notifications //// Cancel set of notifications
- (void) cancel:(CDVInvokedUrlCommand*)command; //- (void) cancel:(CDVInvokedUrlCommand*)command;
// Cancel all notifications //// Cancel all notifications
- (void) cancelAll:(CDVInvokedUrlCommand*)command; //- (void) cancelAll:(CDVInvokedUrlCommand*)command;
// Clear set of notifications //// Clear set of notifications
- (void) clear:(CDVInvokedUrlCommand*)command; //- (void) clear:(CDVInvokedUrlCommand*)command;
// Clear all notifications //// Clear all notifications
- (void) clearAll:(CDVInvokedUrlCommand*)command; //- (void) clearAll:(CDVInvokedUrlCommand*)command;
//
// If a notification with an ID is present //// If a notification with an ID is present
- (void) isPresent:(CDVInvokedUrlCommand*)command; //- (void) isPresent:(CDVInvokedUrlCommand*)command;
// If a notification with an ID is scheduled //// If a notification with an ID is scheduled
- (void) isScheduled:(CDVInvokedUrlCommand*)command; //- (void) isScheduled:(CDVInvokedUrlCommand*)command;
// If a notification with an ID is triggered //// If a notification with an ID is triggered
- (void) isTriggered:(CDVInvokedUrlCommand*)command; //- (void) isTriggered:(CDVInvokedUrlCommand*)command;
//
// List all ids from all local notifications //// List all ids from all local notifications
- (void) getAllIds:(CDVInvokedUrlCommand*)command; //- (void) getAllIds:(CDVInvokedUrlCommand*)command;
// List all ids from all pending notifications //// List all ids from all pending notifications
- (void) getScheduledIds:(CDVInvokedUrlCommand*)command; //- (void) getScheduledIds:(CDVInvokedUrlCommand*)command;
// List all ids from all triggered notifications //// List all ids from all triggered notifications
- (void) getTriggeredIds:(CDVInvokedUrlCommand*)command; //- (void) getTriggeredIds:(CDVInvokedUrlCommand*)command;
//
// Propertys for given local notification //// Propertys for given local notification
- (void) getSingle:(CDVInvokedUrlCommand*)command; //- (void) getSingle:(CDVInvokedUrlCommand*)command;
// Propertya for given scheduled notification //// Propertya for given scheduled notification
- (void) getSingleScheduled:(CDVInvokedUrlCommand*)command; //- (void) getSingleScheduled:(CDVInvokedUrlCommand*)command;
// Propertys for given triggered notification //// Propertys for given triggered notification
- (void) getSingleTriggered:(CDVInvokedUrlCommand*)command; //- (void) getSingleTriggered:(CDVInvokedUrlCommand*)command;
//
// Property list for given local notifications //// Property list for given local notifications
- (void) getAll:(CDVInvokedUrlCommand*)command; //- (void) getAll:(CDVInvokedUrlCommand*)command;
// Property list for given scheduled notifications //// Property list for given scheduled notifications
- (void) getScheduled:(CDVInvokedUrlCommand*)command; //- (void) getScheduled:(CDVInvokedUrlCommand*)command;
// Property list for given triggered notifications //// Property list for given triggered notifications
- (void) getTriggered:(CDVInvokedUrlCommand*)command; //- (void) getTriggered:(CDVInvokedUrlCommand*)command;
@end @end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment