
useEffect(() => {
const { client } = createClient();
const unsubscribe = client.subscribe(`databases.${process.env.EXPO_PUBLIC_APPWRITE_DATABASE}.tables.68a3fd390007b23f8ee7.rows.68b2f2e0001bdd8aeda6.update`,
(response) => {
console.log(response);
},
);
return () => {
unsubscribe();
};
}, []);
The above is my code, this is just a test. I have confirmed that all IDs are correct and the table has CRUD (any) permissions set. Then I updated the data in the AppWrite Cloud Dashboard, but I still didn't receive any response.
Seniors please help, I'm really at a loss as to what to do. I'm using the react-native-appwrite package and the environment is expo development build.
Recommended threads
- CLI Error: Email and URL Field Types Not...
CLI throws "Unsupported attribute type: email" when pushing tables with `email` or `url` field types. Environment - CLI: appwrite-cli (npx) - Region: NYC Cloud...
- Auth missing scope account
[500] GET /dashboard ReferenceError: user is not defined at _page (src/routes/dashboard/+page.svelte:24:2) at eval (.svelte-kit/generated/root.svelte:71...
- Appwrite DNS & iCloud Mail Server Setup
Hello, My DNS settings are managed through Appwrite, and I would like to add a custom email address to iCloud. I have never had any issues setting this up direc...
