Skip to content

How to Make API Requests from React Native / Expo #2844

Answered by mayone-du
mayone-du asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for thinking together with me! We resolved it by adding the ip option to the wrangler command 🎉

npm scripts↓

- "dev": "wrangler dev src/index.ts --persist-to=./localdb",
+ "dev": "wrangler dev src/index.ts --persist-to=./localdb --ip=192.168.40.198",

Replies: 1 comment 15 replies

Comment options

You must be logged in to vote
15 replies
@EdamAme-x
Comment options

@mayone-du
Comment options

@EdamAme-x
Comment options

@mayone-du
Comment options

Answer selected by mayone-du
@EdamAme-x
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants