navigator.onLine is always returning as True in iOS

28 views
Skip to first unread message

sudheer kumar

unread,
Apr 25, 2017, 2:24:05 AM4/25/17
to Chromium-discuss
My application is also works on offline, and i am using navigator.onLine to know whether browser is in online or offline.
This API is working in desktop chrome browser (windows & Mac) & android chrome browsers. 

But in iOS this API is always returning as TRUE & application is not turning to offline mode

Please suggest how to know whether the chrome browser is in offline or online in iOS (iPhone & iPad).

Thank you 
Regards
Sudheer Kumar

PhistucK

unread,
Apr 25, 2017, 2:28:07 AM4/25/17
to pskr...@gmail.com, Chromium-discuss
Due to restrictions set forth by Apple, Chrome for iOS does not have its own rendering engine or JavaScript engine. You can think of it as Safari with a skin.
Does iOS Safari return the correct value? If not, this is a Safari issue and you can report it using bugs.webkit.org.


PhistucK

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+unsubscribe@chromium.org.

sudheer kumar

unread,
Apr 25, 2017, 12:30:17 PM4/25/17
to Chromium-discuss, pskr...@gmail.com
Yes PhistucK, iOS Safari is also returns the same. 
Will report in webkit.org.

Thank you


PhistucK

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.

Reply all
Reply to author
Forward
0 new messages