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
- Do I need to upgrade my Appwrite plan?
So i am making a file hosting & sharing platform (voltzy.lol) and i am expecting approx 5-8 million visit per month and over 30 million uploads per month do i n...
- updateSession not working anymore
Was something changed recently on Cloud since updateSession is no longer working and I get 400 when calling it, with following error: ``` { "message": "The...
- API returned 400
Hey, since I upgraded to Docker Engine v29 on macOS, I keep getting errors `time="2025-11-26T22:33:36Z" level=error msg="Provider connection error Error respons...