mirror of
https://github.com/apache/cordova-plugin-statusbar.git
synced 2025-04-22 05:36:22 +08:00
statusbar - Load JS on iOS only
Fixes unknown exec() on startup for other platforms
This commit is contained in:
parent
0ab29280dd
commit
ebe7939402
@ -14,12 +14,12 @@
|
||||
<engine name="cordova" version=">=3.0.0" />
|
||||
</engines>
|
||||
|
||||
<!-- ios -->
|
||||
<platform name="ios">
|
||||
<js-module src="www/statusbar.js" name="statusbar">
|
||||
<clobbers target="window.StatusBar" />
|
||||
</js-module>
|
||||
|
||||
<!-- ios -->
|
||||
<platform name="ios">
|
||||
<config-file target="config.xml" parent="/*">
|
||||
<feature name="StatusBar">
|
||||
<param name="ios-package" value="CDVStatusBar" onload="true" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user