serbanghita / Mobile-Detect

Mobile_Detect is a lightweight PHP class for detecting mobile devices (including tablets). It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.
http://mobiledetect.net
MIT License
10.51k stars 2.67k forks source link

SmartWatch support thread #902

Open serbanghita opened 1 year ago

serbanghita commented 1 year ago

Problem It appears that some smartwatches have browsers incorporated in them. If there are enough case studies across the smartwatches industry vendors, then we should create a special method isSmartWatch that aims to detect small surfaces like a watch.

Not sure how relevant is this so let me know your thoughts.

See https://github.com/serbanghita/Mobile-Detect/issues/898

tcse commented 1 year ago

Visual work of the web browser on the samsung galaxy watch 4

watch4_05

google search results watch4_06

And this is how it is implemented in mail clients. Side padding for ease of reading. watch4_04 watch4_03 watch4_02

user agent watch4 watch4_07

serbanghita commented 1 year ago

@tcse how do you get these screenshots?

tcse commented 1 year ago

@tcse how do you get these screenshots?

basic functions of Google Wear OS is to press both buttons on the watch. The screenshot will automatically be sent to the companion phone.

serbanghita commented 1 year ago

@tcse thanks a lot for the details. I don't own smartwatches but I have many friends and colleagues owning them and I will start asking around and then build a PR