I have different android and iOS apps on their respective app stores made with Ionic + Angular + Capacitor, and all of a sudden two of our android apps which were previously functioning fine are showing changes in colors across multiple devices without any update or release.
App 1
Version 2.1 - Release on Google Play store
Background is dark, when I haven’t provided any dark mode
Ionic CLI : 6.17.1 (C:\nvm\v14.17.3\node_modules@ionic\cli)
Ionic Framework : @ionic /angular 6.0.0-beta.5
@angular-devkit /build-angular : 12.1.4
@angular-devkit /schematics : 12.2.4
@angular /cli : 12.1.4
@ionic /angular-toolkit : 4.0.0
@capacitor /android : 3.2.4
@capacitor /core : 3.2.1
@capacitor /ios : 3.2.4
App 2
Version 3.1 - Development
Custom Secondary color - a shade of orange is now blue
All Texts have turned white
Ionic CLI : 6.17.1 (C:\nvm\v14.17.3\node_modules@ionic\cli)
Ionic Framework : @ionic /angular 6.0.0-rc.2
@angular-devkit /build-angular : 12.2.11
@angular-devkit /schematics : 12.2.11
@angular /cli : 12.2.11
@ionic /angular-toolkit : 4.0.0
Capacitor CLI : 3.3.1
@capacitor /android : 3.3.1
@capacitor /core : 3.3.1
@capacitor /ios : 3.3.1
umfi
February 16, 2022, 2:21pm
2
Have a look here. There is probably a problem with the latest webview. There is no solution yet, only a workaround.
opened 11:51AM - 11 Feb 22 UTC
triage
### Prerequisites
- [X] I have read the [Contributing Guidelines](https://git… hub.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#creating-an-issue).
- [X] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [X] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.
### Ionic Framework Version
- [ ] v4.x
- [X] v5.x
- [ ] v6.x
### Current Behavior
Xiaomi phones all of a sudden force Dark Mode on my Ionic Apps. Background color of the app has changed from white to black, the text from black to white. Also some buttons with CSS classes='primary' have now changed color. Dark mode in my phone is not active.
This happened for the first time on February 10th, 2022. Till this day, my Ionic apps on Xiaomi phones were running perfectly fine.
Do you have any idea how can I solve this issue?
**Edit:** now I have this problem on all Android phones (Samsung, Xiaomi, etc).
### Expected Behavior
My app must have Light mode. Dark mode must not be forced.
### Steps to Reproduce
I have noticed the same behaviour only in Xiaomi phones.
### Code Reproduction URL
_No response_
### Ionic Info
Ionic:
Ionic CLI : 6.13.1
Ionic Framework : @ionic/react 5.6.0
Capacitor:
Capacitor CLI : 3.0.0
@capacitor/core : 3.0.0
Utility:
cordova-res : not installed
native-run : 1.3.0
System:
NodeJS : v14.17.0 (C:\Program Files (x86)\nodejs\node.exe)
npm : 6.14.13
OS : Windows 10
### Additional Information
Android version: 11