What ios application uses a user-agent containing `GmmClient:google_ios`? - user-agent

I've seen in the logs of my site the following user agent:
Mozilla/5.0 (iPhone; U; CPU iPhone OS 12.4.1; en_US; ) AppleWebKit/0.0 (KHTML, like Gecko) Version/0.0; GmmClient:google_ios/com.google.Maps/5.27.8/Mobile/ios:iPhone10,3/iOS-AppStore
What app can be generating this traffic?

The part GmmClient:google_ios/com.google.Maps/5.27.8/Mobile/ios probably indicates that traffic is generated from Google Maps for iOS, when THe website is opened in a webview inside this app.
But I can't find any documentation referencing GmmClient so I can't confirm it.

Related

Microsoft teams user agent

Anyone know the name of user agent used by Microsoft Teams to parsing website ?
A customer put a link of my website on his microsoft teams but link is not rendering correctly because is not redirect to my prerender.
On 13 January 2022, the User-Agent strings of the browser used to render Teams Tab content were as follows (running in a small sample of various contexts):
Microsoft Teams (work or school) desktop app my x64 Windows 11 machine:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Teams/1.4.00.32771 Chrome/85.0.4183.121 Electron/10.4.7 Safari/537.36
Teams Android App:
Mozilla/5.0 (Linux; Android 11; M2102J20SG Build/RKQ1.200826.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/97.0.4692.70 Mobile Safari/537.36 TeamsMobile-Android
Teams Web App running in Chrome 97 on Windows:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36
I got these by creating a simple tab app that loaded the content URL https://www.httpbin.org/headers, which is a public service that just echoes the request headers in the response, then navigating to that Tab in Teams in the various contexts above.
Long story short: As is often the case with user-agent sniffing, it doesn't seem sensible here to depend on the user agent string in your application in any way, because it varies quite a lot depending on the Teams context from which the request is made. Even if you were to try to match "Teams" or "TeamsMobile" for the "app" cases, it doesn't seem documented anywhere and Microsoft could well change it in future. So, my suggestion is to forget about the Microsoft Teams user agent.
I also had this question because I wanted to block link unfurling from MS Teams for an app I was developing.
I used the following line from in a Flask app
request.user_agent.string
To get this user agent
Mozilla/5.0 (Windows NT 6.1; WOW64) SkypeUriPreview Preview/0.5
This was January 2020 so it may change over time, FYI
I suggest you can find it easily. Develop a tiny website to record user-agent of all requests. Post the url of your website in teams. Then you can find it in the recorded user-agents.

How to find the user agent string for LinkedIn app browser from iOS

What is the user-agent string added when we open LinkedIn app from an IOS mobile. I want to detect LinkedIn app from IOS using user-agent string, is that achievable. Are there unique user-agent strings for different devices for LinkedIn app
It doesn't seem like LinkedIn has a specific user agent string for the app browser.
From using udger (opening an udger link from LinkedIn Messages on native mobile App for iPhone) I got the following:
Mozilla/5.0 (iPhone; CPU iPhone OS 9_2_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13D15
Which differs heavily from one you get from the FB browser which looks like this:
Mozilla/5.0 (iPad; U; CPU iPhone OS 5_1_1 like Mac OS X; en_US) AppleWebKit (KHTML, like Gecko) Mobile [FBAN/FBForIPhone;FBAV/4.1.1;FBBV/4110.0;FBDV/iPad2,1;FBMD/iPad;FBSN/iPhone OS;FBSV/5.1.1;FBSS/1; FBCR/;FBID/tablet;FBLC/en_US;FBSF/1.0]
The main difference being the Mobile/13D15, but unfortunately that has no correlation with LinkedIn, but only with the Mobile Build number.
If you've gotten any new progress on this issue feel free to reply!
We have been in the situation where we needed to quickly find the UAs for facebook, Twitter and other apps that use webviews on iOS.
We ended up using a service on udger.com
This gives you the string quickly if you open the site in the service. (send yourself a facebook message with the link or something like that.)
I am sure that there are multiple other services like udger, but that was the one we ended up on.

How to detect Android 4.0 native browser?

Default user agent on Android v4 is :
Mozzila/5.0 (x11;linux x86_64) Applewebkit/534.24(KHTML, like Gecko)
Chrome/11.0.696.34 Safari/534.24
How to detect it with php, but only on mobile devices?

i want to view something in the internet, how can i do it?

i want to view something in the internet, how can i do it?
Thanks
If all else fails, route your WLAN over a box on which you install a network sniffer. Dump the HTTP traffic. That's the last resort solution, but for sure works.
Generally user agent sniffing is the only method used to detect iPhones. You can use the develop menu in Safari to change your user agent string. An example iPhone user agent string is
Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5
Alternatively, you can add a bookmarklet by Shaun Inman to Mobile Safari that allows you to view source code on your device (or just visit the page directly).

How can I get the actual culture name from an iPhone web app?

CLARIFIED: This is a JavaScript Web Application not a Native Object-C application.
I have a web application running on the iPhone that I need to globalize.
I've configured Settings->General->International->Region Format to "United Kingdon" and left Language as "English".
Upon inspection of the User Agent string I'm seeing the following:
Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Mobile/8A293
I would expect to en-GB but I'm seeing en-us.
I've even tried restarting the iPhone and it remains en-us.
From what I understand, the language portion comes from set type of your iPhone's "Language" (e.g. menus and buttons in the user interface) and not the Region Format.
source
I believe you should use NSUserDefaults to get that information
ChoosingLocalizations
It would appear as if the iPhone browser does not look at the region being set by the settings on the device.
The user agent and navigator.language both return en-US and disregard any changes to the region by the user.

Resources