-
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
[hold for payment 2023-08-30] IOS - Onfido screen present multiple time when app pushed to Background #23642
Comments
Triggered auto assignment to @joekaufmanexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
I can reproduce this but I think we're using an Onfido SDK for this, so not sure this is something we can fix. Checking. |
Bumped in Slack |
Okay, this is in Onfido's SDK. Which is open source. So we'll leave this open for now, and see if anyone wants to propose an upstream fix. If we don't get any proposals after a bit, we'll close, since not in our codebase. |
Job added to Upwork: https://www.upwork.com/jobs/~013b5a7fa2bf8b3fcc |
Current assignee @joekaufmanexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
Awaiting proposals |
Hi @joekaufmanexpensify , I am trying to login but it seems textfield issue while entering code. Cloned from main branch. |
📣 @jaskarwal! 📣
|
Hi @joekaufmanexpensify , ![]() |
@allroundexperts any thoughts on the above question? |
ProposalPlease re-state the problem that we are trying to solve in this issue.IOS - Onfido screen present multiple time when app pushed to Background What is the root cause of that problem?In When the app returns from the background, Lines 161 to 168 in efb4ac6
What changes do you think we should make in order to solve the problem?Creating a ref called constructor(props) {
...
this.isLoadedReportDataRef = React.createRef();
this.isLoadedReportDataRef.current = !props.isLoadingReportData;
}
componentDidUpdate(prevProps) {
if (prevProps.isLoadingReportData && !this.props.isLoadingReportData) {
this.isLoadedReportDataRef.current = true;
}
}
...
const isLoading = !this.isLoadedReportDataRef.current || ... ResultUntitled.mp4 |
Proposal pending review |
Hi @jaskarwal! |
Triggered auto assignment to @NikkiWines, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @DinalJivani 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
Thanks for accepting my proposal. The PR #24079 is ready for review. |
Looks like this is pending review from @NikkiWines |
Update: We decided to disregard our changes on native Android because of an issue in the Onfido Android sdk. More context in the discussion proceeding this #24079 (comment) |
Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:
On to the next one 🚀 |
Payment is due on 2023-08-30 |
After factoring in the 3 day internal delay to merge this issue, there is no penalty here. So we need to make the following payments:
|
@joekaufmanexpensify I think the penalty should be revisited here. The reason is that the PR was actually reviewed quickly. However, there was a bug in the Onfido's android SDK due to which we had a lot of back and forth conversations. In the end (after consultation with the internal engineer), we decided not to apply the fix to android. |
Got it. I will review further! |
@joekaufmanexpensify For further clarification, the internal engineer approved but forgot to merge #24079 (comment). It took us about three days. |
Ah, thanks for flagging that. Yeah, I see @NikkiWines approved on 2023-08-14, but did not merge until 2023-08-17. If we remove those three days then the time here was 8 business days, so no penalty would be applied. |
Just edited the payment message to reflect that there will no penalty here. |
@ginsuma $1,000 sent and contract ended! |
@DinalJivani $250 sent and contract ended! |
@allroundexperts could you please request $1,000 via NewDot and confirm here once complete? |
Done! |
Great, thanks for confirming! |
Going to close this one out for now. If your request is not paid within 7 days, please let me know and I'll look into it. |
As an FYI for the individual paying, payment summary message is here. |
Reviewed the details for @allroundexperts. $1,000 payment approved based on BZ summary. |
@joekaufmanexpensify @allroundexperts Tester was able to reproduce it today. Should we need a new ticket? Gbqe4049.1.mp4 |
@kavimuru If this is broken again now, wouldn't it be a regression? If so, I'd think we'd fix it on the issue that introduced the regression. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Onfido | Real identity screen should be presented only once
Actual Result:
Onfido | Real identity screen presented multiple time when app goes in background and again opened
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.42-26
Reproducible in staging?: n/a
Reproducible in production?: n/a
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Image.from.iOS.1.MP4
Expensify/Expensify Issue URL:
Issue reported by: @DinalJivani
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689948418893939
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: