Results 1 to 2 of 2

Thread: HTC One X - false offline event

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Feb 2010
    Posts
    8
    Vote Rating
    0
      0  

    Default HTC One X - false offline event

    REQUIRED INFORMATION

    Ext version tested:

    • Sencha Touch 2.1.

    Browser versions tested against:
    • Packed with PhoneGap 2.2

    Description:
    • Offline event is fired on page containing map, even when wi-fi or 3G is strong/active.

    Steps to reproduce the problem:
    • Create panel with map
    • Create online/offline listeners
    • Go to map and offline event is fired

    The result that was expected:
    • Network state is correctly recognized.

    The result that occurs instead:
    • Offline event fired when app is online.

    Test Case:
    Code:
         
     document.addEventListener("offline", CallbackFunction, false);   
     function CallbackFunction() {    // Handle the offline event  }


    HELPFUL INFORMATION
    Screenshot or Video:
    • none

    See this URL for live test case: http:// Debugging already done:
    • none

    Possible fix:
    • not provided

    Additional CSS used:
    • only default ext-all.css

    Operating System:
    • Android 4.0.3

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,029
    Vote Rating
    1368
      0  

    Default

    I don't see anything here that is using Sencha Touch. document.addEventListener is native javascript and has nothing to do with Sencha Touch so this looks to be a device/phonegap issue.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •