Cordova Native functions not working with remote pages


#1

I have added cordova js files into remote server website and references all OK but still remote pages not able to call native functions,

Local pages are working fine and calling native functions


#2

Have whitelisted the url in your config file?


#3

Thanks to reply mhartington no one is replying on this…

Actualy this problem coming only in ios .

My config has

  $compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|ftp|file|tel):/);
  $compileProvider.imgSrcSanitizationWhitelist(/^\s*(https?|ftp|mailto|file|tel):/);

Android everything is working fine.
redirect from remote page to to local page is an issue in both (ios ,android )…How can i come back from remote page to local pages.


#4

Hmm, can you open of safari and do some remote debugging? Maybe there are some errors in the js console that can help you out.

http://moduscreate.com/enable-remote-web-inspector-in-ios-6/