Skip to content
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

Inconsistent response from useSignIn (react-native) #231

Open
alvesjtiago opened this issue Dec 1, 2024 · 0 comments
Open

Inconsistent response from useSignIn (react-native) #231

alvesjtiago opened this issue Dec 1, 2024 · 0 comments
Labels

Comments

@alvesjtiago
Copy link

What is the bug?
While implementing useSignIn with a new react native app using Expo (and following the example provided), isSuccess is never true and onSuccess is never called.

onStatusResponse is the only callback that is triggered and only about 20% of the times upon a redirect from Warpcast it returns with state: "completed" and the user info. All other times, the onError callback returns: Error [AuthClientError: Network request failed] and the onStatusResponse returns with state: "pending".

How can it be reproduced? (optional)
Running the example code with the latest expo version and Farcaster AuthKit 0.6.0.

Additional context (optional)
Expo: 52.0.11
Farcaster AuthKit: 0.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant