Open
Description
Prerequisites
- I have searched the repository’s issues and Kinde community to ensure my issue isn’t a duplicate
- I have checked the latest version of the library to replicate my issue
- I have read the contributing guidelines
- I agree to the terms within the code of conduct
Describe the issue
Hello 👋
I want to report a bug that I have trying to use the library in my Expo Managed app.
I get [TypeError: Cannot read property 'resetGenericPasswordForOptions' of null]
error every time I try to call client.register()
or client.login()
My configuration is
package.json
{
"react": "18.3.1",
"react-native": "0.76.5",
"expo": "~52.0.23",
"@kinde-oss/react-native-sdk-0-7x": "^2.0.1",
}
import { KindeSDK } from "@kinde-oss/react-native-sdk-0-7x";
export const useKinde = () => {
const client = new KindeSDK(
process.env.EXPO_PUBLIC_KINDE_ISSUER_URL,
process.env.EXPO_PUBLIC_KINDE_POST_CALLBACK_URL,
process.env.EXPO_PUBLIC_KINDE_CLIENT_ID,
process.env.EXPO_PUBLIC_KINDE_POST_LOGOUT_REDIRECT_URL
);
const handleSignUp = async () => {
try {
const result = await client.register();
} catch (error) {
console.log("ERROR", error);
}
};
const handleSignIn = async () => {
try {
const result = await client.login();
} catch (error) {
console.log("ERROR", error);
}
};
I've seen this error with React-Native Keychain on another thread, maybe it's linked?
Let me know if you need more details, and thanks again for your work on the lib! 🙏
Library URL
https://github.com/kinde-oss/kinde-react-native-sdk-0-7x
Library version
2.0.1
Operating system(s)
macOS
Operating system version(s)
macOs Sequoia 15.3
Further environment details
No response
Reproducible test case URL
No response
Additional information
No response
Activity