mirror of
https://github.com/apache/cordova-plugin-statusbar.git
synced 2025-01-19 01:12:49 +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="/*">
|
||||
<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" />
|
||||
|
Loading…
Reference in New Issue
Block a user