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

Device ready is not fired in IOS after receiving a 302 temporary redirect from remote server

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.7.0
    • cordova-ios
    • None
    • iPhone4 with iOS6

    Description

      We build a hybrid iOS app to load remote web pages using Phonegap, and meet this issue while upgrading to 2.5 from 2.4.

      There's a sample page to show this:
      http://dev.videgree.com/RusliTest/App/

      We alert some messages after device ready in both 2 pages.

      The server will be response a 302 temporary redirect after we posting the form in the First page.

      And the Second page will finish loading without onDeviceReady, only a dom ready.

      It seems that native webview won't fire a onNativeReady after getting a 302 response on Phonegap 2.5?

      Thanks for any help.

      Attachments

        Issue Links

          Activity

            People

              agrieve Andrew Grieve
              whg_ami_cat whg_ami_cat
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: