-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[New architecture] Replace @oguzhnatly/react-native-image-manipulator
with expo-image-manipulator
[v2]
#38145
[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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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! 🧪🧪
|
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.
One minor comment, good work overall!
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
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.
Test well!
Screenshots/Videos
Android: Native
Android.mov
Android: mWeb Chrome
mWebAndroid.mov
iOS: Native
ios.mov
iOS: mWeb Safari
Screen.Recording.2024-03-15.at.19.22.06.mov
MacOS: Chrome / Safari
chrome.mov
MacOS: Desktop
desktop.mov
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 |
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.
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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