...
This commit is contained in:
parent
f249f205fc
commit
433e216439
@ -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>
|
||||
|
@ -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 ()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user