Hi Andre Teixeira,
Not a solution but came up with some findings & approach that may solve your Issue:
1- Use the forge-component: https://www.outsystems.com/forge/component-overview/3079/edit-plist-file-plugin
Add a new config via the plugin, which will solve your issue for iOS.
<config-file parent="UIUserInterfaceStyle" platform="ios" target="*-Info.plist">
<string>Light</string>
</config-file>
or
2- Use the repo on mobile to detect the active-mode whether dark/light
https://www.npmjs.com/package/cordova-plugin-darkmode
And then populate your CSS accordingly using prefers-color-scheme
the media feature.
https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme
.day { background: #eee; color: black; }
.night { background: #333; color: white; }
@media (prefers-color-scheme: dark) {
.day.dark-scheme { background: #333; color: white; }
.night.dark-scheme { background: black; color: #ddd; }
}
@media (prefers-color-scheme: light) {
.day.light-scheme { background: white; color: #555; }
.night.light-scheme { background: #eee; color: black; }
}
Hope it helps,
Assif