Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React native release version cant connect to internet

Tags:

react-native

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 .

like image 775
bnnoor Avatar asked Sep 19 '25 14:09

bnnoor


1 Answers

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.

like image 64
Milad Jafari Avatar answered Sep 21 '25 11:09

Milad Jafari