Skip to content

Text color not correct after splash screen #273

Open
@chack444

Description

@chack444

Bug Report

Problem

What is expected to happen?

When not in dark mode, after the splashscreen the status bar should show dark text (on light background)

What does actually happen?

The text is shown as white on white.

Information

We have tried a delay of 500ms as a workaround, which fixes the text color problem, but leads to a visible flickering. Setting <preference name="FadeSplashScreen" value="false"/> was meantioned as a workaround in this issue, but we can't use that either.

iOS doesn't have the problem.

Command or Code

window.StatusBar.backgroundColorByHexString("#fff"); window.StatusBar.styleDefault();

Environment, Platform, Device

Pixel 4a
Android 13

Version information

cordova 12.0.0
cordova-android 12.0.1

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions