Cordova command create apps by default do not include <access origin="*">?
Bug Report
Problem
In NodeJs v18 & [email protected] environment, after I created a project using "cordova create sampleapp com.sample.app SampleApp" command, "config.xml" file is not included
What is expected to happen?
I tried to create the project in cordova@9 version, "config.xml" file and it will contain
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 & [email protected] & Android
Checklist
- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above
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.