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

Initial start with WP8 support

parent 550ce3cd
Loading
Loading
Loading
Loading
+11 −4
Changes for plugin.xml: 11 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
        xmlns:android="http://schemas.android.com/apk/res/android"
        id="de.appplant.cordova.plugin.local-notifications"
        version="0.4.0">
        version="0.6.0dev">

    <name>LocalNotifications</name>

@@ -23,7 +23,6 @@

    <!-- ios -->
    <platform name="ios">

        <config-file target="config.xml" parent="/*">
            <feature name="LocalNotification">
                <param name="ios-package" value="APPLocalNotification"/>
@@ -32,12 +31,10 @@

        <header-file src="src/ios/APPLocalNotification.h" />
        <source-file src="src/ios/APPLocalNotification.m" />

    </platform>

    <!-- android -->
    <platform name="android">

        <config-file target="res/xml/config.xml" parent="/*">
            <feature name="LocalNotification">
                <param name="android-package" value="de.appplant.cordova.plugin.LocalNotification"/>
@@ -73,7 +70,17 @@
        <source-file src="src/android/LocalNotificationOptions.java" target-dir="src/de/appplant/cordova/plugin" />
        <source-file src="src/android/LocalNotificationRestore.java" target-dir="src/de/appplant/cordova/plugin" />
        <source-file src="src/android/LocalNotification.java" target-dir="src/de/appplant/cordova/plugin" />
    </platform>

    <!-- wp8 -->
    <platform name="wp8">
        <config-file target="config.xml" parent="/*">
            <feature name="LocalNotification">
                <param name="wp-package" value="LocalNotification"/>
            </feature>
        </config-file>

        <source-file src="src/wp8/LocalNotification.cs" />
    </platform>

</plugin>
+25 −0
Changes for src/wp8/LocalNotification.cs: 25 added lines, 0 removed lines.
Original line number Diff line number Diff line
/**
 *  LocalNotification.cs
 *  Cordova LocalNotification Plugin
 *
 *  Created by Sebastian Katzer (github.com/katzer) on 07/10/2013.
 *  Copyright 2013 Sebastian Katzer. All rights reserved.
 *  GPL v2 licensed
 */

using System;
using System.Linq;

using Microsoft.Phone.Shell;

using WPCordovaClassLib.Cordova;
using WPCordovaClassLib.Cordova.Commands;
using WPCordovaClassLib.Cordova.JSON;

namespace Cordova.Extension.Commands
{
    public class LocalNotification : BaseCommand
    {

    }
}