-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Store receipts in stable directory on the native platforms #52483
base: main
Are you sure you want to change the base?
Store receipts in stable directory on the native platforms #52483
Conversation
…/51761-stable-receipt-folder
…/51761-stable-receipt-folder
…/51761-stable-receipt-folder
…/51761-stable-receipt-folder
…/51761-stable-receipt-folder
…tps://github.com/callstack-internal/Expensify-App into fix/51761-stable-receipt-folder
…/51761-stable-receipt-folder
…/51761-stable-receipt-folder
@allgandalf 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] |
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.
I will ask for a adhoc build after this comment is addressed
@@ -0,0 +1,7 @@ | |||
import RNFetchBlob from 'react-native-blob-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.
how about we combine this logic to index.native.ts ? Unless there is a good reason not to ? , saying cause ios and android code is the same
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.
They are not really the same because the path is different:
- Android:
${RNFetchBlob.fs.dirs.DownloadDir}${CONST.RECEIPTS_UPLOAD_PATH}
; (Download). - IOS:
${RNFetchBlob.fs.dirs.DocumentDir}${CONST.RECEIPTS_UPLOAD_PATH}
; (Document).
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.
ahhh crapp, sorry !!!! Another reminder to me to stop sniffing around with code on mobile 😢
🚧 @rlinoz has triggered a test build. You can view the workflow run here. |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
Explanation of Change
The PR improves the app to store captured receipts in a new stable directory -
/Receipts-Upload
.Fixed Issues
$ #51761
PROPOSAL: #51761 (comment)
Tests
Offline tests
Same as "Tests".
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Same as "Tests".
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
Android: Native
Android.Emulator.mp4
Android.mp4
Android: mWeb Chrome
Android.Chrome.mp4
iOS: Native
IOS.mp4
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop