-
Notifications
You must be signed in to change notification settings - Fork 4.6k
[Mobile] - Disable FastImage on Android #43322
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
Conversation
|
Size Change: 0 B Total Size: 1.24 MB ℹ️ View Unchanged
|
🟢 WordPress-Android TestingTested on a Pixel 3a (physical device) Test case 1 - Image block upload
Steps:
Test case 2 - Gallery block upload
Steps:
Test case 3 - Rotate the device with an Image block
Steps:
|
🟢 WordPress-iOS TestingTested on an iPhone 11 (physical device) Test case 1 - Image block upload
Steps:
Test case 2 - Gallery block upload
Steps:
Test case 3 - Rotate the device with an Image block
Steps:
|
mkevins
left a comment
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.
These changes look good. I tested the scenarios in the description, and everything is working as expected. Thank you for wrangling this Gerardo! Also, thanks for removing the custom logic for handling the orientation change. Hopefully this will no longer be needed when this is re-enabled 👍
|
Thank you for the review and testing @mkevins! |
* Release script: Update react-native-editor version to 1.81.0 * Release script: Update with changes from 'npm run core preios' * Release script: Update react-native-editor version to 1.81.1 * Release script: Update with changes from 'npm run core preios' * [Mobile] - Add BlockListCompact (#43431) * Mobile - Introduce BlockListCompact - Lighter version of the default BlockList with simpler functionality for use cases like the List V2 block * Mobile - Update List V2 tests since it's not needed to fire the layout event change with the BlockListCompact component * Mobile - BlockListCompact - Add note of the component props and which block is currently using it * [RNMobile] List block v2: Fix text color inconsistencies with list items (#43244) * List block v2: use default color for preferred color scheme * Use usePreferredColorSchemeStyle hook for List Item style * Remove unneeded font-size value from list item styles * Mobile - Disable FastImage on Android (#43322) * [Mobile] - Fix dynamic React Native version (#43058) * Mobile - Fix dynamic React Native version * Mobile - Adds jvmargs setting * [RNMobile] Use default placeholder text color for native List Item (#43353) * Use default placeholder text color for native List Item * Move list item placeholder hex value to stylesheet * Resolve test failure * Add opacity to list block placeholder color styles * Update List block v2 placholder currentTextColor * Mobile - List Item - Check if currentTextColor is not undefined and moves opacity value into a const * Mobile - List Item - Add optional chaining for style.color Co-authored-by: Gerardo <[email protected]> * Mobile - Update CHANGELOG * Mobile - Update Podfile after resolving conflicts * Mobile - Add mock style for list item Co-authored-by: Derek Blank <[email protected]> Co-authored-by: Gerardo Pacheco <[email protected]>
* Release script: Update react-native-editor version to 1.81.0 * Release script: Update with changes from 'npm run core preios' * Release script: Update react-native-editor version to 1.81.1 * Release script: Update with changes from 'npm run core preios' * [Mobile] - Add BlockListCompact (#43431) * Mobile - Introduce BlockListCompact - Lighter version of the default BlockList with simpler functionality for use cases like the List V2 block * Mobile - Update List V2 tests since it's not needed to fire the layout event change with the BlockListCompact component * Mobile - BlockListCompact - Add note of the component props and which block is currently using it * [RNMobile] List block v2: Fix text color inconsistencies with list items (#43244) * List block v2: use default color for preferred color scheme * Use usePreferredColorSchemeStyle hook for List Item style * Remove unneeded font-size value from list item styles * Mobile - Disable FastImage on Android (#43322) * [Mobile] - Fix dynamic React Native version (#43058) * Mobile - Fix dynamic React Native version * Mobile - Adds jvmargs setting * [RNMobile] Use default placeholder text color for native List Item (#43353) * Use default placeholder text color for native List Item * Move list item placeholder hex value to stylesheet * Resolve test failure * Add opacity to list block placeholder color styles * Update List block v2 placholder currentTextColor * Mobile - List Item - Check if currentTextColor is not undefined and moves opacity value into a const * Mobile - List Item - Add optional chaining for style.color Co-authored-by: Gerardo <[email protected]> * Mobile - Update CHANGELOG * Release script: Update react-native-editor version to 1.81.2 * Release script: Update with changes from 'npm run core preios' * Mobile - List V2 - Prevent error when list is empty (#43861) * Mobile - Update Changelog Co-authored-by: Derek Blank <[email protected]> Co-authored-by: David Calhoun <[email protected]>
Related PRs:
Gutenberg Mobile-> [Mobile] - Disable FastImage on Android wordpress-mobile/gutenberg-mobile#5102WordPress iOS-> [Gutenberg] Test disabling FastImage (Android only) wordpress-mobile/WordPress-iOS#19202WordPress Android-> [Gutenberg] - Test disabling FastImage wordpress-mobile/WordPress-Android#17042What?
There's a current issue on Android #43149 where in some cases the images will disappear with the React Native FastImage library.
Why?
While we investigate the issue and have a fix that covers all cases we should disable it.
How?
By disabling FastImage on Android in all cases and only using the built-in React Native Image component.
Testing Instructions
Test the following cases with the following environments for both iOS and Android:
WP Maintenance Modeplugin)Test case 1 - Image block upload
Test case 2 - Gallery block upload
Test case 3 - Rotate the device with an Image block
Screenshots or screencast
N/A