2

This is a strange problem, and I have not encountered it before. All accesses are checked and the debug version works perfectly without problems. Manifest internet access its ok . only and only after release react native app cant access internet with fetch .

bnnoor
  • 656
  • 2
  • 13
  • 31

2 Answers2

3

You have to use SSL (https protocol) for API/URL. Http is only for debugging your application on the emulator, but in a release mode, you must use https for URLs.

Milad Jafari
  • 1,135
  • 1
  • 11
  • 28
1

Put android:usesCleartextTraffic="true" in your android manifest file