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

Problem with jQTouch in initilization

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.7.0
    • Component/s: cordova-ios
    • Labels:
      None
    • Environment:

      Description

      Hi There,
      With version 2.5.0 (i can't report for versions between 2.2 and 2.4 since i've upgraded from 2.2 to 2.5 directly) jQTouch seems to not initialize correclty.

      Normally jQTouch it's initialized with:

      var jQT = new $.jQTouch({});
      

      Outside the:

      document.addEventListener("deviceready", onDeviceReady, true);
      
      // PhoneGap is ready
      function onDeviceReady() {
        dosomething();
      }
      

      Now it's not working the app hang on splashscreen, if we put the initialization inside the "onDeviceReady" the app start but the global jQT object it's not seen inside the code.

      I've been suggested by Shazron to file a bug here.
      Thanks a lot Ciao
      Rob

        Attachments

          Activity

            People

            • Assignee:
              shazron Shazron Abdullah
              Reporter:
              oudoken Roberto
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: