Issue
I'm workingon a project using react native through the Expo. If I see through the Aandroid emulator thats showing data gets from Database, everything works correctly. while if I use real device it doesn’t make me view the information, but simply everything is empty.the mode of connection I used is LAN to run my app in real device.
I've tried to turn off firewall & antivirus & my device and laptop are connecting with the same Wifi but not working.
I did a check and the data from my backend arrives correctly. What may be the problem?
May you guide me to solve this issue?
Solution
I solved this by Adding base url's axios http://your add ip :8000/ instead of http://10.0.0.1:8000/
cmd : ipconfig
Answered By - Keltouma Indtaher
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.