[New architecture] Replace @oguzhnatly/react-native-image-manipulator with expo-image-manipulator [v2]#38145
Conversation
…image-manipulator` with `expo-image-manipulator`"" This reverts commit 52491bd.
|
@mananjadhav Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
src/libs/actions/PersonalDetails.ts
Outdated
|
|
||
| // We need to remove the base64 value from the file object, as it is causing crashes on Release builds. | ||
| // More info: https://github.com/Expensify/App/issues/37963#issuecomment-1989260033 | ||
| if ('base64' in file) { |
There was a problem hiding this comment.
Is this the only place we need to fix this? Should we be putting this somewhere in the cropOrRotateImage or a util?
There was a problem hiding this comment.
Right, putting it in the cropOrRotateImage will prevent similar issues in the future. I've moved it.
|
Thanks for raising the PR. @roryabraham Can you please create adhoc builds for this one? So that we can test it on a physical device? |
This comment has been minimized.
This comment has been minimized.
|
The code changes are fine. @roryabraham The latest change commit involves updating the Meanwhile I'll test on the simulators for sure. |
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / Safariweb-expo-image.movMacOS: Desktopdesktop-expo-image.mov |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
blazejkustra
left a comment
There was a problem hiding this comment.
One minor comment, good work overall!
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
Reviewer Checklist
Screenshots/VideosAndroid: Native5294020035429620242android-expo-image.mp4Android: mWeb Chromemweb-chrome-expo-image.mp4iOS: Nativeios-expo-image.MP4iOS: mWeb Safarimweb-safari-expo-image.MP4MacOS: Chrome / Safariweb-expo-image.movMacOS: Desktopdesktop-expo-image.mov |
mountiny
left a comment
There was a problem hiding this comment.
Thanks for testing again, lets hope we will be successful this time 🙏
|
🚀 Deployed to staging by https://github.com/mountiny in version: 1.4.54-0 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.4.54-4 🚀
|
Details
It replaces the libraries. The first PR #36019 got reverted #38024 because of crash #37963.
Fixed Issues
$ #35984
PROPOSAL: N/A
Tests
Offline tests
N/A
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
android.mov
Android: mWeb Chrome
mweb-android.mov
iOS: Native
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-03-12.at.19.45.01.mp4
iOS: mWeb Safari
mweb-ios.mp4
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov