I am working on a SwiftUI iOS app. Building with the latest SDK (Xcode 15.4) to run on iOS 16 and above. We set our App’s accent color using the Global Accent Color Name build setting. As soon as I include the Intercom Package via SPM our accent color is changed to the default blue. Why is Intercom changing the accent color?
Intercom changing SwiftUI app's accent color?
Best answer by Ebenezer.Laleye
Hi
I see you were able to get in touch with my colleague Bernice and get an answer concerning this.
Our R&D team is working on a fix for this and will hopefully have one soon
I’ll re-share the explanation and workaround that was sent.
It appears that the accent color for mobile is controlled separately from the web settings, which is why you're seeing a different color on your iOS app. To change the accent color for mobile, you can adjust the settings in the Intercom mobile SDK styling section. You can find this option here: Intercom mobile SDK styling.
Additionally, if you are using SwiftUI and encountering issues with the accent color, there is a known bug at the moment and a temporary workaround is in place to set the color programmatically using the .tint(_:)
ViewModifier.
Reply
Join the Intercom Community 🎉
Already have an account? Login
Login to the community
No account yet? Create an account
Intercom Customers and Employees
Log in with SSOEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.