[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
- The current user is not authorized to pe...
I want to create a document associated with user after log in with OAuth. The user were logged in, but Appwrite said user is unauthorized. User is logged in wi...
- My account is blocked so please check an...
My account is blocked so please unblock my account because all the apps are closed due to which it is causing a lot of problems
- Deep Linking & Password reset
I am using react native with expo. I want to implement deep link with the url recived via email. So when clicked the link it opens my app. I havent ever used de...