Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo app: Clipboard behavior using deprecated API #461

Open
flochtililoch opened this issue Jul 17, 2022 · 0 comments · Fixed by #646
Open

Demo app: Clipboard behavior using deprecated API #461

flochtililoch opened this issue Jul 17, 2022 · 0 comments · Fixed by #646

Comments

@flochtililoch
Copy link
Collaborator

flochtililoch commented Jul 17, 2022

Still functional, but we should fix the warning by installing the community plugin.

Simulator Screen Shot - iPhone 13 mini - 2022-07-17 at 15 53 30
Simulator Screen Shot - iPhone 13 mini - 2022-07-17 at 15 53 33

bronislav added a commit that referenced this issue Aug 11, 2023
The `Clipboard` class has been extracted from the react-native core, and
the proper way to use it is through a package
`@react-native-clipboard/clipboard`.

- Add the required package to the peer and dev dependencies.
- Import the Clipboard object from the correct package.


Functional and no warning:


https://github.com/Instawork/hyperview/assets/125880/c8963eb4-a219-4c2e-ae39-a2692b21bfe0

Closes #461
@flochtililoch flochtililoch reopened this Aug 15, 2023
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 a pull request may close this issue.

1 participant