1. #1
    Sencha Premium Member
    Join Date
    Jul 2012
    Posts
    27
    Vote Rating
    0
    Answers
    2
    squistbe is on a distinguished road

      0  

    Default Unanswered: Versioning Sencha Touch 2 + Phonegap app

    Unanswered: Versioning Sencha Touch 2 + Phonegap app


    I have an app that is bundled with with Sencha Touch 2 and Phonegap. I want to know how to version my application. I can version it in Sencha in the packager file or I can do it in the Android Manifest. Since I am packaging it as a native app, I should probably change it in the Manifest. What are you thoughts?

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    416
    Vote Rating
    18
    Answers
    5
    jweber will become famous soon enough

      0  

    Default


    If you're building it with PhoneGap, it's not using the packager.json file at all. That's only used by Sencha's packaging tools.

  3. #3
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    899
    Answers
    3575
    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


    Quote Originally Posted by jweber View Post
    If you're building it with PhoneGap, it's not using the packager.json file at all. That's only used by Sencha's packaging tools.
    Not really correct. You can do a package build to prepare for Phonegap build:

    Code:
    sencha app build package
    More about using ST2 + Sencha Command + Phonegap: http://robertdougan.com/posts/packag...onegap-cordova
    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.

  4. #4
    Sencha User
    Join Date
    Mar 2007
    Posts
    416
    Vote Rating
    18
    Answers
    5
    jweber will become famous soon enough

      0  

    Default


    I thought packager.json was only used for native builds. If it's missing, it only complains when I do a native build, not a package build.

  5. #5
    Sencha User
    Join Date
    Sep 2012
    Posts
    4
    Vote Rating
    0
    quangtrung89 is on a distinguished road

      0  

    Default Problem with sencha app build package command.

    Problem with sencha app build package command.


    Hello I have problem with commandline sencha app build package

    [INFO] Resolving your application dependencies (http://localhost/JalumbaDev/index.html)
    [ERROR] ReferenceError: Can't find variable: ContactFindOptions

    My application integrated PhoneGap. I can run the application with Ripple emulator fine. But after I run commandline to package the app to push the package files into Android project. I have error like that. I tried many ways but not successful.

    Do you have any idea?