UWP Windows10 cordova App access API through VPN not working RRS feed

  • Question

  • 1)If we add privateNetworkClientServer capability in Remote mode,App will fail in window store validation? 
    2)So have changed from Remote mode to Local mode by adding preferrence 
    "<preference name="WindowsDefaultUriPrefix" value="ms-appx://" /> " and added "privateNetworkClientServer" cabability as well.
    3)API was able access with VPN now but App show CSP warning , so added below meta for inline javascript
     " <meta http-equiv="Content-Security-Policy" content="default-src gap://ready file://* *; style-src 'self' http://* https://* 'unsafe-inline'; script-src 'self' http://* https://* 'unsafe-inline' 'unsafe-eval'">"
    4)App using google map API inside app which is like below,
        const mapScriptSrc = 'http://www.google.com/maps/api/js?key=' + APIKEY +;
        $.getScript(mapScriptSrc, function (data, textStatus, jqxhr) {
        if (textStatus === 'success') {
            var map = new google.maps.Map(document.getElementById("divMapElement"), {});
    App failing to load map how can we allow this inline javascript?
    And will there be any issue while submitting to Windows store with above changes?
    Tuesday, November 10, 2020 5:28 AM