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

App hangs in Splash screen sometimes

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.8.0
    • Fix Version/s: None
    • Component/s: cordova-ios
    • Labels:
      None

      Description

      When application is launched in background by a remote push notification, it may fails to load the index.html due to the time out error.
      So if a user clicks to launch the application to foreground, it hangs in splash screen.

      logs from iOS:
      Feb 17 09:35:05 : Apache Cordova native platform version 3.8.0 is starting.
      Feb 17 09:35:05 : Multi-tasking -> Device: YES, App: YES
      Feb 17 09:35:05 : Unlimited access to network resources
      Feb 17 09:35:05 : [CDVTimer][keyboard] 0.097990ms
      Feb 17 09:35:05 : [CDVTimer][splashscreen] 24.774015ms
      Feb 17 09:35:05 : [CDVTimer][statusbar] 9.433031ms
      Feb 17 09:35:05 : CDVPlugin class CordovaNewRelic (pluginName: newrelic) does not exist.
      Feb 17 09:35:05 : [CDVTimer][newrelic] 0.407040ms
      Feb 17 09:35:05 : [CDVTimer][TotalPluginStartup] 35.793006ms
      Feb 17 09:35:06 : Warning: Application delegate received call to -application:didReceiveRemoteNotification:fetchCompletionHandler: but the completion handler was never called.
      ......
      Feb 17 09:45:09 : Resetting plugins due to page load.
      ......
      Feb 17 09:55:07 : dnssd_clientstub read_all(8) DEFUNCT
      ......
      Feb 17 10:36:15 : Failed to load webpage with error: The request timed out.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jameszj James
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: