var xmlHttp = new XMLHttpRequest()
xmlHttp.open('GET', url, false)
xmlHttp.send(null)
On Dec 22, 2014, at 1:21 PM, Ami Kapadia <ami....@gmail.com> wrote:And when I try to config db, I am getting this error :"CORS request rejected: ... : ...@localhost:5984/db_name"
On Dec 22, 2014, at 1:21 PM, Ami Kapadia <ami....@gmail.com> wrote:And when I try to config db, I am getting this error :"CORS request rejected: ... : ...@localhost:5984/db_name"Sorry, our main PhoneGap guy is out sick and not answering emails.I'm not an expert, but I'm pretty certain that 5984 is the wrong port.
Generally CBL on Android will bind to an OS-selected (i.e. random) port number. Are you sure you're using the API URL you got from the cblite.getURL() callback?