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)
Make sure you're looking at the docs that match the version of your SDK and compatible with version of Appwrite
there is no docs for React Native
Are you using Appwrite Cloud?
nono i self hosted everything
I went to check the React Native SDK code and noticed that the createSession function is missing
So you're running Appwrite version 1.5?
yes
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
when will you update it to version 1.5?
We're working on it. Maybe in a couple weeks
Recommended threads
- How to properly implement custom domain?...
- Can't run functions from console in appw...
Hello, I have an appwrite 1.9.0 self hosted, functions run correctly with client SDK or event when using the function domain *.function.mydomain, for testing pu...
- Site deployment does not work.
I can change a file, deploy, change does not take effect. Delete file in repo, push changes,deploy. Old file remains undeleted Duplicate file, rename it, push,...