Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-53

Bug when connect/disconnect while make ajax request (iOS)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • None
    • 2.2.0
    • cordova-ios
    • None

    Description

      reported at: https://github.com/phonegap/phonegap-iphone/issues/331
      by: https://github.com/prsolucoes

      Hi,

      I post it on start project because the link to iphone on wiki is wrong, but now i found it searching on github.

      The problem is my app is make an ajax call every 1 second on my server and if i start the app without internet connect and connect on wifi/3g the application is killed (fatal error). Other situation is when im on my app connected and making ajax pooling and the connection (wifi or 3g) is dropped, the application is killed too (fatal error).

      So, if you are making ajax call and your connection change state (connected/disconnected) your app get a fatal error and close.

      Attachments

        Activity

          People

            shazron Shazron Abdullah
            shazron Shazron Abdullah
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: