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
    33
    Vote Rating
    1
    Martin Hujer is on a distinguished road

      0  

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

    [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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,754
    Vote Rating
    827
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    production is for in a browser. For phonegap, you should use package instead.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Nov 2012
    Posts
    33
    Vote Rating
    1
    Martin Hujer is on a distinguished road

      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
    Websteria is on a distinguished road

      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.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."