phonegap/phonegap-plugin-multiview

Resolve passed url

Closed this issue · 0 comments

JS framework code should turn a url of index2.html into file://android_asset/www/index2.html if PGMultiView.loadView is called from file://android_asset/www/index.html

This can be done by looking at window.location.href and creating the full url.
When passed a url beginning with file:// or http://, ... it should just pass it through un-altered.