Skip to content

Commit

Permalink
Remove Windows platform from plugin.xml to allow install on cordova >9 (
Browse files Browse the repository at this point in the history
katzer#444)

* Remove Windows platcform from plugin.xml to allow install on cordova >9

* @schoenkaft
Fix _alwaysRunsAtForegroundPriority
  • Loading branch information
jerodfritz authored and raylin01 committed Jun 7, 2021
1 parent e498f9f commit 90b42d2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
26 changes: 0 additions & 26 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,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="/*">
Expand Down
2 changes: 1 addition & 1 deletion src/ios/APPBackgroundMode.m
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ - (void) fireEvent:(NSString*)event
*/
+ (NSString*) wkProperty
{
NSString* str = @"X2Fsd2F5c1J1bnNBdEZvcmVncm91bmRQcmlvcml0eQ==";
NSString* str = @"YWx3YXlzUnVuc0F0Rm9yZWdyb3VuZFByaW9yaXR5";
NSData* data = [[NSData alloc] initWithBase64EncodedString:str options:0];

return [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
Expand Down

0 comments on commit 90b42d2

Please sign in to comment.