shontee / stagewebviewbridge

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

StageWebViewDisk.as - isIPHONE not valid for AIR Debugger #35

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. load a local html file via StageWebView.loadLocalURL(...)
2. call an AS3-Function from the local html file
3. Debug with Flex Debugger as IOS-Device (IPad)
4. Set breakpoint at beginning of onLocationChange

What is the expected output? What do you see instead?
Expected: Debugger will stop at breakpoing
Actual: Call does not work

What version of the product are you using? On what operating system?
AIR 3.4, Flash Builder 4.6

Please provide any additional information below.
It's actually rather a Flash Builder/AIR-Debugger problem. The Call works on 
the device, but not when debugging and simulating an iPad.  This is because 
Capabilities.os in StageWebViewDisk.as will have a value of "Windows 7" (or 
whatever OS you are using), rather than IOS.

Original issue reported on code.google.com by daniel.t...@gmail.com on 22 Nov 2012 at 2:33