• BlackBerry 10 User Agent String Is Here For Developers

    To make use of the amazing browser that's coming along on BB10, websites need to know what type of browser it is and thus display rich content accordingly instead of a "mobile version."

    In order to make this differentiation stand out even more RIM has released the BB10 User Agent String for developers that may need this component for their apps.

    "Mozilla/5.0 (BB10; <Device Model>) AppleWebKit/<WebKit Version> (KHTML, like Gecko) Version/<BB Version #> Mobile Safari/<WebKit Version>"

    Now, this may not make a lot of sense to any non-devs reading this, but we can assure you it's a very smart move on RIM's part.

    "What has changed?

    • Many websites are filtering on the word “BlackBerry” and providing our very capable browser with the most basic of mobile web pages, while rich content is being pushed to our competitors. To avoid this pitfall, we removed the word “BlackBerry” from our user agent and replaced it with “BB10”. This change will require web administrators to add this new identifier to their user agent detecting scripts
    • We cleaned up the user agent string by removing both the locale (e.g. “en-US”) and the strong encryption indicator (e.g. “U”) [don’t worry, we still support strong encryption]

    Check out the Inside BlackBerry Dev Blog for more information.

    comments powered by Disqus