Hi Phil!
For Felgo Apps, the status bar should be shown by default (statusBarStyleBlack), as described in our docs. The setting only applies to iOS and Android devices.
I just tested it on both iOS and Android and everything seems to work fine, on which device do you have this issue?
You can use the following code to test the status bar setting:
import Felgo 3.0
import QtQuick 2.5
App {
// initialize (not really necessary as statusBarStyleBlack is the default setting)
onInitTheme: {
Theme.colors.statusBarStyle = Theme.colors.statusBarStyleBlack
}
// debug output
Component.onCompleted: {
console.log("INITIAL STATUS BAR STYLE: "+Theme.statusBarStyle)
}
Connections {
target: Theme
onStatusBarStyleChanged: {
console.log("STATUS BAR STYLE: "+Theme.statusBarStyle)
console.log("STATUS BAR HEIGHT: "+Theme.statusBarHeight)
}
}
// simple app with button to switch the statusBarStyle
Navigation {
NavigationItem {
icon: IconType.home
title: "Home"
NavigationStack {
Page {
title: "Home"
AppButton {
text: "Show/Hide Statusbar"
onClicked: {
if(Theme.statusBarStyle !== Theme.colors.statusBarStyleHidden)
Theme.colors.statusBarStyle = Theme.colors.statusBarStyleHidden
else
Theme.colors.statusBarStyle = Theme.colors.statusBarStyleBlack
}
}
}
} // stack
} // nav item
} // nav
} // app
Best,
Günther