While tinkering with the http example posted before, I've stumbled over my Android-version not allowing unencrypted communication. When I try to access my NodeRed-Instance:
com.android.... CleartextHTTP traffic to 192.168.0.1 not permitted.
While this is sensible in internet-communications, it complicates my internal setup and would also need t:https, I suppose. Quick searching shows this as default in Android 8+ and only being avoidable by changing the Manifest of the app.
Any chance, this might happen, or any workarounds for this?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
While tinkering with the http example posted before, I've stumbled over my Android-version not allowing unencrypted communication. When I try to access my NodeRed-Instance:
Bluetooth.println(JSON.stringify({t:"http", url:"http://192.168.0.1:1880/somewhat" }));
I get:
com.android.... CleartextHTTP traffic to 192.168.0.1 not permitted.
While this is sensible in internet-communications, it complicates my internal setup and would also need t:https, I suppose. Quick searching shows this as default in Android 8+ and only being avoidable by changing the Manifest of the app.
Any chance, this might happen, or any workarounds for this?