Reply
Newbie
manish-kumar
Posts: 1
0

Salesforce-Phonegap and Sencha touch integration issue

[ Edited ]

Hi all,

 

I have developing an ios app using salesforce mobile sdk 1.4 with sencha touch at front end. I am using Phonegap/Cordova version 2.2. My Application is able to login successfully with salesforce but when tried to load app.js on simulator its loading smoothly but on device getting a WHITE BLANK SCREEN.

 

I am not getting any error at logs/console, Am i missing something ?

 

I am using sencha touch version 2.1

 

 

this is my app.js

 

Ext.application({
    name: 'Sencha',
    controllers: ['Main'],
    views: ['Main'],
    stores: ['Contacts'],
    models: ['Contact'],

    launch: function() {
        Ext.Viewport.add({
            xtype: 'mainpanel'
        });
    },                
});

  Any suggestions greatly appreciated.

 

 

 Thanks 

 Manish Kumar

 

 

 

 

 

Regular Contributor
gauravkheterpal
Posts: 110
0

Re: Salesforce-Phonegap and Sencha touch integration issue

If you are using other JS libraries such as jQuery, please ensure that you include Sencha Touch first followed by others, otherwise it can cause conflicts leading to a blank UI.

 

I hope this helps.

 

Regards,
Gaurav



P.S - If my answer resolves your query/ issue, please mark the thread as 'Resolved' so it benefit others.