-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Upgrade react-native-video and drop jetifier on Android #38426
Conversation
Size Change: +5.71 kB (+1%) Total Size: 1.15 MB
ℹ️ View Unchanged
|
I'm going to keep this a draft until we update the react-native-video dependency to not reference a git commit hash, which we can do once wordpress-mobile/react-native-video#15 is merged). |
b234d72
to
b094190
Compare
b094190
to
9097bd6
Compare
package-lock.json
Outdated
"version": "https://raw.githubusercontent.com/wordpress-mobile/react-native-video/5.0.2-wp-2/react-native-video-5.0.2-wp-2.tgz", | ||
"integrity": "sha512-JcZKEFDbje8MNEd1sEO5eQDrF7/BUaYMskI2G7rTXd0EwOPGx9rHOdx0uAmmew+NvkMNPmh+H6uKsgiaS891dA==", | ||
"version": "git+https://github.com/wordpress-mobile/react-native-video.git#31ebacf5584219d4b3888b95673c35243fd30d2e", | ||
"from": "git+https://github.com/wordpress-mobile/react-native-video.git#31ebacf5584219d4b3888b95673c35243fd30d2e", |
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.
Not sure, will there be a problem that the integrity
field is now missing? 🤔
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 believe that field will come back when I switch from a github commit to a tar.gz file since it sounds like when using a git commit just the commit hash itself is used to insure integrity.
With that said, the static lint checks are failing because of the package-lock file, and I haven't been able to figure out what is going on with that yet.
1. Copied package-lock.json file from trunk 2. Removed react-native-video dep from packages/react-native-editor/package.json 3. Ran `npm install` 4. Restored react-native-video dep 5. Ran `npm install`
Marking this as ready for review, but we will still need to update the react-native-video ref to point to the tag and not the branch once wordpress-mobile/react-native-video#15 is merged and we create the |
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!
.tgz
file before merging this.Related gutenberg-mobile PR: wordpress-mobile/react-native-video@5c6697a
Description
This PR updates react-native-video to allow us to drop jetifier on Android.
Testing Instructions
Using the demo app, play the video from the sample content. On Android this should route to an external application (probably the web browser) and either play the video or offer to download it. On iOS though, the demo video should open and play within the demo app itself.
Screenshots
Types of changes
Checklist:
*.native.js
files for terms that need renaming or removal).