Results 1 to 4 of 4

Thread: [WP][ST2.2.0] Sencha app built for production does not work in PhoneGap

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    34
    Vote Rating
    2
      0  

    Default [WP][ST2.2.0] Sencha app built for production does not work in PhoneGap

    I've stubled accross a bug which is hard to debug for me.

    Sencha app production build does not work when I run it inside PhoneGap 2.6.0 in Windows Phone emulator/device.

    Steps to reproduce:
    1. Create empty Sencha app (2.2.0 final)
    2. Add cordova js into app.json

    1. sencha app build testing
    2. Open it in the device browser - everything works fine
    3. Put it inside PhoneGap and run in the emulator/device - everything works fine

    1. sencha app build production
    2. Open it in the device browser - everything works fine
    3. Put it inside PhoneGap and run in the emulator/device - stuck on the loading screen (three squares on blue background)


    I have no idea how to debug this.

    Nicholas W also encountered this bug (confirmed via PM).



    Ideas?
    • Something related to the cache.appcache
    • Something related to the production microloader

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Vote Rating
    1272
      0  

    Default

    production is for in a browser. For phonegap, you should use package instead.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Nov 2012
    Posts
    34
    Vote Rating
    2
      0  

    Default

    Sorry, my bad.

    It works fine with the package build.

  4. #4
    Sencha Premium Member
    Join Date
    Jan 2013
    Posts
    111
    Vote Rating
    0
      0  

    Default

    I find that after doing a package build if I can open the file with my browser and it works, then it will work in phonegap.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •