NativeScript / docs

The NativeScript Docs!
https://docs.nativescript.org/
13 stars 25 forks source link

Document how to access a local service through "localhost" #5

Open rigor789 opened 1 year ago

rigor789 commented 1 year ago

Accessing localhost depends on where the apps is running:

Mention that cleartext traffic is blocked by default (silently), so http or ws requests will not work unless you specifically allow cleartext traffic:

Android:

<application
 <!-- ... -->
 android:usesCleartextTraffic="true"
 <!-- ... -->
</application>

ios?