lexcodeit
lexcodeit
CCConvex Community
Created by lexcodeit on 12/5/2024 in #support-community
React Native Deployment
Yes I did. And it worked now. It tried everything on a different app and it worked very well. The issues were from a different component within my app.
11 replies
CCConvex Community
Created by lexcodeit on 12/5/2024 in #support-community
React Native Deployment
Actually, the latter. I just want to test out my convex functions before pushing to the stores
11 replies
CCConvex Community
Created by lexcodeit on 12/5/2024 in #support-community
React Native Deployment
Yes it works very well on the expo go app. I face this issues when I try pushing to production or creating a preview build. Try creating a preview build and thats where I'm having issues
11 replies
CCConvex Community
Created by lexcodeit on 12/5/2024 in #support-community
React Native Deployment
Yeah, I think I need to add npx convex deploy in the build step. But I don't know how. On the eas docs, I just looked up custom build configuration. Heres the link: https://docs.expo.dev/custom-builds/get-started/ It involves writing a .yml file and I really don't know how that works. Although I will start looking it up but your help will really go a long way to help me figure this out. Thank you @sshader
11 replies
CCConvex Community
Created by lexcodeit on 12/5/2024 in #support-community
React Native Deployment
I honestly don't know what the build command look like. Now you mention it, I just remember that while deploying NextJS projects, You have to override the build command to run the npx convex deploy process and which I didn't. But on NextJS, its easy because of the guide given by your team on the docs. But nothing has been said about expo. Please it is high priority to have something like that for expo(EAS builds). I'm really looking forward to that update.
11 replies
CCConvex Community
Created by lexcodeit on 12/5/2024 in #support-community
React Native Deployment
Thank you so much for your response. I was scared I wouldn't get any. So yeah, For the ConvexReactClient, this is how I initialize it So, in my app/_layout.tsx file, function RootLayoutNav() { const convex = new ConvexReactClient(process.env.EXPO_PUBLIC_CONVEX_URL!, { unsavedChangesWarning: false, }); return ( <ConvexProvider client={convex}> <Slot /> </ConvexProvider> ); } From the build error, its saying EXPO_PUBLIC_CONVEX_URL is probably undefined. From this line here "Exception com.facebook.react.common.JavascriptException: Error: No address provided to ConvexReactClient." Although I already added it to my env both on eas and the codebase. Also when I monitor the logs, it shows the environment variables properly too.
11 replies
CCConvex Community
Created by ibrahimyaacob on 12/2/2024 in #support-community
adding react native (expo) to existing Next + Convex app (with Convex Auth)
Not the best answer but I manually sync my convex folder after each work session.
3 replies
CCConvex Community
Created by shea on 9/1/2024 in #support-community
IdTokenExpired on using convexAuthNextjsToken in production
I'm using "@convex-dev/auth": "^0.0.69", "convex": "^1.16.2" I managed to just clear cookies manually whenever I run into the issue for now till I figure a better way out.
95 replies
CCConvex Community
Created by lexcodeit on 10/1/2024 in #support-community
Error: {"code":"IdTokenExpired","message":"Expired: ID token expired at 2024-09-27 18:40:05 UTC
Thanks 💯
11 replies
CCConvex Community
Created by lexcodeit on 10/1/2024 in #support-community
Error: {"code":"IdTokenExpired","message":"Expired: ID token expired at 2024-09-27 18:40:05 UTC
I had to do that and clear cookies on my browser. But I want a better solution for end users.
11 replies
CCConvex Community
Created by lexcodeit on 10/1/2024 in #support-community
Error: {"code":"IdTokenExpired","message":"Expired: ID token expired at 2024-09-27 18:40:05 UTC
No description
11 replies
CCConvex Community
Created by lexcodeit on 10/1/2024 in #support-community
Error: {"code":"IdTokenExpired","message":"Expired: ID token expired at 2024-09-27 18:40:05 UTC
No description
11 replies
CCConvex Community
Created by shea on 9/1/2024 in #support-community
IdTokenExpired on using convexAuthNextjsToken in production
No description
95 replies
CCConvex Community
Created by lexcodeit on 10/1/2024 in #support-community
Error: {"code":"IdTokenExpired","message":"Expired: ID token expired at 2024-09-27 18:40:05 UTC
Yeah. Its definitely related. But no solution on that end too.
11 replies
CCConvex Community
Created by shea on 9/1/2024 in #support-community
IdTokenExpired on using convexAuthNextjsToken in production
Thank you Allen for your help in fixing this so far. I'm still stuck with this error. Please any new solutions. The worst of it all is that I cant even logout of my web app to be able to sign in and create new tokens. This only happens on nextJS
95 replies
CCConvex Community
Created by lexcodeit on 9/30/2024 in #support-community
Is there a way to get list of connected devices to the convex app?
I'm reading it now. Thanks
4 replies
CCConvex Community
Created by lexcodeit on 9/27/2024 in #support-community
Is there a way to share my functions and schemas across my project apart from a monorepo?
Thanks for this
5 replies
CCConvex Community
Created by lexcodeit on 9/27/2024 in #support-community
Is there a way to share my functions and schemas across my project apart from a monorepo?
Nope, I'm reading through now
5 replies