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

feat: migrate to different namespace #87

Merged
merged 1 commit into from
Feb 5, 2021
Merged

feat: migrate to different namespace #87

merged 1 commit into from
Feb 5, 2021

Conversation

Naturalclar
Copy link
Member

Overview

part of react-native-community/discussions-and-proposals#330

moving this package to @react-native-clipboard/clipboard

Test Plan

@Naturalclar Naturalclar merged commit d2c0ae8 into master Feb 5, 2021
@Naturalclar Naturalclar deleted the namespace branch February 5, 2021 12:53
rajprakash00 added a commit to rajprakash00/zulip-mobile that referenced this pull request Feb 28, 2021
`Clipboard` in React Native core is deprecated [1]. Because of that warning
errors are shown in console to use `@react-native-community/clipboard`
which was recently migrated to `@react-native-clipboard/clipboard` [2].
So, use it.

Also,this library has built-in Flow support, so we don't need to make our
own libdef.

[1]: https://reactnative.dev/docs/clipboard
[2]: react-native-clipboard/clipboard#87

Signed-off-by: rajprakash00 <rajprakash1999@gmail.com>
rajprakash00 added a commit to rajprakash00/zulip-mobile that referenced this pull request May 7, 2021
`Clipboard` in React Native core is deprecated [1]. Because of that warning
errors are shown in console to use `@react-native-community/clipboard`
which was recently migrated to `@react-native-clipboard/clipboard` [2].
So, use it.

Also,this library has built-in Flow support, so we don't need to make our
own libdef.

[1]: https://reactnative.dev/docs/clipboard
[2]: react-native-clipboard/clipboard#87

Signed-off-by: rajprakash00 <rajprakash1999@gmail.com>
rajprakash00 added a commit to rajprakash00/zulip-mobile that referenced this pull request May 8, 2021
`Clipboard` in React Native core is deprecated [1]. Because of that warning
errors are shown(whenever we try the `copy to clipboard` option to copy any
message from message-view) in console to use`@react-native-community/clipboard`
which was recently migrated to `@react-native-clipboard/clipboard` [2].
So, use it.

Also,write our own custom libdef for this with proper definitions by taking
notes from `@react-native-clipboard/clipboard/dist/Clipboard.d.ts`.

[1]: https://reactnative.dev/docs/clipboard
[2]: react-native-clipboard/clipboard#87

Signed-off-by: rajprakash00 <rajprakash1999@gmail.com>
chrisbobbe added a commit to chrisbobbe/zulip-mobile that referenced this pull request Mar 10, 2022
`Clipboard` in RN core is deprecated; see warning at
  https://reactnative.dev/docs/clipboard

Reportedly [1], we've been getting console warnings that we should
use @react-native-community/clipboard instead of the RN-core module.
Do basically that, except we use its new name,
@react-native-clipboard/clipboard; see
  react-native-clipboard/clipboard#87

Put the types in a .js.flow file, rather than a libdef in
`flow-typed/`, inspired by Greg's commit 007dea3.

Supersedes: zulip#4502
Co-authored-by: rajprakash00 <rajprakash1999@gmail.com>
chrisbobbe added a commit to chrisbobbe/zulip-mobile that referenced this pull request Mar 29, 2022
`Clipboard` in RN core is deprecated; see warning at
  https://reactnative.dev/docs/clipboard

We've reportedly been getting console warnings that we should use
@react-native-community/clipboard instead of the RN-core module. Do
basically that, except we use its new name,
@react-native-clipboard/clipboard; see
  react-native-clipboard/clipboard#87

Put the types in a .js.flow file, rather than a libdef in
`flow-typed/`, inspired by Greg's commit 007dea3.

Supersedes: zulip#4502
Co-authored-by: rajprakash00 <rajprakash1999@gmail.com>
chrisbobbe added a commit to chrisbobbe/zulip-mobile that referenced this pull request Apr 5, 2022
`Clipboard` in RN core is deprecated; see warning at
  https://reactnative.dev/docs/clipboard

We've reportedly been getting console warnings that we should use
@react-native-community/clipboard instead of the RN-core module. Do
basically that, except we use its new name,
@react-native-clipboard/clipboard; see
  react-native-clipboard/clipboard#87

Put the types in a .js.flow file, rather than a libdef in
`flow-typed/`, inspired by Greg's commit 007dea3.

Supersedes: zulip#4502
Co-authored-by: rajprakash00 <rajprakash1999@gmail.com>
chrisbobbe added a commit to chrisbobbe/zulip-mobile that referenced this pull request Apr 5, 2022
`Clipboard` in RN core is deprecated; see warning at
  https://reactnative.dev/docs/clipboard

We've reportedly been getting console warnings that we should use
@react-native-community/clipboard instead of the RN-core module. Do
basically that, except we use its new name,
@react-native-clipboard/clipboard; see
  react-native-clipboard/clipboard#87

Put the types in a .js.flow file, rather than a libdef in
`flow-typed/`, inspired by Greg's commit 007dea3.

Supersedes: zulip#4502
Co-authored-by: rajprakash00 <rajprakash1999@gmail.com>
chrisbobbe added a commit to chrisbobbe/zulip-mobile that referenced this pull request Jan 26, 2023
`Clipboard` in RN core has been deprecated for a while, and in RN's
v0.71 doc they finally mark it "removed":
  https://reactnative.dev/docs/clipboard

We've reportedly (zulip#4502) been getting console warnings that we
should use @react-native-community/clipboard instead of the RN-core
module. Do basically that, except we use its new name,
@react-native-clipboard/clipboard; see
  react-native-clipboard/clipboard#87

Supersedes: zulip#4502
Co-authored-by: rajprakash00 <rajprakash1999@gmail.com>
gnprice pushed a commit to chrisbobbe/zulip-mobile that referenced this pull request Jan 26, 2023
`Clipboard` in RN core has been deprecated for a while, and in RN's
v0.71 doc they finally mark it "removed":
  https://reactnative.dev/docs/clipboard

We've reportedly (zulip#4502) been getting console warnings that we
should use @react-native-community/clipboard instead of the RN-core
module. Do basically that, except we use its new name,
@react-native-clipboard/clipboard; see
  react-native-clipboard/clipboard#87

Supersedes: zulip#4502
Co-authored-by: rajprakash00 <rajprakash1999@gmail.com>
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.

1 participant