mirror of
https://github.com/apache/cordova-plugin-statusbar.git
synced 2025-02-26 04:43:03 +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
plugin.xml
14
plugin.xml
@ -10,16 +10,16 @@
|
||||
<license>Apache 2.0</license>
|
||||
<keywords>cordova,statusbar</keywords>
|
||||
|
||||
<engines>
|
||||
<engine name="cordova" version=">=3.0.0" />
|
||||
</engines>
|
||||
|
||||
<js-module src="www/statusbar.js" name="statusbar">
|
||||
<clobbers target="window.StatusBar" />
|
||||
</js-module>
|
||||
<engines>
|
||||
<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>
|
||||
|
||||
<config-file target="config.xml" parent="/*">
|
||||
<feature name="StatusBar">
|
||||
<param name="ios-package" value="CDVStatusBar" onload="true" />
|
||||
|
Loading…
Reference in New Issue
Block a user