-
Notifications
You must be signed in to change notification settings - Fork 72
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
Conversation
be0cbcc
to
ff99a96
Compare
There was a problem hiding this 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!
There was a problem hiding this 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. :(
bde6745
to
9574e03
Compare
There was a problem hiding this 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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this 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.
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 ofyarn add github:PSPDFKit/react-native
.Acceptance Criteria
package.json
,package-lock.json
, andsamples/Catalog/package.json
(see example commit: 1bf805f).