This is a migrated thread and some comments may be shown as answers.

Notification problems with ipad

1 Answer 35 Views
Apache Cordova
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Javier
Top achievements
Rank 1
Javier asked on 09 Dec 2012, 03:42 AM
Hi, I have to detect if thereĀ“s connection to internet. The code its working on my Android phone that its currently pluged to my computer and using Live sync and if my phone doesnt have connection to internet it sends an navigator.notification.alert. But also Im running the same app on my ipad trough the Ion app and the notification never sends when I dont have internet, do I need to change to code for iOS or something?

Thank you

1 Answer, 1 is accepted

Sort by
0
Evgeni "Zammy" Petrov
Telerik team
answered on 11 Dec 2012, 08:55 AM
Hello Javier,

Thank you for using Icenium.

Unfortunately in iOS instead of NONE Connection.UNKNOWN is returned when there is no connection.

I would suggest to check for UNKNOWN and NONE at the same time and assume that there is no connectivity when one or the other is returned.

Regards,
Evgeni "Zammy" Petrov
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
Tags
Apache Cordova
Asked by
Javier
Top achievements
Rank 1
Answers by
Evgeni "Zammy" Petrov
Telerik team
Share this question
or