Skip to content

[pull] main from expo:main#634

Merged
pull[bot] merged 4 commits intocode:mainfrom
expo:main
Feb 27, 2026
Merged

[pull] main from expo:main#634
pull[bot] merged 4 commits intocode:mainfrom
expo:main

Conversation

@pull
Copy link

@pull pull bot commented Feb 27, 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 : )

brentvatne and others added 4 commits February 26, 2026 20:14
# Why

Similar to #41739, the `Clipboard.setString()` has been deprecated for a long time.

# How

Removed the function and corresponding tests.
On web, left the legacy behavior fallback as a private API _(we should keep it there because of #17337 (comment) on Safari)_.

# Test Plan

- Test Suite
- Unit tests
- NCL

# Checklist

- [x] 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)
# Why

Makes it easier to migrate functions taking `Data` / `ByteArray` as
arguments into `ArrayBuffer`-like arguments without breaking changes.

# How

When a function expects `NativeArrayBuffer` or `JavaScriptArrayBuffer`
argument, but e.g. `Uint8Array` is passed instead, access its `buffer`
property instead of throwing.
This also supports partial views, when a typed array is only a view over
a subrange of its backing buffer - a copy is performed in such cases
(parity with `Uint8Array` convertible)

# Test Plan

- Unit tests
- Manual testing

# Checklist

- [x] 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)
… smart album (#43459)

# Why

iOS gives us the ability to add or remove assets from the system
Favorites smart album through
[PHAssetChangeRequest](https://developer.apple.com/documentation/photos/phassetchangerequest/isfavorite),
but `expo-media-library` does not implement this. We patched the library
for our own use. Opening this PR in case someone else needs this feature
too.

# How

`setAssetFavoriteAsync` takes an asset and a boolean flag. When `true`,
it adds the asset to the system "Favorites" smart album; when `false`,
it removes it. It returns a boolean indicating whether the operation
succeeded.

# Test Plan

Tested on iOS using the Media Library screen in the `bare-expo` example
app.

Attaching a screen recording of the feature.



https://github.com/user-attachments/assets/aec8515e-f87b-4b9b-a4a7-d6d8164b5315



# Checklist

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

- [x] 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)
@pull pull bot locked and limited conversation to collaborators Feb 27, 2026
@pull pull bot added the ⤵️ pull label Feb 27, 2026
@pull pull bot merged commit edde0c4 into code:main Feb 27, 2026
16 of 18 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.

3 participants