When I build cordova build for windows the access rules are failing, following are the information in the console
Access rules must begin with "https://", the following rule will be ignored: .*
Basically it saying it require to begin with https,
Anybody face the same issue.
Thanks Mohsin
The warnings can be ignored... sort of.
Windows builds break on non-https access rules, so in order to prevent Windows builds from failing while still allowing other platforms to use non-https rules, cordova filters out the non-https rules while preparing a windows build.
Those "rule will be ignored" messages appearing in your console are to let you know the rule has been filtered out before building the Windows project. If the app depends on access granted by a rule that is being filtered out, add another one that meets the Windows rule requirements.
More specifically:
<access origin=...>
) must begin with "https://", or be "*"
<allow-navigation...>
) must begin with "http://", "https://", or "ms-appx-web://"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With