fix: Android - It is impossible to scan the receipt with the camera, an error is displayed.#35640
Conversation
…an error is displayed. Signed-off-by: Krishna Gupta <belivethatkg@gmail.com>
|
@thesahindia 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] |
|
Still need to work on this and clear some issues. |
|
@aldo-expensify @thesahindia, the implementation works fine on both android & ios devices but there is a minor issue in android, when the app doesn't have any input for the camera permissions from users and user goes to the scan tab, we show the default permissions alert, the default permission value is If we want to change this I can spend more time, but I already have spent more than enough time on this :) Android: android_native_2feb.mp4IOS: ios_native_2feb.mp4 |
|
@aldo-expensify @thesahindia, bump on the above question^ |
|
Sorry for the delay. I agree it's a minor issue. I am fine with it but let's wait for @aldo-expensify's opinion. |
Agree, it sounds like an issue coming from Android and I don't think it is worth it to try to go around it if it is too complicated. Just please leave a comment in the code saying that. |
|
@thesahindia, can you pls review this, all screenshots have been added. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-02-11.at.12.15.46.AM.movAndroid: mWeb ChromeScreen.Recording.2024-02-11.at.12.23.06.AM.moviOS: NativeScreen.Recording.2024-02-11.at.12.30.39.AM.moviOS: mWeb SafariScreen.Recording.2024-02-11.at.12.27.03.AM.movMacOS: Chrome / SafariScreen.Recording.2024-02-11.at.12.43.58.AM.movMacOS: DesktopScreen.Recording.2024-02-11.at.12.40.24.AM.mov |
Please address this @Krishna2323 |
Signed-off-by: Krishna Gupta <belivethatkg@gmail.com>
|
Comment added. |
|
✋ 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 production by https://github.com/thienlnam in version: 1.4.41-12 🚀
|
Details
Fixed Issues
$ #34750
PROPOSAL: #34750 (comment)
Tests
Prerequisites:
allow/don't allowoptions on IOS and with 3 options in androiddon't allowCaptureorContinuebutton and a verify a modal opens which hassettingsoption.Offline tests
Same as Tests
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.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 so 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_native_2feb.mp4
Android: mWeb Chrome
android_chrome.mp4
iOS: Native
ios_native_2feb.mp4
iOS: mWeb Safari
ios_safari.mp4
MacOS: Chrome / Safari
web_chrome.mp4
MacOS: Desktop
desktop_app.mp4