Reputation: 26986
My index.html is fetched from the server through an https connection (otherwise I have problems with the oauth procedure).
But the address for the weinre target code is http and not https, therefore for security reasons the browser doesn't load it (at least on desktop chrome, but I assume the same will happen for the inapp browser - is this right?)
How do I solve this?
Upvotes: 2
Views: 1017
Reputation: 26986
Since you control the access restrictions on phonegap, adding
<access origin="http://192.168.1.100" />
to the config.xml solves this.
(Where the ip address is my debugging computer local network address)
Upvotes: 2