#React Native Aora app Appwrite Error
4 messages · Page 1 of 1 (latest)
I'm droppping my github repo link just in case anybody likes to go through my code: https://github.com/Anant-Dev925/Aora-React_Native
okay let me check
Hi, I found the issue. You are trying to setUser(result) but the result object does not exist. It seems like you missed a step while following the video—you forgot to call getCurrentUser() after successfully signing in.
Adding this code after sign-in solves the issue:
const result = await getCurrentUser();