Bug Report #3463

User agents is missing mobile detection of ipod touch and ipad

Added by Akiva Levy almost 4 years ago. Updated over 3 years ago.

Status:ClosedStart date:12/07/2010
Priority:NormalDue date:
Assignee:Woody Gilk% Done:

100%

Category:Core
Target version:v3.0.10
Resolution:fixed Points:

Description

Fixed by extending user agents config file like so:

'mobile' => array(
'mobileexplorer' => 'Mobile Explorer',
'openwave' => 'Open Wave',
'opera mini' => 'Opera Mini',
'operamini' => 'Opera Mini',
'elaine' => 'Palm',
'palmsource' => 'Palm',
'digital paths' => 'Palm',
'avantgo' => 'Avantgo',
'xiino' => 'Xiino',
'palmscape' => 'Palmscape',
'nokia' => 'Nokia',
'ericsson' => 'Ericsson',
'blackBerry' => 'BlackBerry',
'motorola' => 'Motorola',
'iphone' => 'iPhone',
'ipod' => 'iPod',
'ipad' => 'iPad',
'android' => 'Android',
),

Associated revisions

Revision 60c8cd77
Added by Woody Gilk over 3 years ago

Added iPad and iPod to mobile user agents, fixes #3463

History

#1 Updated by Jeremy Bush almost 4 years ago

  • Target version set to v3.0.9

#2 Updated by Woody Gilk almost 4 years ago

  • Status changed from New to Feedback

That's a bit fuzzy... does the iPad count as a mobile device? It has an almost full sized screen and is arguably more like a netbook than a cell phone.

#3 Updated by Jeremy Bush almost 4 years ago

The iPad uses a mobile version of safari on a mobile version of OS X, but the screen is "large".

It's a coin flip either way, imo.

#4 Updated by Akiva Levy almost 4 years ago

Jeremy is correct that the iPad has been designed as a mobile device, albeit one to revolutionize the term.

When it comes to testing, a developer should include or exclude it as a strict argument. For instance, if you want to deliver mobile-enhanced content for everything but iPad, you should have to use something like 'is mobile and not is iPad'.

#5 Updated by Woody Gilk over 3 years ago

  • Target version changed from v3.0.9 to v3.0.10

#6 Updated by Woody Gilk over 3 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 0 to 100
  • Resolution set to fixed

Also available in: Atom PDF