This question is locked. New answers and comments are not allowed.
Hi ---
I have run into difficulties with an app that accesses a remote web api via basic authentication. In the simulator, the my app runs fine. When I deploy to a connected android device, the app fails to send the HTTP_AUTHENTICATE header, and thus fails to authenticate. I've verified that the app does in fact get the username/password info correctly, it just isn't sending it. The relevant app code is quite simple:
Is this expected?
I have run into difficulties with an app that accesses a remote web api via basic authentication. In the simulator, the my app runs fine. When I deploy to a connected android device, the app fails to send the HTTP_AUTHENTICATE header, and thus fails to authenticate. I've verified that the app does in fact get the username/password info correctly, it just isn't sending it. The relevant app code is quite simple:
return $.ajax ({ username : window.localStorage.username, password : window.localStorage.password, datatype : "json",});Is this expected?