cordova-plugin-theme-detection icon indicating copy to clipboard operation
cordova-plugin-theme-detection copied to clipboard

IOS 14.6 always return false

Open zaitsev1393 opened this issue 3 years ago • 1 comments

Hi, please help with this: i alway got 'theme isn't enabled' and 'false' usin iphone. I have this in my config.xml

<edit-config file="*-Info.plist" mode="merge" target="UIUserInterfaceStyle">
    <string>Light</string>
</edit-config>

but removing this doesn't change anything. XCode 12.5.1 and IOS 14.6, iPhone 7+. Dark theme is enabled on the phone for sure. Any ideas what can be wrong?

zaitsev1393 avatar Jun 28 '21 15:06 zaitsev1393

Maybe it's a long time to answer this, but I've also had this problem. The problem was that even after I've delete this property it was setted on cordova prepare ios command. I've need to remove platform ios and add it one more time and this plugin was working like a charm.

Cubaza avatar Feb 10 '23 06:02 Cubaza