<?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 Thanks for the feedback, Phil in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Simulate-Network-Connection-Offline-is-NOT-Offline/m-p/1070228#M57915</link>
    <description>&lt;P&gt;Thanks for the feedback, Phil. That Simulate tab is based directly on the Microsoft Simulate project, we'll inform them of this discrepancy and I'll add this note to the limitations.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Sep 2016 03:22:03 GMT</pubDate>
    <dc:creator>PaulF_IntelCorp</dc:creator>
    <dc:date>2016-09-09T03:22:03Z</dc:date>
    <item>
      <title>Simulate: Network Connection Offline is NOT Offline.</title>
      <link>https://community.intel.com/t5/Software-Archive/Simulate-Network-Connection-Offline-is-NOT-Offline/m-p/1070227#M57914</link>
      <description>&lt;P&gt;I was trying to debug something in my app so I ran it through the Simulator (which, btw, is much better than the old one) and when I took my device offline (changed the network connection to offline some things happened correctly and one, namely, the device did not actually go offline.&lt;/P&gt;

&lt;P&gt;Here's the screen with the device offline:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="xdk_offline.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/9099i332A6238BC5E398B/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="xdk_offline.png" alt="xdk_offline.png" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;You'll notice that the NETWORK CONNECTION is set to offline. &amp;nbsp;This invoked the trigger cordova-plugin-network-information which is handled here:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;  document.addEventListener("offline", checkConnection, false);
  document.addEventListener("online", checkConnection, false);
&lt;/PRE&gt;

&lt;P&gt;And is what caused the orange popup on the simulator screen. &amp;nbsp;Just as an FYI once setting the NETWORK CONNECTION to none didn't work, I tried setting the network offline through the emulation as shown in the 2nd red circle. At this point, one would really expect the emulated device to be offline.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;However, if I expand the Hazard list and click on the one message I get data that can only happen if there is a network connection as shown in this screen:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="xdk_offline_but_working.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/9100i652CCFBD71D5B404/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="xdk_offline_but_working.png" alt="xdk_offline_but_working.png" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Namely, my own server was hit and the details of the Hazard alert was obtained and only through that data could I have loaded the google maps which also requires a connection that should not exist.&lt;/P&gt;

&lt;P&gt;Obviously, the device is not simulating "no connection" in simulator.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2016 19:39:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Simulate-Network-Connection-Offline-is-NOT-Offline/m-p/1070227#M57914</guid>
      <dc:creator>Phil_P___Pete_</dc:creator>
      <dc:date>2016-09-08T19:39:23Z</dc:date>
    </item>
    <item>
      <title>Thanks for the feedback, Phil</title>
      <link>https://community.intel.com/t5/Software-Archive/Simulate-Network-Connection-Offline-is-NOT-Offline/m-p/1070228#M57915</link>
      <description>&lt;P&gt;Thanks for the feedback, Phil. That Simulate tab is based directly on the Microsoft Simulate project, we'll inform them of this discrepancy and I'll add this note to the limitations.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2016 03:22:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Simulate-Network-Connection-Offline-is-NOT-Offline/m-p/1070228#M57915</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-09-09T03:22:03Z</dc:date>
    </item>
    <item>
      <title>NP... it's what I do! LOL</title>
      <link>https://community.intel.com/t5/Software-Archive/Simulate-Network-Connection-Offline-is-NOT-Offline/m-p/1070229#M57916</link>
      <description>&lt;P&gt;NP... it's what I do! LOL (although I do sometimes feel bad for posting bug after bug)&lt;/P&gt;

&lt;P&gt;Seriously, y'all need a test suite or a bug bounty! LOL.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2016 18:19:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Simulate-Network-Connection-Offline-is-NOT-Offline/m-p/1070229#M57916</guid>
      <dc:creator>Phil_P___Pete_</dc:creator>
      <dc:date>2016-09-09T18:19:39Z</dc:date>
    </item>
  </channel>
</rss>

