Apple - Set Firefox as default browser to open links in Gmail
As @Nimar points out, the method I show below is no longer required- the user can now set a browser preference directly in IOS' settings. No need anymore for the below hack- see @Nimar's Answer below-
The only way I found was through the "Share" facility. Basically, the procedure is to add Firefox (or a another browser of your choice) as a sharing option so it can be selected when the link in a Gmail message is long-pressed.
"Share" Menu Configuration:
The following illustrated procedure uses Firefox to modify the list of apps available as a source to share with to add Firefox. However, you can add Firefox as a sharing source from some other app if you care to. Procedure will still be the same. Please note the images are cropped to only show the parts of the interface you need to work with
Using Firefox with Gmail:
Using a Gmail message, I'll now illustrate how you can open links with Firefox using a long-press on the link:
That's how you can circumvent Google's restriction on using a browser other than their own and Apple's Safari. Hopefully a future version of Gmail will make all this unnecessary, but until; they do...
On iOS 14.2.1 I was able to configure Firefox as the default browser to open links. There are two steps needed to make this work.
- Configure Firefox as the default browser for your device. Open Settings click on Firefox then "Default Browser App" and select Firefox
- Configure Gmail to open links using the default browser. Open Gmail, click on the three horizontal bars on the top left then click on Settings then "Default apps" and in the Browser section select "Default browser app". Also disable the option which says "Ask me which app to use every time."
That's it! Now Gmail links will automatically open in the default browser app which happens to be Firefox. The same procedure can be used to open Gmail links in some other browser by selecting that browser in step 1 above.