Hi, I tried looking for some similar problems but couldn't find any. Even with the doc I couldn't solve the problem.
Meanwhile, I use appwrite cloud with the latest sdk on a vue 3 js app.
I am developing a PWA and would like to set up sending notifications for various scenarios, to do this I set firebase FCM Messaging for notifications from firebase console and on my vue app.
Sending a test message actually gets received by the various clients.
Now I would like to move the handling of notifications to appwrite and to do this I set as the provider for push notifications, FCM with its congif.json file.
From here on I have various doubts: -Now do I need to add to the various users a target for notifications? if yes how can I do that? Using
messaging.createSubscriber?
In the doc I only saw examples for android or ios apps.
As a test I tried to enroll an auth client with:
const result = await messaging.createSubscriber(
'<topic_id>',
ID.unique(),
<token from firebase getToken()>
);
but i received
AppwriteException: Invalid `targetId` param: UID must contain at most 36 chars
Recommended threads
- Problem with Appwrite CLI: Removing data...
I'm having an issue with the CLI while trying to manage multiple databases within a single project. My goal is to simplify my local environment by only includin...
- Issue with Appwrite Read Request Limit b...
Hi Team, My coding terminal connected to the Appwrite CLI blew through my Projects Read request limit with in a day! and thats a large limit! I'm not sure how...
- Issue with email/password auth in Flutte...
is there an issue with Flutter auth right now? I am unable to login all of a sudden in my app with `createEmailPasswordSession`... when I go to verify the login...