mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-11-26 09:14:54 +00:00
Merge pull request #1 from centogram/master
Remove Windows platcform from plugin.xml to allow install on cordova >9
This commit is contained in:
commit
7bef96c9e7
27
plugin.xml
27
plugin.xml
@ -24,7 +24,6 @@
|
|||||||
<engines>
|
<engines>
|
||||||
<engine name="cordova" version=">=3.0.0" />
|
<engine name="cordova" version=">=3.0.0" />
|
||||||
<engine name="android-sdk" version=">=16" />
|
<engine name="android-sdk" version=">=16" />
|
||||||
<engine name="windows-sdk" version=">=10.0.14393.0" />
|
|
||||||
</engines>
|
</engines>
|
||||||
|
|
||||||
<!-- js -->
|
<!-- js -->
|
||||||
@ -99,32 +98,6 @@
|
|||||||
<resource-file src="src/android/res/drawable-xxhdpi/power.png" target="res/drawable-xxhdpi/power.png" />
|
<resource-file src="src/android/res/drawable-xxhdpi/power.png" target="res/drawable-xxhdpi/power.png" />
|
||||||
</platform>
|
</platform>
|
||||||
|
|
||||||
<!-- windows
|
|
||||||
<platform name="windows">
|
|
||||||
<config-file target="config.xml" parent="/*">
|
|
||||||
<feature name="BackgroundMode" >
|
|
||||||
<param name="windows-package" value="BackgroundMode"/>
|
|
||||||
</feature>
|
|
||||||
</config-file>
|
|
||||||
|
|
||||||
<config-file target="package.appxmanifest" parent="/Package/Capabilities" device-target="windows">
|
|
||||||
<Capability Name="backgroundMediaPlayback" />
|
|
||||||
</config-file>
|
|
||||||
|
|
||||||
<config-file target="config.xml" parent="/*">
|
|
||||||
<preference name="windows-target-version" value="UAP" />
|
|
||||||
<preference name="uap-target-min-version" value="10.0.14393.0" />
|
|
||||||
<preference name="Windows.Universal-MinVersion" value="10.0.14393.0" />
|
|
||||||
<preference name="Windows.Universal" value="10.0.14393.0" />
|
|
||||||
</config-file>
|
|
||||||
|
|
||||||
<resource-file src="appbeep.wma" target="appbeep.wma" />
|
|
||||||
|
|
||||||
<js-module src="src/windows/BackgroundModeProxy.js" name="BackgroundMode.Proxy">
|
|
||||||
<runs />
|
|
||||||
</js-module>
|
|
||||||
</platform> -->
|
|
||||||
|
|
||||||
<!-- browser -->
|
<!-- browser -->
|
||||||
<platform name="browser">
|
<platform name="browser">
|
||||||
<config-file target="config.xml" parent="/*">
|
<config-file target="config.xml" parent="/*">
|
||||||
|
Loading…
Reference in New Issue
Block a user