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
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- [Beginner] CLI --queries Syntax Error & ...
Hi everyone! I am a beginner with Appwrite and trying to use the CLI, but I'm stuck with a syntax error. Any guidance would be greatly appreciated! 🙏 **Enviro...
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...