[ios][maps] Adds user interface style option for Apple Maps#42199
[ios][maps] Adds user interface style option for Apple Maps#42199intergalacticspacehighway merged 2 commits intoexpo:mainfrom
Conversation
|
Subscribed to pull request
Generated by CodeMention |
9ccdbc4 to
bf2f254
Compare
bf2f254 to
bb3e747
Compare
|
I don't know who exactly is in charge of |
|
@huextrat Thanks for the PR! can you try using
|
@intergalacticspacehighway thanks for the feedback and yep it's much simpler! It didn't work when I first tested it, but after testing it again with SDK 55, everything seems to be working. PR is up to date 👍 |
intergalacticspacehighway
left a comment
There was a problem hiding this comment.
Thanks for the changes. LGTM!


Why
This PR adds the ability to control the Apple Maps appearance (light/dark mode) independently from the app's color scheme.
Currently, the map follows the system/app appearance automatically. However, there are use cases where developers want to force a specific appearance for the map regardless of the app's theme - for example, displaying a light map in a dark-themed app for better visibility, or vice versa.
This addresses a common request for more granular control over map styling.
How
Added a new
colorSchemeprop toAppleMaps.Viewwith three options:AUTOMATIC(default) - Map follows the system's color schemeLIGHT- Map is always displayed in light modeDARK- Map is always displayed in dark modeTest Plan
userInterfaceStyleprop to anAppleMaps.View:Test each value:
AUTOMATIC- Map should follow app appearanceLIGHT- Map should always be light, even when app/system is in dark modeDARK- Map should always be dark, even when app/system is in light modeVerify that the rest of the app's UI is not affected by the map's
colorSchemesetting.Checklist
changelog.mdentry and rebuilt the package sources according to this short guidenpx expo prebuild& EAS Build (eg: updated a module plugin).