Skip to content

[clipboard] Remove deprecated setString()#41758

Merged
barthap merged 2 commits intomainfrom
@barthap/clipboard/deprecate-setstring
Feb 27, 2026
Merged

[clipboard] Remove deprecated setString()#41758
barthap merged 2 commits intomainfrom
@barthap/clipboard/deprecate-setstring

Conversation

@barthap
Copy link
Copy Markdown
Contributor

@barthap barthap commented Dec 19, 2025

Why

Similiar 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

Copy link
Copy Markdown
Contributor Author

barthap commented Dec 19, 2025

@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Dec 19, 2025
@barthap barthap force-pushed the @barthap/clipboard/deprecate-setstring branch from 0be11b8 to 9ad1f5e Compare December 19, 2025 12:34
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Dec 19, 2025
@barthap barthap marked this pull request as ready for review December 20, 2025 09:20
@barthap barthap requested a review from behenate December 20, 2025 09:20
@github-actions
Copy link
Copy Markdown
Contributor

Subscribed to pull request

File Patterns Mentions
packages/expo-clipboard/** @behenate

Generated by CodeMention

@barthap barthap changed the base branch from @barthap/clipboard/add-types to graphite-base/41758 December 23, 2025 15:52
@barthap barthap force-pushed the graphite-base/41758 branch from c81f4cf to 4760eef Compare December 23, 2025 15:54
@barthap barthap force-pushed the @barthap/clipboard/deprecate-setstring branch from 9ad1f5e to b720af4 Compare December 23, 2025 15:54
@graphite-app graphite-app Bot changed the base branch from graphite-base/41758 to main December 23, 2025 15:55
@barthap barthap force-pushed the @barthap/clipboard/deprecate-setstring branch from b720af4 to 718f7d4 Compare December 23, 2025 15:55
@barthap barthap force-pushed the @barthap/clipboard/deprecate-setstring branch from 718f7d4 to cba6832 Compare February 27, 2026 08:20
@barthap barthap merged commit 9a4d737 into main Feb 27, 2026
12 checks passed
@barthap barthap deleted the @barthap/clipboard/deprecate-setstring branch February 27, 2026 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot: fingerprint compatible bot: passed checks ExpoBot has nothing to complain about

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants