Commit 451d2727 by Sebastián Katzer

Namespace geändernt

parent 1cfe5211
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="de.appplant.maintcall.cordova.plugin.local-notifications"
id="de.appplant.cordova.plugin.local-notifications"
version="0.0.1">
<name>LocalNotifications</name>
......@@ -21,7 +21,7 @@
<config-file target="config.xml" parent="/*">
<feature name="LocalNotofication">
<param name="ios-package" value="CDVLocalNotification"/>
<param name="ios-package" value="APPLocalNotification"/>
</feature>
</config-file>
......@@ -29,8 +29,8 @@
<clobbers target="plugin.notification.local" />
</js-module>
<header-file src="src/ios/CDVLocalNotification.h" />
<source-file src="src/ios/CDVLocalNotification.m" />
<header-file src="src/ios/APPLocalNotification.h" />
<source-file src="src/ios/APPLocalNotification.m" />
</platform>
......
/**
* CDVLocalNotification.h
* APPLocalNotification.h
* Cordova LocalNotification Plugin
*
* Created by Sebastian Katzer (github.com/katzer) on 10/08/2013.
......@@ -10,7 +10,7 @@
#import <Foundation/Foundation.h>
#import <Cordova/CDVPlugin.h>
@interface CDVLocalNotification : CDVPlugin {
@interface APPLocalNotification : CDVPlugin {
}
......@@ -24,7 +24,7 @@
@end
@interface CDVLocalNotification (Private)
@interface APPLocalNotification (Private)
- (NSMutableDictionary*) repeatDict;
- (NSMutableDictionary*) userDict:(NSMutableDictionary*)options;
......
/**
* CDVLocalNotification.h
* APPLocalNotification.m
* Cordova LocalNotification Plugin
*
* Created by Sebastian Katzer (github.com/katzer) on 10/08/2013.
......@@ -7,17 +7,17 @@
* GPL v2 licensed
*/
#import "CDVLocalNotification.h"
#import "APPLocalNotification.h"
@implementation CDVLocalNotification
@implementation APPLocalNotification
/**
* Fügt eine neue Notification-Eintrag hinzu.
*
* @param {NSMutableDictionary} options
*/
- (void) addNotification:(CDVInvokedUrlCommand*)command {
- (void) add:(CDVInvokedUrlCommand*)command {
NSArray *arguments = [command arguments];
NSMutableDictionary *options = [arguments objectAtIndex:0];
UILocalNotification *notification = [this prepareNotification:options];
......
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