- BlackBerry 10 User Agent String Is Here For Developers
  • 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
  • Sponsored Ad

  • Recent Comments

  • Most Commented

    The most commented articles on BlackBerryOS over the past 24 hours.
  • Recent Forum Posts


    which would you buy Passport or Classic

    These choices are terrible if you ask me. The Passport is too big and the Classic seems like a step backwards with the addition of the 'Belt". I

    CeeXTwo 07-23-2014, 10:01 AM Go to last post

    which would you buy Passport or Classic

    Hi, with the new passport and Classic due out soon, interested to hear members thoughts on which one you might buy and why?
    personally i am going

    merlin29 07-23-2014, 03:03 AM Go to last post
  • Sponsored Ad