Blackberry 9800 Torch (and others)
I was trying your plugin with my BP site with my new Blackberry 9800 Torch and it wasn’t working. I took a look at the plugin code and noticed that the string you are looking for was:
OS6 introduced webkit to Blackberry devices and also changed the format of the user-agent string. For the Torch 9800 it’s:
Mozilla/5.0 (BlackBerry; U; BlackBerry 9800; en) AppleWebKit/534.1+ (KHTML, Like Gecko) Version/184.108.40.206 Mobile Safari/534.1
I fixed my install by making the matching string to be “BlackBerry 9800″ rather than “blackberry9800″.
That said, I wonder if it wouldn’t be better to avoid all the complexities of model numbers etc. and key in on what really makes your plugin work… AppleWebKit. All the phones that will look good with your plugin (designed for the iPhone) will have the string “AppleWebKit” in their user agent, even the iPhone itself. Maybe you should just look for that string and remove the array of strings to compare? Just a thought.
Thanks for the great plugin!!
- The topic ‘Blackberry 9800 Torch (and others)’ is closed to new replies.