Hi guys, when I try to access with the account.createSession function in React Native it gives me an error telling me that it is not a function and is Undefined, here is the error: account.createSession is not a function (it is undefined)
Summary
Developers are facing an issue with the `createSession` function in React Native for Appwrite. The function seems to be missing in the React Native SDK. The developers mention self-hosting everything and not finding documentation for React Native. The team is currently working on the issue with a potential update in a couple of weeks. Developers are advised to ensure they are using the appropriate SDK version compatible with their Appwrite version.
Steven
Admin
Mar 30, 2024, 16:12
Make sure you're looking at the docs that match the version of your SDK and compatible with version of Appwrite
adam
Android Developer
Mar 30, 2024, 16:12
there is no docs for React Native
Steven
Admin
Mar 30, 2024, 16:15
Are you using Appwrite Cloud?
adam
Android Developer
Mar 30, 2024, 16:15
nono i self hosted everything
adam
Android Developer
Mar 30, 2024, 16:17
I went to check the React Native SDK code and noticed that the createSession function is missing
Steven
Admin
Mar 30, 2024, 16:17
So you're running Appwrite version 1.5?
adam
Android Developer
Mar 30, 2024, 16:18
yes
Steven
Admin
Mar 30, 2024, 16:18
The react native SDK is built for Appwrite 1.4 and it's based off the web sdk so you can look at the web sdk docs for version 1.4