How I can get all the phoneNumbers of my users using appwrite apple sdk?
You can't because then any user can get other users phone numbers and that is a privacy concern.
Getting users is only available via the users app with an API key
got it, so how i can check if phone session status is verified ?
For the current user, call account.get(). The response has a phone verification field
i got an error :User (role: guests) missing scope (account)
get() dont need userId?
UserVerfied run after SendCode to the user phone number
That error means you're not logged in
but you can see i created phone Session
I don't see the sending of the sms code, but I don't see the full code with the confirmation.
Also, it's weird you have the await before the print...will that await the account.get()?
i changed it to the user login with the sms session -> after the user put the correct code im using the account.get() to check if his name is empty so i know its a new user - > and then open signup details signupView.... - > after the user field all the signup fields i need to update them so i have question if i use preference field inside appwrite auth for coins and i want this field to be secure so no one can change his amount of coins or someone else coins i can achieve that with preference field and use private functions in my code?
??
Instead I recommend having a collection for that. Meanwhile nobody can change other user coins when using user preferences, the current user can change it's own coins
So having a dedicated collection without write and edit permission will help to prevent manipulation (since it will be only possible to modify it with a function)
ok so i uploaded the project to a git repo and i connect it to appwrite i tried to figure it out with the documentation but is not understood so i have multiple questions :
i need to make functions directory in my project ? what it is Entrypoint? runtime Node.js?
Thank you for the help 🙂
Checkout the official appwrite youtube channel there is a playlist on appwrite functions. Seeing someone do it will help if the documentation is not clear enough for you.
Recommended threads
- Quota not resetting
hi, im using appwrite's free tier plani hit my read limts last month and the billing cycle said it would reset on june 4th but that is today, the billing cycle ...
- Realtime Error Invalid query: Syntax err...
I was test driving Self-Hosted Appwrite for my use with Swift IOS apps as a backend while back and after successful trials, I started to move to incorporate int...
- TSL Certificate Issues
Hi Appwrite Discord Community, I got a problem with my Self-Hosted instance. I only want, that I can use my programm with the Appwrite Backend without .selfSig...