Apache Cordova
  1. Apache Cordova
  2. CB-2904

Problem with jQTouch in initilization

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.7.0
    • Component/s: 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

        Activity

        Roberto created issue -
        Roberto made changes -
        Field Original Value New Value
        Environment Mac OSx Lion, iOS 6.1 Mac OSx Lion, iOS 6.1, jQTouch version 1 beta 4 (https://github.com/senchalabs/jQTouch)
        Shazron Abdullah made changes -
        Priority Critical [ 2 ] Major [ 3 ]
        Fix Version/s 2.7.0 [ 12323934 ]
        Shazron Abdullah made changes -
        Environment Mac OSx Lion, iOS 6.1, jQTouch version 1 beta 4 (https://github.com/senchalabs/jQTouch) Mac OSx Lion, iOS 6.1, jQTouch version 1 beta 4 (https://github.com/senchalabs/jQTouch), http://jqtjs.com/
        Shazron Abdullah made changes -
        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
        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:

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

        Outside the:
        {code}
        document.addEventListener("deviceready", onDeviceReady, true);

        // PhoneGap is ready
        function onDeviceReady() {
          dosomething();
        }
        {code}

        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
        Shazron Abdullah made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]
        Roberto made changes -
        Environment Mac OSx Lion, iOS 6.1, jQTouch version 1 beta 4 (https://github.com/senchalabs/jQTouch), http://jqtjs.com/ Mac OSx Lion, iOS 6.1, jQuery 1.7.2, jQTouch version 1 beta 4 (https://github.com/senchalabs/jQTouch), http://jqtjs.com/

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development