Open Bug 1942509 Opened 1 month ago Updated 11 days ago

maps.google.com doesn't work on Firefox for Android

Categories

(Fenix :: App Links, defect)

Firefox 135
defect

Tracking

(firefox135 affected, firefox136 affected, firefox137 affected)

Tracking Status
firefox135 --- affected
firefox136 --- affected
firefox137 --- affected

People

(Reporter: zeque, Assigned: royang)

References

Details

(Whiteboard: [qa-triaged][fxdroid][group3])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Android 14; Mobile; rv:135.0) Gecko/135.0 Firefox/135.0
Firefox for Android

Steps to reproduce:

Access to maps.google.com
Question: Open the Google maps app? (Keep using web)
Enter a direction, select it from auto complete
Now click on Directions button
Appears a Firefox popup with open in app? (Cancel)

It fails on Firefox beta for android
135.0b5 (Build #2016068015), hg-d189e81741b3+
GV: 135.0-20250115091607
AS: 135.0

But it works on Firefox for android
134.0.1 (Build #2016067655), hg-497a35d032e4+
GV: 134.0.1-20250113121357
AS: 134.0

Actual results:

It redirects to maps.app.goog.go and a long string and fails to load. Same address is showed on the Firefox popup question

Expected results:

Redirect to source direction from google maps web

The Bugbug bot thinks this bug should belong to the 'Fenix::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → General
Product: Firefox → Fenix
Component: General → App Links

My last tests:
Tested in 135.0b9 (Build #2016069743), bug still present.
Tested in 134.0.2 (Build #2016068999), it works as expected.
Thanks

The severity field is not set for this bug.
:royang, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(royang)

I am able to reproduce this on all the Firefox for Android versions: 135.0, Beta 136.0b2, and Nightly 137.0a1.
Tested with Google Pixel 6 (Android 15), and Sony Xperia z5 Premium (Android 7.1.1).
I'll confirm the issue.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [qa-triaged]
Summary: maps.google.com doesn't work on Firefox beta for android → maps.google.com doesn't work on Firefox for Android
Flags: needinfo?(royang)
Whiteboard: [qa-triaged] → [qa-triaged][fxdroid][group3]
Assignee: nobody → royang

Thanks for reporting this. I'll investigate.

From debugging, I can see that the first attempt that Google maps site try to redirect is to the Google map application. But the second attempt to redirect is to android GMS service. That's why we couldn't prevent the second redirect prompt.

Looks like when we run into issues, the URL Google tries to load is a intent:// URL. It is trying to force a redirect to the app. I'll have to investigate to see if there's a way around that forced redirect.

Highly possible that this issue is due to how Google is designing the Google Maps mobile site. I tested by remove applinks interceptor completely. This way, the applinks interceptor not just stop redirecting to other application, it doesn't even evaluate the URL.

Even with applinks interceptor removed, the site behaves the same. This shows that there is a problem with Google Maps mobile site.

I can reproduce the issue in both versions 134 and 133, indicating that this is not a recent regression. It's likely caused by changes made on the site.

One thing I notice is if I set "Open in apps" to "Never", I can get direction sometimes. But every time I try to start the navigation a intent is triggered again.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: