mozilla-mobile / firefox-ios

Firefox for iOS
Mozilla Public License 2.0
12.18k stars 2.92k forks source link

Some links (E.g: GDocs) from external apps opens in Firefox and doesn't redirect to the external app #20135

Open data-sync-user opened 5 months ago

data-sync-user commented 5 months ago

Steps to reproduce

  1. Go to an external app (For example Google Calendar, Slack) and look for a google doc link
  2. Open a Google Doc link

Expected behavior

Link is opened on external app (Google Doc).

Actual behavior

Link is opened on Firefox.

Additional Information

Device & build information

[^RPReplay_Final1714671273.MP4]

┆Issue is synchronized with this Jira Task

data-sync-user commented 5 months ago

➤ Norberto Andres Furlan commented:

Alexandru Farcasanu Nishant Bhasin Andrei Bodea Can you take a look to this?

data-sync-user commented 5 months ago

➤ Alexandru Farcasanu commented:

Norberto Andres Furlan I found something here. Both browsers (Safari and Firefox) are doing the same thing. (at least for me) If you long tap on the google docs link, you have many options to choose. Two of them: Open in Docs and Open in Safari (default browser). The thing is, if I choose for example Open in Docs I will be redirected to the Google Docs app but this behaviour will be also for the next Google Docs link taps. (from any other apps, not only Notes, as in my case)

To change that, I need to reopen that menu with Open in Docs and Open in Safari options and choose Open In Safari. Now, any normal tap, on the google docs link, will open the default browser and not the app.

[^redirect.mov]

data-sync-user commented 3 months ago

➤ Razvan Litianu commented:

!Skype_Video (5).mp4|width=886,height=1920,alt="Skype_Video (5).mp4"!

Norberto Andres Furlan This is strange one, I managed to make it work with the current release so it seems something that it’s not from our side to decide when the app opens. It might be iOS that does that.