Android App Links deeplink blocked (Custom Tabs)
Categories
(Firefox for Android :: App Links, defect)
Tracking
()
People
(Reporter: marencro, Assigned: royang)
References
Details
Attachments
(3 files)
+++ This bug was initially created as a clone of Bug #1809264 +++
Hi Firefox team!
I can still reproduce the cloned bug that was marked as closed (I've attached a video).
I still need to manually select the "Open in App" option from the menu in order to handle the App Link.
I'm using Firefox v115.2.0 on Android, with it selected as the default browser.
Affected app is using Custom Tabs for OAuth 2.0 flow.
Steps to reproduce, Expected Behavior and Actual Behavior are the same as in https://bugzilla.mozilla.org/show_bug.cgi?id=1809264
Device Information
Google Pixel 4a running Android 13
Comment 1•2 years ago
|
||
The severity field is not set for this bug.
:royang, could you have a look please?
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 2•2 years ago
|
||
Hi :Rodrigo Marenco, there was a recent fix with https://bugzilla.mozilla.org/show_bug.cgi?id=1845104. Can you please check with Firefox Nightly that this issue is fixed? Thanks
| Assignee | ||
Updated•2 years ago
|
| Reporter | ||
Comment 3•2 years ago
|
||
(In reply to Roger Yang [:royang] from comment #2)
Hi :Rodrigo Marenco, there was a recent fix with https://bugzilla.mozilla.org/show_bug.cgi?id=1845104. Can you please check with Firefox Nightly that this issue is fixed? Thanks
Hi Roger!
I've just tried with the current version of Firefox Nightly and I get the same result, I either need to select from the 3 dot menu "Open in App" for this flow to work, or previously set the "Open links in apps" setting to "Always" (this settings defaults to "Never" on a fresh install).
Any thoughts?
Comment 4•2 years ago
|
||
(In reply to Roger Yang [:royang] from comment #2)
Hi :Rodrigo Marenco, there was a recent fix with https://bugzilla.mozilla.org/show_bug.cgi?id=1845104. Can you please check with Firefox Nightly that this issue is fixed? Thanks
The (1845104) flow used a custom scheme (digiposte://) callback to the app, the reported bug here uses the more secure and reliable Android App-Link callback to the app.
I confirmed on Nightly 118.0a1, that FF tabs don't honor app-link callbacks from FF tabs for OAuth type login flows. The user has to execute the manual steps described by Rodrigo above to trigger the native app.
| Assignee | ||
Comment 5•2 years ago
•
|
||
Looks like it's similar to https://bugzilla.mozilla.org/show_bug.cgi?id=1843537. User have "Never" set in "Open links in app". This is a conflict between respecting user option vs usability (https://bugzilla.mozilla.org/show_bug.cgi?id=1836971). I'm reverting the enforcement of "Never" in order to allow authentication flow to work. I'll update once revert has landed.
| Assignee | ||
Comment 6•2 years ago
|
||
Investigated the issue. I've confirmed that there was an issue with the fix https://bugzilla.mozilla.org/show_bug.cgi?id=1845104.
I'll have a fix for this. Thanks
Comment 7•2 years ago
|
||
Comment 8•2 years ago
|
||
Authored by https://github.com/rocketsroger
https://github.com/mozilla-mobile/firefox-android/commit/b6089b0a02141a4147dbb1cf541b7c6134e135df
[main] Bug 1843895 - Update AppLinksUseCases launchInApp when updating the interceptor
Comment 9•2 years ago
|
||
| Assignee | ||
Comment 10•2 years ago
|
||
Comment on attachment 9348264 [details] [review]
[mozilla-mobile/firefox-android] Bug 1843895 - Update AppLinksUseCases launchInApp when updating the interceptor (backport #3122) (#3194)
Beta/Release Uplift Approval Request
- User impact if declined: User won't be able to sign into applications through Firefox Android
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): It's a very small change and only applies to custom tab
- String changes made/needed:
- Is Android affected?: Yes
Comment 11•2 years ago
|
||
Comment 12•2 years ago
|
||
Authored by https://github.com/mergify[bot]
https://github.com/mozilla-mobile/firefox-android/commit/d7b7cdff1e20dc11170549d8e306b1238cc09283
[releases_v117] Bug 1843895 - Update AppLinksUseCases launchInApp when updating the interceptor (#3194)
Comment 13•2 years ago
•
|
||
Verified as fixed on 1170b6 from 08/11 with: Google Pixel 6 (Android 14)
Samsung GalaxyZ Fold 4 (Android 13)
Lenovo Yoga Tab 11 (Android 12)
No errors are encountered during 2-factor authentication, and the user can successfully log in from a custom tab with "Open links in app" set to "Never."
Device used for Nightly 118.0a1 - 11.08.2023 : Google Pixel 7 PRO (Android 14)
Updated•2 years ago
|
Updated•2 years ago
|
Description
•