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

Update Integration Steps to use CocoaPods by default starting with React Native 0.60.x #257

Merged
merged 9 commits into from
Jul 18, 2019

Conversation

radazzouz
Copy link
Contributor

@radazzouz radazzouz commented Jul 16, 2019

Details

React Native 0.60 uses CocoaPods by default. This PR updates the main integration steps to use CocoaPods and to no longer use the manual integration. This PR also removes the old optional CocoaPods integration and the screenshots that are no longer needed.

How to Test

Follow the new integration steps. For step 4, use yarn add https://github.com/PSPDFKit/react-native.git#rad/cocoapods-integration instead of yarn add github:PSPDFKit/react-native.

Acceptance Criteria

  • The new default CocoaPods integration works.
  • This PR does not impact Android and Windows.
  • When approved, right before merging, rebase with master and increment the package version in package.json, package-lock.json, and samples/Catalog/package.json (see example commit: 1bf805f).
  • Create a new release (and tag) with the new package version (see https://github.com/PSPDFKit/react-native/releases).

@radazzouz radazzouz force-pushed the rad/cocoapods-integration branch from be0cbcc to ff99a96 Compare July 16, 2019 15:07
Copy link
Contributor

@steipete steipete left a comment

Choose a reason for hiding this comment

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

changes are lgtm, nice simplification!

Copy link
Contributor

@nickwinder nickwinder left a comment

Choose a reason for hiding this comment

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

Still no effect on Windows. :(

@radazzouz radazzouz force-pushed the rad/cocoapods-integration branch from bde6745 to 9574e03 Compare July 16, 2019 19:31
Copy link
Contributor

@irgendeinich irgendeinich left a comment

Choose a reason for hiding this comment

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

Doesn't affect Android.

- PSPDFKit 8.4.0 for iOS or later
- react-native >= 0.59.9
- PSPDFKit 8.4.2 for iOS or later
- react-native >= 0.60.3
Copy link
Contributor

Choose a reason for hiding this comment

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

So we don't support 0.59.9 at all anymore? We should rather write down all supported versions and mention these steps are for setting it up with 0.60.3

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think the README should have the instructions for the latest version of React Native, as most people, when they try out our wrapper, will create a new app, and they'll be using the latest version of React Native.

If someone needs to use 0.59.9, we could always access the old instructions in the git history.

Copy link
Contributor

@steviki steviki left a comment

Choose a reason for hiding this comment

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

LGTM!
Tried integrating it in a new project, and everything worked fine.

@radazzouz radazzouz merged commit 0fb1fce into master Jul 18, 2019
@radazzouz radazzouz deleted the rad/cocoapods-integration branch July 18, 2019 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants