-
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
[$250] iOS - Onboarding task deeplinks used within the app redirect users to the web #46495
Comments
Triggered auto assignment to @arosiclair ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Onboarding task deeplinks used within the app redirect users to the web What is the root cause of that problem?The links on onboarding tasks created here App/src/libs/actions/Report.ts Lines 3272 to 3273 in e81223b
So if onboarding completed in production the links become https://new.expensify.com/... If onboarding completed in production and link opened in staging we will encounter this issue What changes do you think we should make in order to solve the problem?Remove Line 145 in e81223b
What alternative solutions did you explore? (Optional) |
I reproduced on staging and not on production. It seems like there might be something wrong with our staging ENV for iOS since the link is generated in NewDot and it is using the prod URL. I'll try reproducing on Android to verify. |
Not reproducible on Android staging v9.0.14.-3. I'm almost certain there's something going on with our staging .env |
In these logs you can see we're sending |
Okay this .env issue also affects Android so I no longer think that's the root problem. From what I can see debugging on web, we render the link with the Fixing |
Easier repro steps:
|
Triggered auto assignment to @JmillsExpensify ( |
Alright the verdict is to continue opening new expensify links in their respective environment (eg: staging link should open in staging even if you're in prod).
This feels hacky. We shouldn't create the report with the wrong link and then fix it later. Can we just create the task with the correct dev/staging/prod link to begin with? It's fine if it doesn't work in a different environment. |
@arosiclair Yes, we can do this. Updated alternative solution with this expected |
Thank you let's go with your alternative solution. |
📣 @nkdengineer 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@arosiclair So during task creation itself we will use current environment and generate the link. If that link is opened in a different environment mobile app/platform, it would be redirect to web(if particular environment app is not present). |
That's correct. If we create an account on staging, the onboarding task should generate a link with a staging URL. On production, it should be a production URL. |
This issue has not been updated in over 15 days. @JmillsExpensify, @arosiclair, @abdulrahuman5196, @nkdengineer eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
This hit prod 3 weeks ago so we should be good for payment and closing. |
Payment summary:
|
@abdulrahuman5196 can you complete the BZ checklist please? |
Doesn't seem to be a regression.
Yes.
@JmillsExpensify Added the BZ checklist. Sorry for missing it previously. |
Confirming payment summary as follows:
|
$250 approved for @abdulrahuman5196 |
All contributors paid and regression test created. Closing. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.14
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Issue found when executing PR #46082
Action Performed:
Expected Result:
Onboarding task deeplinks used within the app should redirect users to the correct screen within the app
Actual Result:
Onboarding task deeplinks used within the app redirect users to the web
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6556810_1722294279029.QA-build-web-redirection-9.0.14.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @JmillsExpensifyThe text was updated successfully, but these errors were encountered: