cordova - Build cli-6.3.0 version not works for android because of url failed -
build cli-6.3.0 version not works android because of url failed.although used below whitelist plugin code! works build failed cli-6.3.0
here config.xml: ........
<preference name="permissions" value="none"/> <preference name="phonegap-version" value="cli-6.3.0" /> <access origin="*"/> <!-- allow local pages --> <allow-navigation href="http://morehipo.com" /> <allow-navigation href="http://morehipo.com/signalr/hubs" />
....
and here index.html ......
<meta http-equiv="content-security-policy" content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'"> <script src="http://morehipo.com/signalr/hubs"></script> <script type='text/javascript'> window.remote_host = 'http://morehipo.com'; window.debug = false; </script>
.... problem code?how can give access permission url like? missed code part whitelist plugin?
Comments
Post a Comment