Hi guys, im pretty new here and i'm starting to use appwrite and i already got some stuff done ๐ But i think i hit a road block, that perhaps is simple one to resolved. I'm following the documentation and when i'm and several places appears this ".setKey(" to define the client but when i try to use this on my project this message "vale of type 'Client' has no member 'setKey'". Can you guys help me understand what im doing wrong ๐ฆ
You two types of Appwrite SDKs One for clieny access and one for server side access You can see more about it here https://appwrite.io/docs/functions
In your code your accessing the client one which don't have the by key option.
In your case you're it seems like you're trying to connect from the client Apple iOS side and this SDK will work on client mode
Recommended threads
- Error: User (role: guests) missing scope...
I want to send a verification code to the user and the given phone number and check it and create a session right after the user entered the secret. For me that...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...
- How to verify an user using AppWrite Fun...
I have seen similar questions but none whose solutions serve me. I have a function to verify a user with their secret and their id: https://blahblah.appwrite.gl...