mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-11-26 01:04:55 +00:00
Remove Windows platcform from plugin.xml to allow install on cordova >9
This commit is contained in:
parent
0e95173de0
commit
3694ab729b
27
plugin.xml
27
plugin.xml
@ -24,7 +24,6 @@
|
||||
<engines>
|
||||
<engine name="cordova" version=">=3.0.0" />
|
||||
<engine name="android-sdk" version=">=16" />
|
||||
<engine name="windows-sdk" version=">=10.0.14393.0" />
|
||||
</engines>
|
||||
|
||||
<!-- js -->
|
||||
@ -92,32 +91,6 @@
|
||||
target-dir="src/de/appplant/cordova/plugin/background" />
|
||||
</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 -->
|
||||
<platform name="browser">
|
||||
<config-file target="config.xml" parent="/*">
|
||||
|
Loading…
Reference in New Issue
Block a user