<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: System.isOnline does not work in iOS 9 in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/system-isonline-does-not-work-in-ios-9/m-p/683934#M3518</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Weird... I'm stumped. Did you give it a few seconds after you switched from airplane mode? I noticed I had to click the button a few times, because it would take a few seconds for the system to register that it was online/offline. Does it work on a windows machine, or some other OS for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jan 2016 19:05:41 GMT</pubDate>
    <dc:creator>LucasDanzinger</dc:creator>
    <dc:date>2016-01-14T19:05:41Z</dc:date>
    <item>
      <title>System.isOnline does not work in iOS 9</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/system-isonline-does-not-work-in-ios-9/m-p/683927#M3511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It appears that the System.isOnline call from the QML Extras API does not work on iPad's with iOS 9.&amp;nbsp; We periodically call that to check for an active internet connection and react accordingly in our app when our users are no longer connected.&amp;nbsp; On our iOS 9 iPad, the device thinks it's always connected even when we shut down WiFi and cellular access.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else seen this, and if so are there any workarounds available?&amp;nbsp; We're using Qt 5.4.1 and the 10.2.6 API.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 16:55:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/system-isonline-does-not-work-in-ios-9/m-p/683927#M3511</guid>
      <dc:creator>AndyWright</dc:creator>
      <dc:date>2016-01-12T16:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: System.isOnline does not work in iOS 9</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/system-isonline-does-not-work-in-ios-9/m-p/683928#M3512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, I haven't gotten to test this, but I wonder if it would happen with Qt 5.5.1? 5.4.1 came out before iOS 9, so maybe there is some missing link here. Also, I wonder what version of Xcode you are using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Luke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 17:47:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/system-isonline-does-not-work-in-ios-9/m-p/683928#M3512</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2016-01-12T17:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: System.isOnline does not work in iOS 9</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/system-isonline-does-not-work-in-ios-9/m-p/683929#M3513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's the answer I got from our iOS guy.&amp;nbsp;&amp;nbsp;&amp;nbsp; Turns out he is already using 5.5.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Calibri',sans-serif; color: black;"&gt;"We are using Xcode 6.4 and we cannot use Xcode 7 which is the release that came out for iOS 9 because QT doesn’t support it yet. We are already using QT 5.5.1."&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 18:28:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/system-isonline-does-not-work-in-ios-9/m-p/683929#M3513</guid>
      <dc:creator>AndyWright</dc:creator>
      <dc:date>2016-01-12T18:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: System.isOnline does not work in iOS 9</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/system-isonline-does-not-work-in-ios-9/m-p/683930#M3514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like it is probably a bug with Qt then. Our Extras library is just a straight wrap up of several Qt C++ classes. In the case of System.isOnline, it is just QNetworkConfigurationManager's isOnline check being wrapped and exposed as a Q_PROPERTY for use in QML. &lt;A href="http://doc.qt.io/qt-5/qnetworkconfigurationmanager.html" title="http://doc.qt.io/qt-5/qnetworkconfigurationmanager.html"&gt;QNetworkConfigurationManager Class | Qt Network 5.5&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Luke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 18:36:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/system-isonline-does-not-work-in-ios-9/m-p/683930#M3514</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2016-01-12T18:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: System.isOnline does not work in iOS 9</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/system-isonline-does-not-work-in-ios-9/m-p/683931#M3515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeh I figured as much.&amp;nbsp; This puts us in quite a pickle.&amp;nbsp; Are you guys able to repro this on your side?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 18:39:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/system-isonline-does-not-work-in-ios-9/m-p/683931#M3515</guid>
      <dc:creator>AndyWright</dc:creator>
      <dc:date>2016-01-12T18:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: System.isOnline does not work in iOS 9</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/system-isonline-does-not-work-in-ios-9/m-p/683932#M3516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems to work alright for me. Here's my versions of everything:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qt 5.5&lt;/P&gt;&lt;P&gt;Xcode 6.4&lt;/P&gt;&lt;P&gt;ArcGIS Runtime SDK 10.2.6&lt;/P&gt;&lt;P&gt;iOS 9.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code. As I turn airplane mode on and off, then I click the button, I see the text updated. Do you see this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import QtQuick 2.3
import QtQuick.Controls 1.2
import ArcGIS.Extras 1.0


ApplicationWindow {
&amp;nbsp;&amp;nbsp;&amp;nbsp; id: appWindow
&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 800
&amp;nbsp;&amp;nbsp;&amp;nbsp; height: 600


&amp;nbsp;&amp;nbsp;&amp;nbsp; Text {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id: text
&amp;nbsp;&amp;nbsp;&amp;nbsp; }


&amp;nbsp;&amp;nbsp;&amp;nbsp; Button {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; anchors.centerIn: parent
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; onClicked: {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text.text = "online? " + System.isOnline
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
}





&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:45:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/system-isonline-does-not-work-in-ios-9/m-p/683932#M3516</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2021-12-12T04:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: System.isOnline does not work in iOS 9</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/system-isonline-does-not-work-in-ios-9/m-p/683933#M3517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lucas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just built your app and deployed it to an IPad. It does not work for me. I also ran it in OSX and it does not work there either. I checked my iPad and it is actually 9.2 but the fact that it doesn't work on my mac either is a little strange.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 23:27:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/system-isonline-does-not-work-in-ios-9/m-p/683933#M3517</guid>
      <dc:creator>JamesStreet1</dc:creator>
      <dc:date>2016-01-13T23:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: System.isOnline does not work in iOS 9</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/system-isonline-does-not-work-in-ios-9/m-p/683934#M3518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Weird... I'm stumped. Did you give it a few seconds after you switched from airplane mode? I noticed I had to click the button a few times, because it would take a few seconds for the system to register that it was online/offline. Does it work on a windows machine, or some other OS for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 19:05:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/system-isonline-does-not-work-in-ios-9/m-p/683934#M3518</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2016-01-14T19:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: System.isOnline does not work in iOS 9</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/system-isonline-does-not-work-in-ios-9/m-p/683935#M3519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lucas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did some more testing and I think it may be something to do with a cellular enabled iOS device. On an iPad regardless of whether I have cellular data switched off and wifi off or airplane mode it still returns true (Even waiting a while).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On an IPhone 6 it returns false in airplane mode but still returns true when cellular data is off and wifi is off.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 19:29:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/system-isonline-does-not-work-in-ios-9/m-p/683935#M3519</guid>
      <dc:creator>JamesStreet1</dc:creator>
      <dc:date>2016-01-14T19:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: System.isOnline does not work in iOS 9</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/system-isonline-does-not-work-in-ios-9/m-p/683936#M3520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For anyone else running into this, it seems to be an issue with Qt's underlying QNetworkConfigurationManager class and some VPN software on Andy's devices. It seems that the isOnline functionality that comes from this class may detect if there is an online connection, but is not able to determine if you have authenticated and can actually use the internet. For example, if you were in a hotel connected to the guest network, but have not yet provided your credentials. I created a standalone test app that just calls the C++ class without any ArcGIS APIs around it, and the issue still happens, so it has been logged with Qt &lt;A href="https://bugreports.qt.io/browse/QTBUG-50518" style="color: #954f72; text-decoration: underline; font-family: Calibri, sans-serif; font-size: 15px;" title="https://bugreports.qt.io/browse/QTBUG-50518" rel="nofollow noopener noreferrer" target="_blank"&gt;[QTBUG-50518] QNetworkConfigurationManager isOnline not returning correct value - Qt Bug Tracker&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is all that is really happening under the hood:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;m_networkConfig = new QNetworkConfigurationManager(this);
m_networkConfig-&amp;gt;isOnline();&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Luke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:45:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/system-isonline-does-not-work-in-ios-9/m-p/683936#M3520</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2021-12-12T04:45:48Z</dc:date>
    </item>
  </channel>
</rss>

