BrowserDetector icon indicating copy to clipboard operation
BrowserDetector copied to clipboard

Problems

Open CelsoMMiranda opened this issue 4 years ago • 2 comments

Hello, I found something that could be a problem, I'll give you an example: You have a page that as soon as the person enters it has a validation to check if it is mobile or not, ok? so far so good! however if the link on this page is shared via whatsapp, when placing the link on the whatsapp chat page a request is made to this page, just placing the link on the whatsapp chat, so your page will result in an error, because unfortunately your library was triggered but cannot identify, so it generates an error. I really enjoyed your work, I'm just trying to improve.

CelsoMMiranda avatar Apr 15 '20 11:04 CelsoMMiranda

If you open a link from whats-app, it will be opened on the default browser of the platform(ex: Safari on iPhone?). Is that not rite ?

Can you try http://bit.ly/request-headers in that environment and share what User-Agent value you are seeing ?

kshyju avatar Apr 17 '20 20:04 kshyju

Hi, I have a similar problem on IOS Instagram in-app browser. (It works fine on Android Instagram app.) I tried to open this url (http://bit.ly/request-headers) but I couldn't see anything, see the attachment.

Then I tried another detection website (https://developers.whatismybrowser.com) and it detected the user agent.

User Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 12_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 147.0.0.30.121 (iPhone9,3; iOS 12_4_1; tr_TR; tr-TR; scale=2.00; 750x1334; 224680684) Phone: IPhone 7 OS: iOS 12.4.1

WhatsApp Image 2020-06-22 at 21 14 56

alicoskun avatar Jun 22 '20 18:06 alicoskun