Results 1 to 2 of 2

Thread: 'sencha generate app' app.js has invalid config?

  1. #1
    Sencha User
    Join Date
    Jun 2012
    Vote Rating

    Default Unanswered: 'sencha generate app' app.js has invalid config?

    Here is the code for the app.js file that you will get when you run the 'sencha generate app ...' command: (irrelevant parts stripped out)
    Ext.application({    name: '{name}',
        views: ['Main'],
        icon: {
            '57': 'resources/icons/Icon.png',
            '72': 'resources/icons/Icon~ipad.png',
            '114': 'resources/icons/Icon@2x.png',
            '144': 'resources/icons/Icon~ipad@2x.png'
        isIconPrecomposed: true,
        startupImage: {
            '320x460': 'resources/startup/320x460.jpg',
            '640x920': 'resources/startup/640x920.png',
            '768x1004': 'resources/startup/768x1004.png',
            '748x1024': 'resources/startup/748x1024.png',
            '1536x2008': 'resources/startup/1536x2008.png',
            '1496x2048': 'resources/startup/1496x2048.png'
    } );
    However, if you look at the config options, there is no isIconPrecomposed or startupImage. Looking at a past forum thread, it mentions that isIconPrecomposed is a new config that removes the glass effect off of icons when the app is added to the home screen on an iOS device. This seems to have the same effect as a config that IS in the documentation, glassOnIcon. Are these new configs just not added to the documentation yet, or are they outdated? It looks like startupImage may have been replaced by phoneStartupScreen and tabletStartupScreen, but I'm not sure.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    These configs just haven't been added to the docs. There is an open bug for this.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    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.

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