Notifications in iOS not working

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Notifications in iOS not working

Roberto Cocchiararo
Hi there

I am testing the app on my windows Notebook (windows 10), android phone (Galaxy Note 8, android 7.1.1) and iPad (ios 11.2.6).

All is fine except on apple's platform.

I can use the app just fine, and when it is in the foreground nothing seems wrong, but when i press the home button i get no notifications for incoming calls.

If i am being called and open it, i suddenly get the incomming call screen.

If i missed calls, i get notifications about that after opening the app.

Is this normal? I tried it on a friend's iPhone 6s and also on an iPhone X.

I tried by enabling and disabling "push notifications" for the account (I am using a Nec SV9300 as the server).

Thank you.
--
--
Roberto Cocchiararo

_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers
Reply | Threaded
Open this post in threaded view
|

Re: Notifications in iOS not working

Benjamin Reis
Hello,

As said on the AppStore info of the app.
Receiving calls and messages in background on Linphone are only possible on sip.linphone.org account. If you use another sip service it needs to be able to send push notifications to our app.
There is nothing we can do on app side it has to be done on the server. It’s working for our sip.linphone.org service.
This is the iOS policy since ios 10

Regards
REIS Benjamin
Software engineer at Belledonne Communications

Le 1 mars 2018 à 22:17, Roberto Cocchiararo <[hidden email]> a écrit :

Hi there

I am testing the app on my windows Notebook (windows 10), android phone (Galaxy Note 8, android 7.1.1) and iPad (ios 11.2.6).

All is fine except on apple's platform.

I can use the app just fine, and when it is in the foreground nothing seems wrong, but when i press the home button i get no notifications for incoming calls.

If i am being called and open it, i suddenly get the incomming call screen.

If i missed calls, i get notifications about that after opening the app.

Is this normal? I tried it on a friend's iPhone 6s and also on an iPhone X.

I tried by enabling and disabling "push notifications" for the account (I am using a Nec SV9300 as the server).

Thank you.
--
--
Roberto Cocchiararo
_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers
Reply | Threaded
Open this post in threaded view
|

Re: Notifications in iOS not working

Anatoli
Hi Benjamin,

This issue was already somehow discussed, but your recent answer once more makes me doubt. You say: "If you use another sip service it needs to be able to send push notifications to our app. There is nothing we can do on app side it has to be done on the server." Does that mean that there's a way to send push to stock linphone? Or do you mean that one (e.g. each VoIP service) should publish his/her own fork of linphone app under his/her own apple dev account and only then one could send push notifications to that forked and republished app?

Thanks,
Anatoli

From: Benjamin Reis
Sent: Friday, March 02, 2018 05:13
To: Linphone-developers
Subject: Re: [Linphone-developers] Notifications in iOS not working

Hello,

As said on the AppStore info of the app.
Receiving calls and messages in background on Linphone are only possible on sip.linphone.org account. If you use another sip service it needs to be able to send push notifications to our app.
There is nothing we can do on app side it has to be done on the server. It’s working for our sip.linphone.org service.
This is the iOS policy since ios 10

Regards
REIS Benjamin
Software engineer at Belledonne Communications

Le 1 mars 2018 à 22:17, Roberto Cocchiararo <[hidden email]> a écrit :

Hi there

I am testing the app on my windows Notebook (windows 10), android phone (Galaxy Note 8, android 7.1.1) and iPad (ios 11.2.6).

All is fine except on apple's platform.

I can use the app just fine, and when it is in the foreground nothing seems wrong, but when i press the home button i get no notifications for incoming calls.

If i am being called and open it, i suddenly get the incomming call screen.

If i missed calls, i get notifications about that after opening the app.

Is this normal? I tried it on a friend's iPhone 6s and also on an iPhone X.

I tried by enabling and disabling "push notifications" for the account (I am using a Nec SV9300 as the server).

Thank you.
--
--
Roberto Cocchiararo
_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers



_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers
Reply | Threaded
Open this post in threaded view
|

Re: Notifications in iOS not working

Benjamin Reis
Hello,

Push notification certificate are associated to an App ID therefore you’ll have to fork linphone to be able to change the app id and be able to get the associated certificates.
Or you can use our flexisip push gateway, this is how another sip service can send push notifications to stock Linphone via our push gateway which has the correct certificates.

Regards
REIS Benjamin
Software engineer at Belledonne Communications

Le 4 mars 2018 à 08:08, Anatoli <[hidden email]> a écrit :

Hi Benjamin,

This issue was already somehow discussed, but your recent answer once more makes me doubt. You say: "If you use another sip service it needs to be able to send push notifications to our app. There is nothing we can do on app side it has to be done on the server." Does that mean that there's a way to send push to stock linphone? Or do you mean that one (e.g. each VoIP service) should publish his/her own fork of linphone app under his/her own apple dev account and only then one could send push notifications to that forked and republished app?

Thanks,
Anatoli

From: Benjamin Reis
Sent: Friday, March 02, 2018 05:13
To: Linphone-developers
Subject: Re: [Linphone-developers] Notifications in iOS not working

Hello,

As said on the AppStore info of the app.
Receiving calls and messages in background on Linphone are only possible on sip.linphone.org account. If you use another sip service it needs to be able to send push notifications to our app.
There is nothing we can do on app side it has to be done on the server. It’s working for our sip.linphone.org service.
This is the iOS policy since ios 10

Regards
REIS Benjamin
Software engineer at Belledonne Communications

Le 1 mars 2018 à 22:17, Roberto Cocchiararo <[hidden email]> a écrit :

Hi there

I am testing the app on my windows Notebook (windows 10), android phone (Galaxy Note 8, android 7.1.1) and iPad (ios 11.2.6).

All is fine except on apple's platform.

I can use the app just fine, and when it is in the foreground nothing seems wrong, but when i press the home button i get no notifications for incoming calls.

If i am being called and open it, i suddenly get the incomming call screen.

If i missed calls, i get notifications about that after opening the app.

Is this normal? I tried it on a friend's iPhone 6s and also on an iPhone X.

I tried by enabling and disabling "push notifications" for the account (I am using a Nec SV9300 as the server).

Thank you.
--
--
Roberto Cocchiararo
_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers



_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers

_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers
Reply | Threaded
Open this post in threaded view
|

Re: Notifications in iOS not working

Anatoli
Benjamin,

Thanks for the information. The guide you've provided explains general Flexisip concepts, but how one should configure a PBX or own instance of Flexisip to communicate with *your* Flexisip instance that has Apple certificates for stock Linphone in order to be able to send it push notifications? Do you have a guide to, say, setup Asterisk or FreeSWITCH to work with your Flexisip instance?

Regards,
Anatoli

From: Benjamin Reis
Sent: Monday, March 05, 2018 05:30
To: Linphone-developers
Subject: Re: [Linphone-developers] Notifications in iOS not working

Hello,

Push notification certificate are associated to an App ID therefore you’ll have to fork linphone to be able to change the app id and be able to get the associated certificates.
Or you can use our flexisip push gateway, this is how another sip service can send push notifications to stock Linphone via our push gateway which has the correct certificates.

Regards
REIS Benjamin
Software engineer at Belledonne Communications

Le 4 mars 2018 à 08:08, Anatoli <[hidden email]> a écrit :

Hi Benjamin,

This issue was already somehow discussed, but your recent answer once more makes me doubt. You say: "If you use another sip service it needs to be able to send push notifications to our app. There is nothing we can do on app side it has to be done on the server." Does that mean that there's a way to send push to stock linphone? Or do you mean that one (e.g. each VoIP service) should publish his/her own fork of linphone app under his/her own apple dev account and only then one could send push notifications to that forked and republished app?

Thanks,
Anatoli

From: Benjamin Reis
Sent: Friday, March 02, 2018 05:13
To: Linphone-developers
Subject: Re: [Linphone-developers] Notifications in iOS not working

Hello,

As said on the AppStore info of the app.
Receiving calls and messages in background on Linphone are only possible on sip.linphone.org account. If you use another sip service it needs to be able to send push notifications to our app.
There is nothing we can do on app side it has to be done on the server. It’s working for our sip.linphone.org service.
This is the iOS policy since ios 10

Regards
REIS Benjamin
Software engineer at Belledonne Communications

Le 1 mars 2018 à 22:17, Roberto Cocchiararo <[hidden email]> a écrit :

Hi there

I am testing the app on my windows Notebook (windows 10), android phone (Galaxy Note 8, android 7.1.1) and iPad (ios 11.2.6).

All is fine except on apple's platform.

I can use the app just fine, and when it is in the foreground nothing seems wrong, but when i press the home button i get no notifications for incoming calls.

If i am being called and open it, i suddenly get the incomming call screen.

If i missed calls, i get notifications about that after opening the app.

Is this normal? I tried it on a friend's iPhone 6s and also on an iPhone X.

I tried by enabling and disabling "push notifications" for the account (I am using a Nec SV9300 as the server).

Thank you.
--
--
Roberto Cocchiararo
_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers



_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers

_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers



_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers