mirror of
https://github.com/apache/cordova-plugin-statusbar.git
synced 2025-01-31 10:35:41 +08:00
Fix onload attribute within <feature> to be a <param>
This syntax worked on iOS, but not Android.
This commit is contained in:
parent
a96226a074
commit
3bc16d942b
@ -41,7 +41,8 @@
|
|||||||
|
|
||||||
<config-file target="res/xml/config.xml" parent="/*">
|
<config-file target="res/xml/config.xml" parent="/*">
|
||||||
<feature name="StatusBar">
|
<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>
|
</feature>
|
||||||
</config-file>
|
</config-file>
|
||||||
</platform>
|
</platform>
|
||||||
@ -51,7 +52,8 @@
|
|||||||
|
|
||||||
<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" />
|
||||||
|
<param name="onload" value="true" />
|
||||||
</feature>
|
</feature>
|
||||||
<preference name="StatusBarOverlaysWebView" value="true" />
|
<preference name="StatusBarOverlaysWebView" value="true" />
|
||||||
<preference name="StatusBarStyle" value="lightcontent" />
|
<preference name="StatusBarStyle" value="lightcontent" />
|
||||||
|
Loading…
Reference in New Issue
Block a user