chen-rn / CUA

(deprecateed) create-universal-app(CUA) is an opinionated template for creating fullstack universal apps (Expo, Next, tRPC, Prisma, Clerk, Solito, Tamagui)
https://cua-demo.vercel.app
MIT License
1.02k stars 67 forks source link

Ensure productionApiUrl is used in Expo app #22

Closed albertdbio closed 1 year ago

albertdbio commented 1 year ago

When building the Expo app for production localhost will not be avaiable. Thus, although the app builds and installs on the device, only a blank screen will appear. Therefore, we must use the production url of the deployed Next.js app. A good place to store this variable is the Expo manifest.

vercel[bot] commented 1 year ago

Someone is attempting to deploy a commit to a Personal Account owned by @chen-rn on Vercel.

@chen-rn first needs to authorize it.

chen-rn commented 1 year ago

Really good! A necessity for anyone that will eventually deploy their app to the appstore.