Gap Phone Screen Access Rule

When I build corova build for windows, access rules do not work, follow the information in the console

Access rules must begin with "https: //", the following rule will be ignored :. *

Basically, this suggests the need to start with https,

Someone is facing the same problem.

Thanks Muhsin

+7
windows cordova phonegap-build windows-phone-8 phonegap-gmaps-plugin
source share
2 answers

Warnings can be ignored ... sort of.

Windows breaks access rules other than https, so to prevent Windows from crashing due to crashes, allowing other platforms to use rules other than https, cordova filters out non-https rules when preparing a Windows build .

These “rule will be ignored” messages appearing in the console should indicate that the rule was filtered before the Windows project was created. If the application depends on access granted by the filtered rule, add another one that meets the requirements of the Windows rule.

More specific:

+1
source share

If you use whitelist rules and did not specify phonegap-version in your config.xml file, you will get the latest version. It’s good to add the version to your config.xml and all your plugins.

EXAMPLE additions

 :: <preference name="phonegap-version" value="3.5.0" /> :: <gap:plugin name="org.apache.cordova.device" version="0.2.12" /> 

In addition, you need to use the white-list plugin. Please read the following “official” message form: Notes for upgrading to cli-5.1.1 on PGB
http://community.phonegap.com/nitobi/topics/notes-for-upgrading-to-cli-5-1-1-on-pgb

0
source share

All Articles