Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to BlackBerry smartphone and Playbook User Agent detection #2505

Closed
anonymous-matomo-user opened this issue Jun 22, 2011 · 5 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

Currently the BlackBerry Playbook isn't detected correctly (shows Safari 0.0 as Browser and Device unknown), this is what the user agent looks like:


Your user agent: Mozilla/5.0 (PlayBook; U; RIM Tablet OS 1.0.0; en-US) AppleWebKit/534.11+ (KHTML, like Gecko) Version/0.0.1 Safari/534.11+

Browser info:
array
'id' => string 'SF' (length=2)
'name' => string 'Safari' (length=6)
'short_name' => string 'Safari' (length=6)
'major_number' => string '0' (length=1)
'minor_number' => string '0' (length=1)
'version' => string '0.0' (length=3)

Operating System info:

boolean false

A proper Icon for the Playbook could be the current iPad icon or maybe this one: http://de.blackberry.com/devices/blackberrytorch/appworld_icon.jpg

@robocoder
Copy link
Contributor

I'll have to mull this over. The Playbook could be orphaned by the time 1.6 comes out... ;)

Version 0.0 is correct imo since it is an override and we don't parse the third component of versions, eg 4.1.0 and 4.1.2 both simplified to 4.1.

@anonymous-matomo-user
Copy link
Author

Hopefully not ;)

The question is if maybe in case of this special behaviour the version number could be cut off to avoid confusion, and just have it as Safari or Safari for Playbook/Safari Mobile, something like this.

The Safari for BB handhelds reports correctly with version 6 + release numbers...

@robocoder
Copy link
Contributor

(In [4947]) fixes #2505

@robocoder
Copy link
Contributor

reopening re: comment:2 BB smartphones shouldn't be shown as Safari 6 -- this is reserved for Apple releases.

@robocoder
Copy link
Contributor

(In [4948]) fixes #2505 - revamped BB detection/parsing

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants