Skip to content

[pull] main from expo:main#837

Merged
pull[bot] merged 6 commits intocode:mainfrom
expo:main
May 6, 2026
Merged

[pull] main from expo:main#837
pull[bot] merged 6 commits intocode:mainfrom
expo:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 6, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

barthap and others added 6 commits May 6, 2026 09:50
# Why

Fix misleading error messages when using `File.create` for Android SAF URIs

Mentioned
[here](#41717 (comment))

# How

Moved the URI check to the top so it fails first with meaningful error

# Test Plan

Tried `File.create` for SAF URI
# Why

A follow-up to #45244. 

At the moment when no color is passed to the `Icon` it uses
`Color.Unspecified`. This is not aligned with jetpack-compose where the
default is `LocalContentColor` (see
#45244 (comment) for more
details)

# How

1. Add native `inheritTint` prop, which decides wether to use
`LocalContentColor` (true) or `Color.Unspecified` (false)
2. In JS API, when tintColor is:
   - defined - use the color
   - `undefined` - set `inheritTint` to `true`
   - `null` - set `inheritTint` to `false`

# Test Plan

Bare-expo

```tsx
<HorizontalFloatingToolbar
          colors={{
            toolbarContainerColor: '#1B5E20',
            toolbarContentColor: '#AAA',
            fabContainerColor: '#FFB300',
            fabContentColor: '#0000FF',
          }}
```

<img width="411" height="196" alt="Screenshot 2026-05-06 at 10 33 38"
src="https://github.com/user-attachments/assets/b6fd0ceb-3f53-4067-a160-7201d5f31515"
/>

```tsx
// Light
<DropdownMenuItem
                  elementColors={{
                    leadingIconColor: '#ff0000',
                    textColor: '#00ff00',
                    trailingIconColor: '#0000ff',
                  }}
....
// Disabled
<DropdownMenuItem
                  enabled={false}
                  elementColors={{
                    leadingIconColor: '#ff0000',
                    textColor: '#00ff00',
                    trailingIconColor: '#0000ff',
                    disabledLeadingIconColor: '#808080',
                    disabledTextColor: '#808080',
                    disabledTrailingIconColor: '#808080',
                  }}
```
<img width="273" height="332" alt="Screenshot 2026-05-06 at 10 32 40"
src="https://github.com/user-attachments/assets/acdbfdfd-fb9b-44d0-b628-99a67b613c97"
/>


# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
-->

- [ ] I added a `changelog.md` entry and rebuilt the package sources
according to [this short
guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)

---------

Co-authored-by: Expo Bot <34669131+expo-bot@users.noreply.github.com>
# Why

docs were missing

<!---->

# How

add docs

<!---->

# Test Plan

read the docs, test the samples

<!--
Please describe how you tested this change and how a reviewer could
reproduce your test, especially if this PR does not include automated
tests! If possible, please also provide terminal output and/or
screenshots demonstrating your test/reproduction.
-->

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
-->

- [ ] I added a `changelog.md` entry and rebuilt the package sources
according to [this short
guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)

---------

Co-authored-by: Aman Mittal <amandeepmittal@live.com>
@pull pull Bot locked and limited conversation to collaborators May 6, 2026
@pull pull Bot added the ⤵️ pull label May 6, 2026
@pull pull Bot merged commit f49f373 into code:main May 6, 2026
13 of 33 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants