Skip to content

Lexicon Version 1: 'Please connect to a network' issue after building an APK #32

Discussion options

You must be logged in to vote

"Please connect to a network" issues that are encountered after building your app often stem from misconfigured .env files, or the GraphQL API host not being online / reachable.

During development, there are more moving pieces to ensure that the Expo Go app on a mobile device is able to reach the development server running on the same network.

In production, it is much simpler.

The URL is simply MOBILE_PROSE_HOST + MOBILE_PROSE_PORT.

And MOBILE_PROSE_PORT can often be omitted, since the desired target will often just be something like https://prose.mysite.com. Because the https:// is already specified, there is typically no need to include a port number as well, although this of course va…

Replies: 17 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Kinostrome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can't reproduce The issue was unable to be reproduced based on the information provided. 👵 Outdated
2 participants
Converted from issue

This discussion was converted from issue #9 on May 12, 2023 09:41.