{"action":"created","issue":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3737","labels_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3737/labels{/name}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3737/comments","events_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3737/events","html_url":"https://github.com/pouchdb/pouchdb/pull/3737","id":69357901,"number":3737,"title":"Fix for BlackBerry 10 selecting WebSQL backend instead of IndexedDB","user":{"login":"alax","id":474940,"avatar_url":"https://avatars.githubusercontent.com/u/474940?v=3","gravatar_id":"","url":"https://api.github.com/users/alax","html_url":"https://github.com/alax","followers_url":"https://api.github.com/users/alax/followers","following_url":"https://api.github.com/users/alax/following{/other_user}","gists_url":"https://api.github.com/users/alax/gists{/gist_id}","starred_url":"https://api.github.com/users/alax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alax/subscriptions","organizations_url":"https://api.github.com/users/alax/orgs","repos_url":"https://api.github.com/users/alax/repos","events_url":"https://api.github.com/users/alax/events{/privacy}","received_events_url":"https://api.github.com/users/alax/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-04-18T23:05:40Z","updated_at":"2015-05-02T19:16:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pouchdb/pouchdb/pulls/3737","html_url":"https://github.com/pouchdb/pouchdb/pull/3737","diff_url":"https://github.com/pouchdb/pouchdb/pull/3737.diff","patch_url":"https://github.com/pouchdb/pouchdb/pull/3737.patch"},"body":"Apparently the BlackBerry 10 browser identifies itself as Mobile Safari, which causes the WebSQL adapter to be selected instead of IndexedDB, even though the BlackBerry 10 browser has a modern IndexedDB implementation.\r\n\r\nThis fix simply causes the IndexedDB backend to identify itself as valid on the BlackBerry 10 platform.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/comments/98388914","html_url":"https://github.com/pouchdb/pouchdb/pull/3737#issuecomment-98388914","issue_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3737","id":98388914,"user":{"login":"alax","id":474940,"avatar_url":"https://avatars.githubusercontent.com/u/474940?v=3","gravatar_id":"","url":"https://api.github.com/users/alax","html_url":"https://github.com/alax","followers_url":"https://api.github.com/users/alax/followers","following_url":"https://api.github.com/users/alax/following{/other_user}","gists_url":"https://api.github.com/users/alax/gists{/gist_id}","starred_url":"https://api.github.com/users/alax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alax/subscriptions","organizations_url":"https://api.github.com/users/alax/orgs","repos_url":"https://api.github.com/users/alax/repos","events_url":"https://api.github.com/users/alax/events{/privacy}","received_events_url":"https://api.github.com/users/alax/received_events","type":"User","site_admin":false},"created_at":"2015-05-02T19:16:17Z","updated_at":"2015-05-02T19:16:17Z","body":"Oh, my apologies, I have been so busy I completely forgot to run the tests. I am away from my workstation for the next few days, but if you can wait until next Friday or so, I can do it then. I'm fairly certain it will work, since we have a fairly large user base using IndexedDB on 10.2, and there have been no issues.\r\n\r\nI have been using the patched version of PouchDB on 10.3 pretty heavily since I originally posted this pull request, so I can say that at least on 10.3 everything does work as intended."}}