no longer crashes the entire app if the url is not right on register, but calls the error callback
Merge branch 'AGCORDOVA-16'