[CLOSED] i have to use user id and user mobile no from auth in almost all call in appwrite database
- 0
- Resolved
- Android
how will i get this very easily or we need to wait for account.get() and after completing this request i will call any database by passing user id and mobile no?
this isn't really related to appwrite. this is a question more specific to your application's data fetching design i suppose.
regardless, you can simply do account.get() at the start of the UX lifecycle, and store the required data in a cache or a local variable that you can reference whenever needed.
a function like account.get() doesn't take a lot of time, so you could just use account.get() whenever you need as well.
ok
[CLOSED] i have to use user id and user mobile no from auth in almost all call in appwrite database
Recommended threads
- OAuth Missing redirect URL
Hello all, on a Flutter mobile app with latest Appwrite dependency (25.4.0) I always got "Missing redirect URL" - "Your OAuth login flow is missing a proper red...
- Need Help on Self Hosted Version of Appw...
Hi i wanted to test SMS OTP verify method but i am not able to do it. I follow all the steps but no luck. Please help me with this. I am using Appwrite self hos...
- Appwrite rejecting create and edit reque...
hello, so my issue is that when i make a debug build of my app, everything works as it should, but when i download and test a SIGNED release database rejects al...