Fenix: [Bug] Google images, maps and deezer fail with unknown protocol

Created on 21 Dec 2019  ·  16Comments  ·  Source: mozilla-mobile/fenix

Steps to reproduce

Open https://images.app.goo.gl/ZQzHfQaLtWvTntNo8

Expected behavior

Show the page like fennec
Screenshot_20191221-153157_Firefox_Beta

Actual behavior

Shows unknown protocol
Screenshot_20191221-153145_Firefox_Nightly

Device information

  • Android device: OnePlus 5t
  • Fenix version: Nightly
Browsing P3 S2 engverified 🐞 bug

Most helpful comment

Same issue when trying to register a Nintendo account from an app (like Super Mario Run). The end of the process uses a custom scheme, presumably to come back to the app with the right information.

All 16 comments

Hmm.. Are you still able to reproduce?

image

@boek I can still reproduce in Nightly, not in Beta.
Your link is www.google.com/images while mine is https://images.app.goo.gl/ZQzHfQaLtWvTntNo8
A friend sent me this link, I did not search on google for that image. No clue how he got it.

Same issue when trying to register a Nintendo account from an app (like Super Mario Run). The end of the process uses a custom scheme, presumably to come back to the app with the right information.

Same issue with the "dexcom" app - we end up on a page with the "dexcom://" protocol, and instead of following an existing "app link" (or whatever mechanism is actually used) we get the "unknown protocol" page. FWIW, this works fine on Fennec (and copy/pasting the URL from Fenix into Fennec still works today)

Can reproduce this on Beta 3.1.0 now, any custom scheme link from http://rpappalax.github.io/testapp returns unknown protocol. The reddit "open in app" button doesn't respond either (no response or error). I've bumped it to an S2, because it might be easier to reproduce than an edge case.

Most of the issues here can be resolved with two solutions:

  1. Turn on Open links in apps in settings.
  2. Fixing https://bugzilla.mozilla.org/show_bug.cgi?id=1600704

I'll mark this blocked by the GV issue and retest when the issue is fixed.

No, open link in app does not fix it! I don't have apps for any of them. Why would I install a deezer, maps, or google images just to visit a page?
It works fine in Fennec

No, open link in app does not fix it! I don't have apps for any of them. Why would I install a deezer, maps, or google images just to visit a page?
It works fine in Fennec

Yes, not all are fixed with just turning on Open links in apps. There is an on going issue in GV that it tries to open an intent without passing it to AC. Since an intent is unsupported in GV, we see the unsupported protocol.

That said, the image issue is fixed by turning on Open links in apps. (Though there's a crash issue I'm looking into related to this)

Unfortunately, until GV's fix is in, I can't retest and confirm which issue requires a fix. This is why I set it blocked and will revisit when GV's fix is merged.

One important thing to note is that sometimes we're just prevented from doing an action. For example some links in mails from amazon don't work when opened in Fenix, because we got redirected to an intent. I don't know why that happens, especially that I don't have the Amazon app. But I know that this works fine when opened in Fennec, but doesn't when opened in Fenix.

One important thing to note is that sometimes we're just prevented from doing an action. For example some links in mails from amazon don't work when opened in Fenix, because we got redirected to an intent. I don't know why that happens, especially that I don't have the Amazon app. But I know that this works fine when opened in Fennec, but doesn't when opened in Fenix.

This is related to https://bugzilla.mozilla.org/show_bug.cgi?id=1600704. But can you please open an issue for us to track it? The intent should have fallback URL in it so we can open in the browser if no app can open the intent. This can't be tested until the GV fix is in.

same on google earth https://earth.app.goo.gl/?link=https://earth.google.com/web/?fdl%3D1&apn=com.google.earth&ibi=com.google.b612&isi=293622097&ius=googleearth

Screenshot_20200226-204959_Firefox_Nightly

confirmed all links in this issue is now working correctly. Adding QA to verify.

Works for me also.
Since I reported, I guess it's no need to waste qa time on this.

Was this page helpful?
0 / 5 - 0 ratings