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

Namespace geändernt

parent 1cfe5211
Loading
Loading
Loading
Loading
+4 −4
Changes for plugin.xml: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
<?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>

+3 −3
Changes for src/ios/APPLocalNotification.h: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
/**
 *  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;
+4 −4
Changes for src/ios/APPLocalNotification.m: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
/**
 *  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];