From b230ddb62d5081681670de7332f8ace5faa788ff Mon Sep 17 00:00:00 2001 From: Aman Varshney Date: Tue, 1 Apr 2025 19:26:50 +0530 Subject: [PATCH] Improve native connectivity instruction message --- .changeset/late-ends-find.md | 5 +++++ apps/cli/src/helpers/post-installation.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/late-ends-find.md diff --git a/.changeset/late-ends-find.md b/.changeset/late-ends-find.md new file mode 100644 index 0000000..7618d3e --- /dev/null +++ b/.changeset/late-ends-find.md @@ -0,0 +1,5 @@ +--- +"create-better-t-stack": patch +--- + +Improve native connectivity instruction message diff --git a/apps/cli/src/helpers/post-installation.ts b/apps/cli/src/helpers/post-installation.ts index 45679de..4081b53 100644 --- a/apps/cli/src/helpers/post-installation.ts +++ b/apps/cli/src/helpers/post-installation.ts @@ -58,7 +58,7 @@ ${nativeInstructions ? `\n${nativeInstructions.trim()}` : ""}${databaseInstructi } function getNativeInstructions(): string { - return `${pc.yellow("NOTE:")} If the Expo app cannot connect to the server, update the EXPO_PUBLIC_SERVER_URL in apps/native/.env to use your local IP address instead of localhost:\n${"EXPO_PUBLIC_SERVER_URL=http://192.168.0.103:3000"}\n`; + return `${pc.yellow("NOTE:")} For Expo connectivity issues, update apps/native/.env \nwith your local IP:\n${"EXPO_PUBLIC_SERVER_URL=http://192.168.0.103:3000"}\n`; } function getLintingInstructions(runCmd?: string): string {