Connect PHP api to React-Native for User Login

one text

Solution:

Try changing the localhost to your system IP(IPv4)/API/endpoint. Command Prompt and type in ipconfig and use HTTP while testing locally but when live it requires Https

Source