Android doesn't allow HTTP connections by default. This is very inconvenient when dealing with localhost servers in the "positron"/"server-and-webview" application pattern.
This PR adds a stub network security configuration that allows cleartext HTTP, but only on 127.0.0.1 (and subdomains).
With this PR, both Positron examples in the Toga repo run without problems.
Android doesn't allow HTTP connections by default. This is very inconvenient when dealing with localhost servers in the "positron"/"server-and-webview" application pattern.
This PR adds a stub network security configuration that allows cleartext HTTP, but only on 127.0.0.1 (and subdomains).
With this PR, both Positron examples in the Toga repo run without problems.
Fixes beeware/briefcase#916.
PR Checklist: