Welcome to the Kinde community.

P
K
A
A
A
Members
Lee Reichardt
L
Lee Reichardt
Offline, last seen 2 days ago
Joined September 15, 2024

Using Kinde in Expo/React-Native and I'm getting the following error in the Web side of things. Anyone have this issue and know what to do?

Metro error: (0 , _expoModulesCore.uuidv4) is not a function

  2 | import { ExecutionEnvironment, } from './Constants.types';
  3 | const ID_KEY = 'EXPO_CONSTANTS_INSTALLATION_ID';
> 4 | const _sessionId = uuidv4();
    |                          ^
  5 | function getBrowserName() {
  6 |     if (Platform.isDOMAvailable) {
  7 |         const agent = navigator.userAgent.toLowerCase();

Call Stack
  factory (node_modules/@kinde-oss/react-native-sdk-0-7x/node_modules/expo-constants/build/ExponentConstants.web.js:4:26)
  loadModuleImplementation (node_modules/metro-runtime/src/polyfills/require.js:277:5)
  guardedLoadModule (node_modules/metro-runtime/src/polyfills/require.js:184:12)
  require (node_modules/metro-runtime/src/polyfills/require.js:92:7)
  factory (node_modules/@kinde-oss/react-native-sdk-0-7x/node_modules/expo-constants/build/Constants.js:4)
  loadModuleImplementation (node_modules/metro-runtime/src/polyfills/require.js:277:5)
  guardedLoadModule (node_modules/metro-runtime/src/polyfills/require.js:184:12)
  require (node_modules/metro-runtime/src/polyfills/require.js:92:7)
  factory (node_modules/@kinde-oss/react-native-sdk-0-7x/dist/SDK/Utils.js:1:856)
  loadModuleImplementation (node_modules/metro-runtime/src/polyfills/require.js:277:5)
λ Bundled 6ms node_modules/expo-router/node/render.js (1 module)

10 comments
L
P

Hi Team. Has there been anymore movement on adding the audience to the Kinde Nuxt Module?

9 comments
P
L
O
D

, I'm building an app using Nuxt, and I need to use the useKindeClient composable inside a Server Route however it can't import this composable. How do I use the KindeClient in Server Routes in Nuxt?