<div dir="ltr">Dear <span style="color:rgb(0,0,0);white-space:pre-wrap">Tijmen de Mes,</span><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">Thank you very much for your fast reply and your code example, I really appreciate it!!!</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">I will try it and I will come back to the list if I have any questions.</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">Best regards</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">Vasilios Tzanoudakis</span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 27 Jan 2023 at 19:33, Vasilios Tzanoudakis <<a href="mailto:vtzanoudakis@gmail.com">vtzanoudakis@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Dear <span style="color:rgb(0,0,0);white-space:pre-wrap">Tijmen de Mes,</span></div><div dir="ltr"><font color="#000000"><span style="white-space:pre-wrap"><br></span></font></div><div dir="ltr"><font color="#000000"><span style="white-space:pre-wrap">Thank you for your previous response.<br></span></font><div><br></div><div>Following our previous conversation here --> <a href="https://lists.ag-projects.com/pipermail/sipbeyondvoip/2023-January/003571.html" target="_blank">https://lists.ag-projects.com/pipermail/sipbeyondvoip/2023-January/003571.html</a></div><div><br></div><div>I have verified with my mobile dev team that for our mobile app to receive push notification we should send the push notification using "only" using the latest google messaging api. (push url --> <a href="https://fcm.googleapis.com/v1/projects/voiceland-dev/messages:send" target="_blank">https://fcm.googleapis.com/v1/projects/voiceland-dev/messages:send</a>) and not this one --> <a href="https://fcm.googleapis.com/fcm/send" target="_blank">https://fcm.googleapis.com/fcm/send</a></div><div><br></div><div>As I can see in applications.ini both urls seems to be supported.</div><div><br></div><div>Our applications.ini config is this :</div><div>=======================================================</div><div>[com.voiceland.voiceland]<br>app_id = com.voiceland.voiceland<br>app_type = linphone<br>app_platform = firebase<br>firebase_authorization_file = key.json<br>firebase_push_url = <a href="https://fcm.googleapis.com/v1/projects/voiceland-dev/messages:send" target="_blank">https://fcm.googleapis.com/v1/projects/voiceland-dev/messages:send</a><br></div><div><div>=======================================================</div><br></div><div>but when we are sending out a push notification request it seems to be a problem from firebase to accept the request from the sylkpushserver. </div><div><br></div><div>2023-01-27 17:18:30 ERROR outgoing Firebase response for incoming_session-com.voiceland.voiceland-B2B.252.7430759.1674839908, push failed with code 400: Bad Request Invalid JSON payload received. Unknown name "to": Cannot find field.<br>Invalid JSON payload received. Unknown name "time_to_live": Cannot find field.<br>Invalid JSON payload received. Unknown name "priority": Cannot find field.<br>Invalid JSON payload received. Unknown name "data": Cannot find field.<br></div><div><br></div><div>full debug logs here --> <a href="https://pastebin.com/tsqZifBW" target="_blank">https://pastebin.com/tsqZifBW</a></div><div><br></div><div>I am using the latest sylkpushserver version (commit: c84f4347285f7480de2f6b1d1aaf1dd9b817e263)</div><div><br></div><div>from our side we have verified that push service from our mobile app is working using postman url --> <a href="https://fcm.googleapis.com/v1/projects/voiceland-dev/messages:send" target="_blank">https://fcm.googleapis.com/v1/projects/voiceland-dev/messages:send</a> and this json data on body --> <a href="https://pastebin.com/pP9Rtyyn" target="_blank">https://pastebin.com/pP9Rtyyn</a></div><div><br></div><div>Thank you in advance for your help on this.<br></div><div><br></div><div>Best Regards</div><div>Vasilios Tzanoudakis</div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div></div>Βασίλης Τζανουδάκης</div></div></div></div>