[CLOSED] i have to use user id and user mobile no from auth in almost all call in appwrite database
- 0
- 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
- {"code": 1008, "message": "Invalid Origi...
Nothing has changed in my application or console settings so I'm curious as to what I need to do to fix this. I already have the client registered so I'm not en...
- android platform invaild origina
It happened today suddenly. Our app says invalid origin. And appwrite cloud says every time we tried to add the app to it: "param platformId" is not optional.
- All my apps are not opening now
All my apps are not opening now 200+ apps are not opening plz fast