-
Notifications
You must be signed in to change notification settings - Fork 58
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
Media & Text - Media picker buttons functionality #1378
Conversation
I tried to upload a video and after the upload finished, I got this warning:
And the video part in media-text only shows the placeholder. |
Oh no, that's weird, do you know if I have to do something for the change of |
🤦♂ My bad, I didn't realize there were native changes and was testing with the wrong binaries |
I got a weird issue... after testing the video upload, I removed the media-text block, inserted a new one and tried to upload an image. The media-text block will upload correctly but then try to show the image as a video and fail. When I closed the editor I got a crash:
I haven't been able to reproduce the crash again 😞 |
Looking at the generated JS, the crash seems to be in KeyboardAwareFlatList, so I would assume it's a coincidence unrelated to these changes, but let me know if you think you changed something that might be causing that. |
Not really, but I will double check just in case |
Milestone moved to 1.15 |
…e into feature/media-text-improvements # Conflicts: # gutenberg # ios/gutenberg/GutenbergViewController.swift # react-native-gutenberg-bridge/android/src/main/java/org/wordpress/mobile/ReactNativeGutenbergBridge/GutenbergBridgeJS2Parent.java # react-native-gutenberg-bridge/android/src/main/java/org/wordpress/mobile/ReactNativeGutenbergBridge/RNReactNativeGutenbergBridgeModule.java # react-native-gutenberg-bridge/android/src/main/java/org/wordpress/mobile/WPAndroidGlue/WPAndroidGlueCode.java # react-native-gutenberg-bridge/ios/GutenbergBridgeDelegate.swift # react-native-gutenberg-bridge/ios/RNReactNativeGutenbergBridge.swift
@@ -1,4 +1,4 @@ | |||
public typealias MediaPickerDidPickMediaCallback = (_ media: [(Int32?,String?)]?) -> Void | |||
public typealias MediaPickerDidPickMediaCallback = (_ media: [(Int32?,String?,String?)]?) -> Void |
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.
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.
That sounds like a good idea to me 😄
Gutenberg PR WordPress/gutenberg#17537
Fixes #1313
To test check WordPress/gutenberg#17537 for a full description and screenshots.
It also includes a small change in
RNReactNativeGutenbergBridge.swift
to pass the media type.Parent apps PRs
WPiOS: wordpress-mobile/WordPress-iOS#12581
WPAndroid: wordpress-mobile/WordPress-Android#10567 (it has the changes from the multiple media PR) but there aren't any new native changes, just the updated gutenberg reference
Update release notes:
RELEASE-NOTES.txt
.