Apple Developer
Hi guys,
i'm currently trying to get this running:
So i'm able to register a user or log in to the account i created, but what i try to achieve
now is: i want to react to any 'Realtime' changes to this account. Like it doesnt matter if the account is created a session or anything.
My Problem: I'm not getting any feedback or response from the realtime subscription:
print("subscription func ") let realtime = Realtime(AppwriteClient.shared.client) let subscription = realtime.subscribe(channel: "account", callback: { [weak self] response in print("realtime subscription") print(String(describing: response)) DispatchQueue.main.async { self?.checkforSignedin() } }) } ```
Maybe you can help me out here a littlebit, Ty, your help is appreciated!