1
resposta

Statusbar Android 5.1.1

Bom dia!

Quando rodo o garconapp, a statusbar fica sobreposta pelo aplicativo.

<?xml version='1.0' encoding='utf-8'?>
<widget id="drinformatica.garconapp" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
    <name>Garçonete Só de Cenoura</name>
    <description>
        App para uso das garçonetes dentro do restaurante.
    </description>
    <author email="drinformatica.clicksul@gmail.com" href="http://clicksul.com.br">
        Dr Informática Team
    </author>
    <access origin="http://cozinhapp.sergiolopes.org" />
    <preference name="Orientation" value="portrait" />
    <preference name="Fullscreen" value="true" />
    <preference name="BackgroundColor" value="0xF2F2F2FF" />
    <preference name="SplashScreen" value="screen" />
    <preference name="SplashScreenDelay" value="3000" />
    <preference name="DisallowOverscroll" value="true" />
    <platform name="android">
        <icon density="ldpi" src="resources\android\icon\drawable-ldpi-icon.png" />
        <icon density="mdpi" src="resources\android\icon\drawable-mdpi-icon.png" />
        <icon density="hdpi" src="resources\android\icon\drawable-hdpi-icon.png" />
        <icon density="xhdpi" src="resources\android\icon\drawable-xhdpi-icon.png" />
        <icon density="xxhdpi" src="resources\android\icon\drawable-xxhdpi-icon.png" />
        <icon density="xxxhdpi" src="resources\android\icon\drawable-xxxhdpi-icon.png" />
        <splash density="port-ldpi" src="resources\android\splash\drawable-port-ldpi-screen.png" />
        <splash density="port-mdpi" src="resources\android\splash\drawable-port-mdpi-screen.png" />
        <splash density="port-hdpi" src="resources\android\splash\drawable-port-hdpi-screen.png" />
        <splash density="port-xhdpi" src="resources\android\splash\drawable-port-xhdpi-screen.png" />
        <splash density="port-xxhdpi" src="resources\android\splash\drawable-port-xxhdpi-screen.png" />
        <splash density="port-xxxhdpi" src="resources\android\splash\drawable-port-xxxhdpi-screen.png" />
    </platform>
    <icon src="resources\android\icon\drawable-xhdpi-icon.png" />
    <plugin name="phonegap-plugin-barcodescanner" spec="~6.0.6" />
    <platform name="android">
        <preference name="StatusBarBackgroundColor" value="#E86C13" />
    </platform>
    <platform name="ios">
        <preference name="StatusBarOverlaysWebView" value="false" />
        <preference name="StatusBarBackgroundColor" value="#E86C13" />
    </platform>
    <plugin name="cordova-plugin-splashscreen" spec="~4.0.2" />
</widget>
1 resposta

André, boa noite!

Não entendi bem qual é o problema, pode enviar um print?

Mas olhando o seu arquivo, vi que não está listado o plugin de statusbar, talvez por isso esteja com problema.

Adicione esta linha, logo abaixo de onde tem o barcodescanner:

<plugin name="cordova-plugin-statusbar" spec="~2.2.2" />

Tente compilar novamente.