mirror of
https://github.com/apache/cordova-plugin-statusbar.git
synced 2025-02-26 12:52:50 +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" />
|
<engine name="cordova" version=">=3.0.0" />
|
||||||
</engines>
|
</engines>
|
||||||
|
|
||||||
|
<!-- ios -->
|
||||||
|
<platform name="ios">
|
||||||
<js-module src="www/statusbar.js" name="statusbar">
|
<js-module src="www/statusbar.js" name="statusbar">
|
||||||
<clobbers target="window.StatusBar" />
|
<clobbers target="window.StatusBar" />
|
||||||
</js-module>
|
</js-module>
|
||||||
|
|
||||||
<!-- ios -->
|
|
||||||
<platform name="ios">
|
|
||||||
<config-file target="config.xml" parent="/*">
|
<config-file target="config.xml" parent="/*">
|
||||||
<feature name="StatusBar">
|
<feature name="StatusBar">
|
||||||
<param name="ios-package" value="CDVStatusBar" onload="true" />
|
<param name="ios-package" value="CDVStatusBar" onload="true" />
|
||||||
|
Loading…
Reference in New Issue
Block a user