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

[Lean Core] Remove SnapshotViewIOS from public interface #23497

Closed

Conversation

jdmunro
Copy link
Contributor

@jdmunro jdmunro commented Feb 17, 2019

Summary

Part of Lean Core #23313

Removes SnapshotViewIOS from the public RN interface.

I think there's a wider discussion to be had here about whether RCTTest should be part of the public distribution or at least whether this should be split into a separate utils package. It's mainly used by the RNTester app. It seems to be little known about but there are some references to it online.

Changelog

[iOS] [Removed] - SnapshotViewIOS is no longer publicly exported from RN

Test Plan

  • The RNTester app still works
  • SnapshotViewIOS can no longer be imported from the public exports

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 17, 2019
Copy link
Contributor

@cpojer cpojer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Let's see what I have to do to patch it up internally.

@facebook-github-bot facebook-github-bot added the Import Started This pull request has been imported. This does not imply the PR has been approved. label Feb 18, 2019
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cpojer is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@react-native-bot
Copy link
Collaborator

@jdmunro merged commit 794da6a into facebook:master.

@facebook facebook locked as resolved and limited conversation to collaborators Feb 18, 2019
@react-native-bot react-native-bot added the Merged This PR has been merged. label Feb 18, 2019
@jdmunro jdmunro deleted the leancore/remove-snapshot-ios branch February 18, 2019 12:53
ericlewis pushed a commit to ericlewis/react-native that referenced this pull request Feb 20, 2019
Summary:
Part of Lean Core facebook#23313

Removes `SnapshotViewIOS` from the public RN interface.

I think there's a wider discussion to be had here about whether `RCTTest` should be part of the public distribution or at least whether this should be split into a separate utils package. It's mainly used by the RNTester app. It seems to be little known about but there are [some references to it online](https://blog.callstack.io/testing-your-react-native-apps-abfe41903dfd).

[iOS] [Removed] - `SnapshotViewIOS` is no longer publicly exported from RN
Pull Request resolved: facebook#23497

Differential Revision: D14123280

Pulled By: cpojer

fbshipit-source-id: badaf6cb5d2195268f0f8b429fc11d6525747708
@hramos hramos removed Import Started This pull request has been imported. This does not imply the PR has been approved. labels Feb 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Component: SnapshotViewIOS Merged This PR has been merged. Platform: iOS iOS applications.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants