From fed9f4ff0f9e3cb5a6193115c46ef8f6e23c3c1c Mon Sep 17 00:00:00 2001 From: Xeovalyte Date: Mon, 14 Nov 2022 16:47:12 +0100 Subject: [PATCH] sound test --- backend/index.js | 7 +++++-- backend/notification.mp3 | Bin 0 -> 19326 bytes 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 backend/notification.mp3 diff --git a/backend/index.js b/backend/index.js index 75817a4..5430f5d 100644 --- a/backend/index.js +++ b/backend/index.js @@ -140,8 +140,11 @@ app.post('/sendmessage', async (req, res) => { }, topic: 'all', apns: { - headers: { - 'apns-push-type': 'alert' + payload: { + aps: { + badge: 1, + sound: 'default' + } } } }; diff --git a/backend/notification.mp3 b/backend/notification.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..1e5ab73b88617a5f24475f9055a13c1b9c0735c6 GIT binary patch literal 19326 zcmeI2byyYM+wTY1zy>z3>F$v35(GERrn|cvL_$GfBV9_Tba%I;G%Ae(f{2KO0@CR| z@Vw{up7YP^zmL~B-q*}EYv!K#&i$FS=3X-kE++^AZp}nf8?Jw|Rmw+4%vTYGy)M;8}J>c-l@0Jop zhEkid?TT(hro3b7ys90LK`u{R>@r|)T6E@`eMGqrL!sT>-My0QMu0;1vp+5)K#X9n zjs2I9!85rvC$lqkkN%k>sQLw~x@Y#M^Grt8NWI>{T*Jp65TCh9DAsy_9Zp!V;92%` zyhatjrVTHCUb}kZ{*Y`0@*Fm7vRn8$B*QP+D+HqqK^R@O;#tMc@nF9|NSteZFNDt4 zhz&>Ig0+Y!1!jfM?o$TQZNwI|9cWK{*33L5qg;$0X82*4ibN#@5QWI$9mt@evug%Q zW6)fUOgwy})bi#2%c2&~(+)e04O91+d&P`KhjkzK8U&5~a>kBFCiF7oK6we0R0QbK zXmqosxg9gdh>JX*`OxBeRLB**-Tuj2k+QY6y9_>`%?M{s44SU{RLNzL_w0<7qM$ax zFGHO~-i2Sfr=X-kXgjDRR;SP851ct?AJ_=}E+--YmKbkJc?LDE}z&TX+@-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