birdofpreyru / react-native-static-server

Embedded HTTP server for React Native
https://dr.pogodin.studio/docs/react-native-static-server
Other
135 stars 21 forks source link

[README][Android]: Mention "Cleartext Traffic" configuration in the "Getting Started" section #86

Closed shahinyan11 closed 9 months ago

shahinyan11 commented 9 months ago

The local assets work for debug mode. But in release mod it returns error - net::ERRCLEARETEXT_NOT_PERMITTED

birdofpreyru commented 9 months ago

It is just the app's sandbox blocking Webview from non-encrypted communications. You can broadly allow it this way, or configure it in a more fine-tuned way.

Please, the next time google first before opening a new ticket.