Open whilename opened 10 months ago
Defaulting to allow access to all origins poses a risk. It was decided to be removed as a default.
It is recommended that developers understand and configure what should be accessible.
It appears the docs were not updated.
Moving this to the cordova-docs repo because I think we should treat this as a doc bug.
Bug Report
Problem
In NodeJs v18 & Cordova@11.1 environment, after I created a project using "cordova create sampleapp com.sample.app SampleApp" command, "config.xml" file is not included, causing the program to be unable to access external web-sites.
What is expected to happen?
I tried to create the project in cordova@9 version, "config.xml" file and it will contain by default,
I saw in the official cordova documentation guide(https://cordova.apache.org/docs/en/11.x/guide/appdev/allowlist/index.html#network-request-allow-list) that it is automatically added by default.
What does actually happen?
so I was wondering why is not included by default in cordova@11.* version?
Command or Code
cordova create sampleapp com.sampleapp.com SampleApp cordova platform add android cordova plugin add cordova-plugin-dialogs cordova-plugin-network-information
Environment, Platform, Device
Windows 11 & NodeJS v18 & Cordova@11.1 & Android
Checklist