Skip to content

Conversation

@tomekzaw
Copy link
Contributor

@tomekzaw tomekzaw commented May 11, 2025

Overview

This PR fixes an initialization error on Android while using @react-native-clipboard/clipboard in a React Native 0.80.0-rc.0 app. See https://github.com/facebook/react-native/blob/77c1eb615400c07fd2a7d7f4a47dd87cef1c8743/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactInstance.kt#L544-L545. Note that addAll method requires the argument to be non-null.

Test Plan

@tomekzaw
Copy link
Contributor Author

@krozniata friendly bump plz review 🙏

@krozniata
Copy link

@tomekzaw works fine for me 🙏

@Naturalclar can we get this merged? 👀

@Naturalclar
Copy link
Member

Thank you! Will merge and publish soon

@StanislavMayorov
Copy link

Hi @Naturalclar.

Thank you for your continued work on this library. Could you release a new version with fix for compatibility with RN 0.80.0 please? This fix is quite important for the community as many developers are upgrading to RN 0.80.0. facebook/react-native#52014

@Naturalclar Naturalclar merged commit 95b0af0 into react-native-clipboard:master Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants