kverweij / stagewebviewbridge

Automatically exported from code.google.com/p/stagewebviewbridge
0 stars 0 forks source link

app crashes on IO6.1.3 #39

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. basic webview example

What is the expected output? What do you see instead?
simple html file added, the app works well on IOS6.0 but after taking an update 
to 6.1.3 the app crashes.

What version of the product are you using? On what operating system?
while development works fine, crashes only on device.

Please provide any additional information below.
Implemented in a basic html view example. the app crashes on loading screen.

Original issue reported on code.google.com by sisangia...@gmail.com on 5 Apr 2013 at 8:49

GoogleCodeExporter commented 8 years ago
+1, same thing here. app does not really crash, since ipad crash log folder is 
empty, it most probably just breaks on some file operation.

Original comment by makc.the...@gmail.com on 12 Apr 2013 at 1:15

GoogleCodeExporter commented 8 years ago
so far in our app we can work around the crash by inserting

// aborting any file operations... 
dispatchEvent(new 
StageWebviewDiskEvent(StageWebviewDiskEvent.START_DISK_PARSING)); 
dispatchEvent(new 
StageWebviewDiskEvent(StageWebviewDiskEvent.END_DISK_PARSING)); 
return;

after 
http://code.google.com/p/stagewebviewbridge/source/browse/trunk/StageWebViewBrid
ge/src/es/xperiments/media/StageWebViewDisk.as#91

and using view.loadString() for html stuff.

Original comment by makc.the...@gmail.com on 12 Apr 2013 at 1:34

GoogleCodeExporter commented 8 years ago
thanks for reply.

found the solution:

in the file StageWebViewDisk.as
line no:125
_applicationTempDir = new File(File.applicationDirectory.nativePath 
+"/\.\./tmp");

replaced with:
_applicationTempDir = new File(File.applicationDirectory.nativePath 
+"/\.\./SWVBTmp");

this worked for me.

Original comment by sisangia...@gmail.com on 12 Apr 2013 at 3:55