Raj
Raj

Reputation: 65

Sencha Touch 2.1 upgrade - Both the web app & mobile app give white screen on iOS Simulator

After upgrading from Sencha Touch 2.0 to 2.1, I am facing the following problems in both the web app and the mobile app:

  1. Web App: After opening the web app on the iPhone browser, if I click on the icon to add it to the home screen and run it from that icon, it gives a white blank screen. The app otherwise works fine, if I open it using the url on the browser. Not able to find out what could go wrong with the web app if I open it using it's home screen icon.

  2. iPhone app: I use phonegap for both the android and ios versions of the web app. Android mobile app works fine on an Android phone or simulator. However, the iOS app just shows a white blank screen after the splash screen.

Would really appreciate any help regarding this.

Thanks

Upvotes: 3

Views: 889

Answers (2)

Andrey Rudenko
Andrey Rudenko

Reputation: 1301

As Lukas said, it was a problem of Sencha Touch v2.1.0 release , which is solved in current v2.1.1 release. I have just tested my apps right after update and all is working perfectly now.. You just need to update SDK files.

Here is a thread about problem: http://www.sencha.com/forum/showthread.php?249335-White-SCREEN-OF-DEATH-on-launch-with-ST-2.1/page4

Link to download new Sencha Touch version: http://www.sencha.com/products/touch/download/sencha-touch-2.1.1/

Upvotes: 1

Lukas K.
Lukas K.

Reputation: 861

The white screen is a problem with the "sencha-touch-all-debug.js" file in 2.1

It will be fixed in the next release in the next few days. (http://www.sencha.com/forum/showthread.php?249335-White-SCREEN-OF-DEATH-on-launch-with-ST-2.1)

A workaround is to delete all classes in the "sencha-touch-all-debug.js" file starting with " Ext.device."

For example: Ext.define('Ext.device.communicator.Default',{...});

Upvotes: 0

Related Questions