javascript - upgraded the cordova and android, not able to hit google api -


i have added defined csp,whitelist plugin,edited config.xml still issues exit.below 1 defines.

 failed load resource: https://maps.googleapis.com/maps/api/js?key=myapi&sensor=true 

reference

<meta http-equiv="content-security-policy" content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://maps.googleapis.com"> 

config.xml

<content src="index.html" /> <access origin="*" /> <allow-navigation href="*" /> 

plugins:

cordova-plugin-appavailability 0.4.2 "appavailability" cordova-plugin-extension 1.1.4 "cordova plugin extension" cordova-plugin-googleplayservices 19.0.1 "google play services android" cordova-plugin-network-information 1.2.0 "network information" cordova-plugin-splashscreen 3.1.0 "splashscreen" cordova-plugin-whitelist 1.2.2-dev "whitelist" org.apache.cordova.device 0.3.0 "device" uk.co.workingedge.phonegap.plugin.launchnavigator 2.9.2 "launch navigator" 


Comments