Unable to detect Firefox browser on iPad [Detecting as safari]
umeshrenlty opened this issue · comments
Description:
Issue:
We are encountering an issue where broswer name is giving safari for firefox in ipad
Steps to Reproduce:
Open the application in Firefox Ipad.
Retrieve broswer name.
Expected Behavior:
The application should accurately identify Firefox as the browser.
Actual Behavior:
Firefox is being incorrectly detected as Safari due to discrepancies
Additional Information:
Browser: Firefox
Device: Ipad
Detected Browser: Safari
Note:
This issue impacts the accurate identification of the browser and may lead to unintended behavior. Any insights or solutions to resolve this misidentification would be highly appreciated.
At this time, the Firefox UA string doesn't include "FxiOS" (in default/desktop mode) on iPad. This is Firefox iOS bug mozilla-mobile/firefox-ios#6620.
Safari on iPadOS 17.4:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Safari/605.1.15
Firefox 120.4 on iPadOS 17.4:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15