-
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
Fix API requests on the HybridApp #52255
Conversation
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/rlinoz in version: 9.0.60-0 🚀
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.0.60-3 🚀
|
Context https://expensify.slack.com/archives/C03TQ48KC/p1730912929324929
Explanation of Change
When in HybridApp if the users open some specific WebViews we will end up saving the
expensifyWeb
cookie in the App, since NewDot operates with fetch it should send cookies at all by default, but that is true only for web. To avoid sending this cookie we don't want to send from native this PR explicit sets theomit
credential to fetch so we stop sending cookies.Fixed Issues
$ https://github.com/Expensify/Expensify/issues/441754
PROPOSAL:
Tests
It is not really possible to test the HybridApp issue we are having, so the best we can do here is navigate the app and ensure API Calls are still working.
Offline tests
QA Steps
HybridApp QA:
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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
Before
WhatsApp.Video.2024-11-08.at.12.10.54.mp4
After
WhatsApp.Video.2024-11-08.at.12.11.00.mp4