Threaded View

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    47
    Vote Rating
    0
    Answers
    3
    romulus2012 is on a distinguished road

      0  

    Default Answered: Installing the Sencha IO

    Answered: Installing the Sencha IO


    Hi,

    I'm trying to integrate the Sencha IO to my Sencha Touch 2 project.
    I followed the new documentation (many thanks to merrells ) but i'm getting some errors:

    Uncaught TypeError: Cannot read property 'Io' of undefined

    I put this code in my app.js
    Code:
    //<debug>
    Ext.Loader.setPath({
        'Ext': 'sdk/src',
        'Ext.io': 'lib/io/src/io',
        'Ext.cf': 'lib/io/src/cf'
    });
    //</debug>
    
    
    Ext.io.Io.setup({
        //logLevel: 'debug',
        appId: 'myID',
        appSecret: 'mySecret 
    });
    And in index.html i add this :

    Code:
    <script src="lib/io/sencha-io.js" type="text/javascript" charset="utf-8"></script>

  2. We shipped up update today (0.1.3) which included some improvements that fixed this problem.

    http://download.sencha.io

    John

Thread Participants: 1