Question

My app does the right thing and navigates to the select page each time I follow a jQuery Mobile link, but it also launches a copy of that page in Mobile Safari when I run in the iPhone Emulator. I'm sure I'm just missing some configuration setting.

Here is my mobileinit function

$(document).bind('mobileinit', () -> 
  $.mobile.allowCrossDomainPages = true
)

And I've modified the ExternalHosts array in Cordova.plist to whitelist my app server's domain name. What am I missing?

Was it helpful?

Solution

I had the same problem.This solution works fine.

http://moduscreate.com/opening-all-urls-with-phonegaps-childbrowser-plugin/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top