lenymo
lenymo
KKinde
Created by lenymo on 9/12/2024 in #💻┃support
React Native @kinde/expo in the browser
Greetings, I'm a front-end dev from Melbourne, Australia and I'm currently working on a new React Native build which I'm hoping to use Kinde for authentication. I've done some searching through the discord for past support requests and have started using the @kinde/expo package. I've been able to integrate things for an iOS build according to the docs and hook up the provider and the useKindeAuth() hook, but I'm getting an error when I try to view the RN build on the web.
Static Rendering Error (Node.js)
window is not defined
Static Rendering Error (Node.js)
window is not defined
There is a pointer to:
node_modules/@kinde/expo/dist/kinde-expo.cjs (1:3067)
node_modules/@kinde/expo/dist/kinde-expo.cjs (1:3067)
Some info which may be helpful: - 0.1.1 of @kinde/expo - react-native version 0.74.5 - expo version 51.0.32 I'm wondering: are there plans to support the web-based part of expo builds? This will be quite important for the application I'm building since we're planning to allow web users to view the web-based expo build. That might not be the wisest choice but that decision is out of my hands. Let me know if there's anything else I can provide which might be useful. Cheers, Glenn.
9 replies