1. #1
    Sencha Premium Member
    Join Date
    Aug 2013
    Posts
    18
    Answers
    1
    Vote Rating
    1
    aysencha is on a distinguished road

      0  

    Default Unanswered: Touch App Works Well in Preview and Android Native, Fails in Web Production

    Unanswered: Touch App Works Well in Preview and Android Native, Fails in Web Production


    I have a Sencha Touch App generated with Sencha Architect. The intention is to deploy it on Android devices but retain a demo copy that can work via a normal browser over the web.

    The challenge is (without making any changes to the code) it works perfectly when (1) packaged and deployed to the Android device and (2) run under preview in Architect (i.e. when the build optimizations are not carried out. However when I run "Build Web App", or "Run Build Target", certain errors come up in the console and some events no longer work. Some included .js files (which were not complained about in scenarios [1] and [2] mentioned above now get reported as missing).

    In the attached screenshot, "A" is what shows when build target is run. "B" shows in preview and also works in the Android App.

    How can this problem be corrected?
    Attached Images

  2. #2
    Sencha - Architect Dev Team
    Join Date
    Jan 2009
    Location
    Frederick, Maryland
    Posts
    889
    Answers
    63
    Vote Rating
    32
    jminnick has a spectacular aura about jminnick has a spectacular aura about

      0  

    Default


    Quote Originally Posted by aysencha View Post
    I have a Sencha Touch App generated with Sencha Architect. The intention is to deploy it on Android devices but retain a demo copy that can work via a normal browser over the web.

    The challenge is (without making any changes to the code) it works perfectly when (1) packaged and deployed to the Android device and (2) run under preview in Architect (i.e. when the build optimizations are not carried out. However when I run "Build Web App", or "Run Build Target", certain errors come up in the console and some events no longer work. Some included .js files (which were not complained about in scenarios [1] and [2] mentioned above now get reported as missing).

    In the attached screenshot, "A" is what shows when build target is run. "B" shows in preview and also works in the Android App.

    How can this problem be corrected?
    Can you post an image that shows the full error messages?
    Jason Minnick
    Sencha Architect Development Team

  3. #3
    Sencha Premium Member
    Join Date
    Aug 2013
    Posts
    18
    Answers
    1
    Vote Rating
    1
    aysencha is on a distinguished road

      0  

    Default


    Here it is. Again please keep in mind all the items "not found/ defined/ available" actually are present (and that's how come the native-packaged code works fine)
    Attached Images

  4. #4
    Sencha Premium Member
    Join Date
    Aug 2013
    Posts
    18
    Answers
    1
    Vote Rating
    1
    aysencha is on a distinguished road

      0  

    Default


    Obviously I'm not alone here. The following post reports the same type of issue:http://www.sencha.com/forum/showthre...nal-Ressources

  5. #5
    Sencha Premium Member
    Join Date
    Aug 2013
    Posts
    18
    Answers
    1
    Vote Rating
    1
    aysencha is on a distinguished road

      0  

    Default


    Does anyone have a solution to this?

  6. #6
    Sencha - Architect Dev Team
    Join Date
    Jan 2009
    Location
    Frederick, Maryland
    Posts
    889
    Answers
    63
    Vote Rating
    32
    jminnick has a spectacular aura about jminnick has a spectacular aura about

      0  

    Default


    Quote Originally Posted by aysencha View Post
    Does anyone have a solution to this?
    can you zip this project up and send it to me?
    Jason Minnick
    Sencha Architect Development Team

Thread Participants: 1

Tags for this Thread