Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Phonegap application display blank screen on iOS 6

I built application with Phonegap and Sencha Touch 2 and all works great on iOS 5.1 But on iOS 6 the application opened and display an blank screen. Why ? How can I check it ? Do you familiar with this issue on iOS 6 with Phonegap ?

like image 276
user1403317 Avatar asked Sep 26 '12 18:09

user1403317


2 Answers

Reset Content and Settings in IOS simulator does it. If your getting 'error: failed to attach to process ID 0' in logs.

like image 50
Adam Ware Avatar answered Oct 21 '22 13:10

Adam Ware


From what I've seen using Phonegap and/or Sencha, typically a blank white screen means you have a javascript error somewhere. Javascript fails silently inside of PhoneGap, so your best solution would be to open your index.html file inside of Chrome, Safari, or Firefox with the Javascript console enabled.

This will allow you to see the error that caused the white-fail, and once you know what the issue is and fix it, you can run it on the device and you shouldn't see the white-screen anymore.

like image 45
Colby R Meier Avatar answered Oct 21 '22 11:10

Colby R Meier