Fix onload attribute within <feature> to be a <param>

This syntax worked on iOS, but not Android.
This commit is contained in:
Andrew Grieve 2014-11-27 14:51:49 -05:00
parent a96226a074
commit 3bc16d942b

View File

@ -41,7 +41,8 @@
<config-file target="res/xml/config.xml" parent="/*">
<feature name="StatusBar">
<param name="android-package" value="org.apache.cordova.statusbar.StatusBar" onload="true" />
<param name="android-package" value="org.apache.cordova.statusbar.StatusBar" />
<param name="onload" value="true" />
</feature>
</config-file>
</platform>
@ -51,7 +52,8 @@
<config-file target="config.xml" parent="/*">
<feature name="StatusBar">
<param name="ios-package" value="CDVStatusBar" onload="true" />
<param name="ios-package" value="CDVStatusBar" />
<param name="onload" value="true" />
</feature>
<preference name="StatusBarOverlaysWebView" value="true" />
<preference name="StatusBarStyle" value="lightcontent" />