

can you show how the context is passed into that class?

if you are in MainActivity use getContext() instead of context

getContext() or getApplicationContext() ?

getContext if you are inside of an Activity


the correct way using viewmodels 😄

@Steven if you want to use my repo as Jetpack Compose example i don't have any problem with that 🙂

so is your problem resolved?

is not mine, i'ts @gyancodes issue

oh god im sorry 🫢

np 🙂

@Der Sarco Thanks for help, but I am still finding the solution,


@Steven Oh I looked into it and It helped to resolve my problem, thanks 🫡

[SOLVED] Facing error while passing context
Recommended threads
- Realtime Disconnects and Error: INVALID_...
Hi! I just want to ask here if there's any workaround with the disconnect issues we're encountering when subscribing to realtime events in react native using ex...
- Console is not opening
Plz solve this issue console is not opening
- OAUTH2 doesn't works
https://github.com/202420505/APPWRITE-GOOGLE-AUTH Is my code wrong? I think this is also related to deeplinks
