I can login into the app using the username and password in android emulator. But when I try to login in the real mobile device with same login credentials, the error is thrown reading: cannot read property 'status' of undefined.
I am getting data and token from API. The api works perfectly in the emulator. What could be the issue?
Tried to login in the react native app using username and password in real android device. I expected to be logged in with the correct login credentials.
But not able to. It showed error: 'Cannot read property 'status' of undefined.
The same code is working perfectly for emulator.