checkout / frames-ios

Frames iOS: making native card payments simple

Home Page:https://www.checkout.com/docs/integrate/sdks/ios-sdk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Text color in Text fields isn't updated after changing Light/Dark mode

UserArtem opened this issue · comments

primaryFontColor works well If you open screen initially either in dark/light mode. But if you change mode in already opened screen all text fields don't update theirs text color.

Hi @UserArtem , Thanks for the feedback. what is the SDK version?

Hi @ehab-al-cko Thanks for quick response the SDK version is 4.0.4 the latest I believe

Good morning @UserArtem ,
this open issue was discussed internally with the team

Dark/Light mode support is enabled on the application level by deciding to use different types of UI configurations based on the device userInterfaceStyle. However, as shared in our ReadMe:

Any customisation needs to be done before creating the ViewController. Once style is submitted to the factory, any changes done on it will not be reflected in the UI

In practice this means we do not currently support the change between interface styles while the screen is presented. It is a known shortcoming and may be included as a feature in the future. Hope this helps and please let us know if we can support further.

Hi @UserArtem,

Closing this issue now since it's not planned to be supported to respond to phone setting changes in real time in the near future. We'll be tracking this with our internal tools and hopefully support it at some point 🙂