apache / apache/cordova-ios

Upper phone bar showing battery and phone signal not visible using dark mode in iphone 8

Open
#980 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.2k
Forks
1k
Avg merge
12h 11m
Merged PRs (30d)
18

Description

# Bug Report

When using iPhone 8 with dark mode - on a real device or an emulator - the upper status bar is not visible due to having white font color and not changing it to black.

## Problem

Status bar check not visible, background should be black and text white

### What is expected to happen?

Text is visible

### What does actually happen?

The upper white bar appears with no readable text because there is no contrast.

## Information
Steps to reproduce:
- Set dark mode on ios config
- Open cordova ios app
- Observe upper white bar
- Set dark mode off
- Repeat steps

### Screenshot
![image](https://user-images.githubusercontent.com/18119352/91793676-3c52ec80-ebef-11ea-8509-547b91f38fc9.png)

### Environment, Platform, Device
iPhone 8 13.6

### Version information

- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start by reproducing the issue on an iPhone 8 or emulator with iOS dark mode enabled, then trace cordova-ios status-bar handling; done means the battery and signal text is readable in both dark and light modes.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, javascript, objective-c
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.