Skip to content
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

[Bug] IOS/Android - Unable to open links via App. #10431

Closed
kbecciv opened this issue Aug 17, 2022 · 34 comments
Closed

[Bug] IOS/Android - Unable to open links via App. #10431

kbecciv opened this issue Aug 17, 2022 · 34 comments
Assignees
Labels
Daily KSv2 Engineering Reviewing Has a PR in review

Comments

@kbecciv
Copy link

kbecciv commented Aug 17, 2022

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Issue found when executing PR #10144

Action Performed:

  1. Open the app.
  2. Send a message with the following links:
    https://staging.new.expensify.com/r/99123880
    https://new.expensify.com/
    https://expensify.com/
    https://new.expensify.com/inbox
    https://expensify.com/inbox
    google.com
  3. Click on a link to open it.

Expected Result:

Old Expensify links open in a new tab but you are directly logged into the old Expensify app if the URL is valid.
Public links open in a new tab.

Actual Result:

Unable to open a link. Nothing happens when tapping on a link.

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number: 1.1.88.14

Reproducible in staging?: Yes

Reproducible in production?: No

Email or phone of affected tester (no customers): applausetester+092021fish@applause.expensifail.com/Qwerty123
rybkina@gmail.com/Qwerty123

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Bug5692300_RPReplay_Final1660743767.mp4
Bug5692300_RPReplay_Final1660745681.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Aug 17, 2022
@OSBotify
Copy link
Contributor

👋 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:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@melvin-bot
Copy link

melvin-bot bot commented Aug 17, 2022

Triggered auto assignment to @PauloGasparSv (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@Julesssss
Copy link
Contributor

Julesssss commented Aug 17, 2022

Wow, so I was unable to reproduce on Android v1.1.88-3, but after updating to v1.1.88.14 I can't open any links...

@Julesssss Julesssss self-assigned this Aug 17, 2022
@PauloGasparSv
Copy link
Contributor

Also replicated on iOS on the same version and the latest on main. Could not replicate this on Web, @kbecciv can you confirm again if the issue also happens on web?

@kbecciv
Copy link
Author

kbecciv commented Aug 17, 2022

@PauloGasparSv Checking with team, will update you shortly

@kbecciv
Copy link
Author

kbecciv commented Aug 17, 2022

Works on Web

Recording.984.mp4

@PauloGasparSv
Copy link
Contributor

Spent some time but couldn't find which versions introduced the bug.
Assigning @marcaaron here to help so I can focus on some refactor work I'm in!

@parasharrajat
Copy link
Member

Is this is same as on of #9739 (comment)?

@marcaaron
Copy link
Contributor

This issue was introduced in #10144

I reproduced on main by:

  1. Creating a new chat and adding a link to expensify.com
  2. Attempt to tap the link 💥
  3. Revert PR
  4. Attempt to tap the link ✅

@marcaaron
Copy link
Contributor

Internal app links like new.expensify.com/settings work Ok. External links like expensify.com do not work.

@marcaaron
Copy link
Contributor

Created a revert PR to undo the changes. Seems like we are having some issues with GitHub actions at the moment so unsure if unblocking the deploy is our most urgent priority.

@AndrewGable
Copy link
Contributor

I can no longer reproduce on staging so closing. Confirmed with @sketchydroide too.

@melvin-bot
Copy link

melvin-bot bot commented Aug 23, 2022

⚠️ Looks like this issue was linked to a possible regression on PRODUCTION here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a production regression has occurred a Root Cause Analysis is required. Please follow the instructions here.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@marcaaron
Copy link
Contributor

What did you all test @sketchydroide @AndrewGable? External links are very broken for me still on the latest TF.

@parasharrajat
Copy link
Member

Yeah they are still broken. I have created the fixing PR.

@AndrewGable
Copy link
Contributor

Tested via web staging

@marcaaron
Copy link
Contributor

marcaaron commented Aug 24, 2022

haha ok, and we are aware that the issue is not affecting web? Sorry for the questions it's just that this issue is very much present on staging iOS. No external links are tappable at all.

#10431 (comment)

@sketchydroide
Copy link
Contributor

Yes, I've just checked iOS, and the app failled to direct the links, and one of them crashed the app, this are the links @AndrewGable sent me:

https://staging.new.expensify.com/r/99123880 
https://new.expensify.com/ 
https://expensify.com/ 
https://new.expensify.com/inbox 
https://expensify.com/inbox 
https://google.com/

https://new.expensify.com/inbox crashes
https://staging.new.expensify.com/r/99123880 redirects me to the list of users (I don't have that report/chat)

all the other ones fail to do anything

@parasharrajat
Copy link
Member

parasharrajat commented Aug 24, 2022

all the other ones fail to do anything
Yeah, I know why this is happening, here is the PR for the fix #10503.

the Crashes issue is a different one than this and not caused by that PR. The reason is that https://new.expensify.com/inbox is an unknown route in our app and our internal link handlers don't have fallback rules for such links. Reported here #9739 (comment).

@parasharrajat
Copy link
Member

We should reopen this issue.

@AndrewGable AndrewGable reopened this Aug 24, 2022
@marcaaron marcaaron added Daily KSv2 Hourly KSv2 and removed Hourly KSv2 DeployBlockerCash This issue or pull request should block deployment Daily KSv2 labels Aug 24, 2022
@marcaaron
Copy link
Contributor

marcaaron commented Aug 24, 2022

Since we deployed and this is a regression I'm removing the DeployBlockerCash label and assigning @parasharrajat to fix.

@parasharrajat
Copy link
Member

Adding screenshots to the PR and it will be ready in 15 mins.

@melvin-bot melvin-bot bot added the Overdue label Aug 29, 2022
@marcaaron marcaaron added the Reviewing Has a PR in review label Aug 29, 2022
@melvin-bot melvin-bot bot removed the Overdue label Aug 29, 2022
@melvin-bot
Copy link

melvin-bot bot commented Aug 30, 2022

⚠️ Looks like this issue was linked to a possible regression on PRODUCTION here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a production regression has occurred a Root Cause Analysis is required. Please follow the instructions here.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@melvin-bot
Copy link

melvin-bot bot commented Sep 6, 2022

@parasharrajat, @marcaaron Whoops! This issue is 2 days overdue. Let's get this updated quick!

@parasharrajat
Copy link
Member

PR is in review.

@melvin-bot
Copy link

melvin-bot bot commented Sep 14, 2022

@parasharrajat, @marcaaron Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@parasharrajat
Copy link
Member

PR was merged.

@JmillsExpensify JmillsExpensify changed the title IOS/Android - Unable to open linsk via App. IOS/Android - Unable to open links via App. Sep 14, 2022
@JmillsExpensify JmillsExpensify changed the title IOS/Android - Unable to open links via App. [Bug] IOS/Android - Unable to open links via App. Sep 22, 2022
@melvin-bot
Copy link

melvin-bot bot commented Sep 23, 2022

@parasharrajat, @marcaaron Eep! 4 days overdue now. Issues have feelings too...

@melvin-bot
Copy link

melvin-bot bot commented Sep 28, 2022

@parasharrajat, @marcaaron 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!

@parasharrajat
Copy link
Member

This has been fixed. Good to close.

@sketchydroide
Copy link
Contributor

closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Daily KSv2 Engineering Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

8 participants