iOS build using EAS with react native and convex auth
Hey, a bit new to mobile app development.
I'm trying to use EAS to build a react-native and convex monorepo for iOS. Both local and EAS builds succeed and install, but crash on launch on the device.
I've tried doing it with this repo (no changes): https://github.com/get-convex/expo-convex-auth/blob/main/app/index.tsx and it still crashes on launch.
Anyone have any tips on this? I haven't done anything specifically to try set env variables on iOS, as I don't know how to link convex accout once its bundled and deployed.
Thanks all.
GitHub
expo-convex-auth/app/index.tsx at main · get-convex/expo-convex-auth
Example app of Expo + Convex Auth. Contribute to get-convex/expo-convex-auth development by creating an account on GitHub.
2 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
Instant crash does sound like environment variables missing. Add some logs as early as possible in your main component to get a sense of when it's actually crashing, that should bring a lot of clarity.