appMobi/ios — Issue #3: Issues with URLs
Author: chlai88
Created: 2012-01-31 21:52:45+00:00
State: open

There seems to be some problems with media & script loading outside of the webview context. AppMobi.canvas.load("index.js") works on test anywhere when the entire bundle.zip is preloaded onto device. But in test local, only a single index.html is preloaded onto device which the webview then fetches subsequent scripts & assets from the development machine. The canvas load occurs outside the webview context and won't fetch from the development machine but tries to find index.js on device filesystem. Occurs both on emulator as well as device.

Sound is also broken. In IOS console, when playsound is called, the URL being fetched is not unencoded :

appmobi://AppMobiPlayer.playSound/media%2Fbounce.wav/