Hello everyone,
I am trying to send critical alerts/notifications trough the Appwrite-Messaging tool. The app does have all the required entitlements, etc..
As of now, i have tried it with the Server SDK for NodeJS and the following code (see Picture).
For APNS to recognize a notification as critical, there needs to be a {"critical":1}
-Parameter in the "sound":
-Section of the payload send to APNS.
The code in the example however, will cause "{\"critical\":1}"
, which APNS will not recognize. Is there any way to get this in the right format, as the SDK only accepts strings as input?
Any help is appreciated
Did you figure this out?
Nope. For now, i am just communicating with APNS directly, without using the Appwrite tool. to be honest, i did not made any further attempts to get this to work, as just contacting APNS directly works fine for me, altough if someone figured it out, i would probaly make the switch, as that would save me some headaches.
Oh thats unfortunate. Nonethless thanks!
Seems like I just bumped it up again. So maybe someone from the core team sees it and can help out
That would be awesome. This could also be resolved, if Appwrite would support the ``interruption-level`-attribute which APNS recognizes. That way, time-sensitive notifications would also be possible
Yepps
Recommended threads
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- Can't login or deploy functions in Appwr...
Hello, since i updatet to the appwrite cli 6.1.0 i can't login or deploy functions with the cli. When i call the command: "appwrite get account --verbose" i ge...
- Create admin user?
I'm not really sure how this is supposed to work, I installed Appwrite through docker-compose and set it up. When I launched the app and went into it, I created...