-
-
Notifications
You must be signed in to change notification settings - Fork 53
Web and Expo app throw errors #214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
TypeError: _ExpoSecureStore.default.getValueWithKeySync is not a function |
@SamphireOG I'm not able to reproduce. Have you updated your Expo Go? It should support Expo 53 |
I am able to reproduce. This issue is related to creating a web app with expo and not the package named web. Reproduction
CauseThis is because expo-secure-store is not supported on web as far as I can tell. SolutionSeems like people have seen this before, and this solution worked for me. Only issue is the typing + async nature for web implementation. I feel like the BetterAuth team may have to find the upstream fix because this is an issue with their recommended implementation. |
Running this command:
bun create better-t-stack@latest better-t-2-6-0 --yes --frontend native tanstack-start --api orpc --addons biome turborepo --examples ai todo
When I open the web app, nothing loads and there are no error logs in the console either. Same with the Expo app.
The text was updated successfully, but these errors were encountered: