Dan
Dan
KKinde
Created by Dan on 10/31/2024 in #💻┃support
Using `@kinde/expo` for app `client`
I've recently updated our app to use the @kinde/expo SDK for app authentication, using the docs I saw linked on one of the Discord posts https://github.com/kinde-oss/expo It seems to be working well and fixes a local Android issue when using @kinde-oss/react-native-sdk-0-7x . However, we still have this RN SDK installed to handle the client - i.e....
import { KindeSDK } from '@kinde-oss/react-native-sdk-0-7x';
import { Kinde } from '@/constants/general';

const client = new KindeSDK(
Kinde.DOMAIN,
Kinde.REDIRECT_URI,
Kinde.CLIENT_ID,
Kinde.REDIRECT_URI,
'profile openid email',
{
audience: Kinde.AUDIENCE,
},
);

export default client;
import { KindeSDK } from '@kinde-oss/react-native-sdk-0-7x';
import { Kinde } from '@/constants/general';

const client = new KindeSDK(
Kinde.DOMAIN,
Kinde.REDIRECT_URI,
Kinde.CLIENT_ID,
Kinde.REDIRECT_URI,
'profile openid email',
{
audience: Kinde.AUDIENCE,
},
);

export default client;
Is there a way that we can use the @kinde/expo SDK for creating the client and using methods like getUserDetails ? Are there any more docs on the @kinde/expo` SDK other than the ones on the Github repo? Thanks
2 replies