This commit is contained in:
Sebastián Katzer 2013-10-08 17:59:20 +02:00
parent f249f205fc
commit 433e216439
2 changed files with 28 additions and 6 deletions

View File

@ -59,7 +59,7 @@
<platform name="wp8">
<config-file target="config.xml" parent="/*">
<feature name="BackgroundMode">
<param name="wp-package" value="BackgroundMode"/>
<param name="wp-package" value="APPPlant.Cordova.Plugin.BackgroundMode"/>
<!-- Needs to be initialiced onload since the plugin has no callable js interface -->
<param name="onload" value="true" />
</feature>
@ -76,11 +76,6 @@
<Capability Name="ID_CAP_LOCATION" />
</config-file>
<!-- <config-file target="App.xaml" parent="/Application/Application.ApplicationLifetimeObjects">
<shell:PhoneApplicationService
RunningInBackground="Application_RunningInBackground"/>
</config-file> -->
<source-file src="src/wp8/BackgroundMode.cs" />
</platform>
</plugin>

View File

@ -0,0 +1,27 @@
/**
* BackgroundMode.cs
* Cordova Background-Mode Plugin
*
* Created by Sebastian Katzer (github.com/katzer) on 08/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;
namespace APPPlant.Cordova.Plugin
{
public class BackgroundMode : BaseCommand
{
public BackgroundMode ()
{
}
}
}