mozilla-mobile / firefox-ios

Firefox for iOS
Mozilla Public License 2.0
12.21k stars 2.93k forks source link

[Intermittent] If the last tab opens another app (amazon) when opening a new deep link it will redirect straight to the last opened app instead of Firefox #19864

Closed abodea closed 1 week ago

abodea commented 6 months ago

Prerequisites

Have any product on Amazon link saved in Notes - long tap on it and open it in the Amazon App. (make sure the Amazon app is installed). Set Firefox as the default browser. Have a www.google.com link saved in Notes.

Steps to reproduce

  1. Install and Launch FF.
  2. Go to FF open any Amazon product, share it via the share menu, and choose Find product on Amazon.
  3. The Amazon App is opened with the shared product.
  4. Close the Amazon app and close Firefox.
  5. Go to notes and tap on the www.google.com.

    Expected behavior

    Firefox should correctly open and www.google.com should be loaded.

    Actual behavior

    If the last tab opens another app (amazon) when opening a new deep link it will redirect straight to the last opened app instead of Firefox.

    Device & build information

https://github.com/mozilla-mobile/firefox-ios/assets/42831109/cf13c1cb-a28c-4a72-acac-305f8195b011

┆Issue is synchronized with this Jira Task

data-sync-user commented 6 months ago

➤ Norberto Andres Furlan commented:

Andrei Bodea I think linkedin has the same problem. This is an OS bug, not Firefox, so we don’t have any control here.

data-sync-user commented 6 months ago

➤ Alexandru Farcasanu commented:

Norberto Andres Furlan I made few verifications but because my FF build is from the Xcode, I am not able to set the FF as default.

Also, this issue most probably is related to the https://mozilla-hub.atlassian.net/browse/FXIOS-9001 ( https://mozilla-hub.atlassian.net/browse/FXIOS-9001|smart-link ) which should be fixed in v126. (QA Needed)

cc: Andrei Bodea

data-sync-user commented 5 months ago

➤ Diana Andreea Barladeanu commented:

The issue is still reproducible. Checked on v127 (42448), with iPhone 15 (17.4.1) and FF as default browser.

Norberto Andres Furlan, if you consider that this is an iOS bug, we can close this ticket. Thanks!

!RPReplay_Final1717492437.mp4|width=590,height=1280,alt="RPReplay_Final1717492437.mp4"!

data-sync-user commented 5 months ago

➤ Alexandru Farcasanu commented:

After my investigations and Orla’s comment, I am going to close it at least for the moment.

!Screenshot 2024-06-07 at 09.49.26.png|width=405,height=131,alt="Screenshot 2024-06-07 at 09.49.26.png"!

cc: Norberto Andres Furlan