You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to nhost's documentation, we must pass localhost or localhost:1337 as the value for subdomain and a blank/empty string for region if we want to develop using Nhost CLI. This is shown below as well:
But the issue here is we cannot use localhost on Android emulators. If we try to do so, we get the following error:
Observe here, the URL contains a double dot .. because of the blank region which makes the URL invalid as the library does not consider 10.0.2.2 as localhost.
In order to access the parent device's localhost, we must use http://10.0.2.2 in the URL instead of localhost.
Please consider making this change in the library to enable development on Android Emulators as well.
The text was updated successfully, but these errors were encountered:
According to nhost's documentation, we must pass
localhost
orlocalhost:1337
as the value forsubdomain
and a blank/empty string forregion
if we want to develop using Nhost CLI. This is shown below as well:But the issue here is we cannot use
localhost
on Android emulators. If we try to do so, we get the following error:Observe here, the URL contains a double dot
..
because of the blankregion
which makes the URL invalid as the library does not consider 10.0.2.2 as localhost.In order to access the parent device's localhost, we must use
http://10.0.2.2
in the URL instead oflocalhost
.Please consider making this change in the library to enable development on Android Emulators as well.
The text was updated successfully, but these errors were encountered: