Description:
Trying to add a platform, plugin to a React generated project the following text is printed
$ ionic cordova platform add android
[ERROR] Cordova is not supported for react projects
Steps to Reproduce:
ionic cordova platform add androidOutput:
$ ionic cordova platform add android
[ERROR] Cordova is not supported for react projects
My ionic info:
$ ionic info
Ionic:
Ionic CLI : 5.4.4 (/Users/imetallica/.asdf/installs/nodejs/10.16.0/.npm/lib/node_modules/ionic)
Ionic Framework : @ionic/react 4.11.2
Utility:
cordova-res : 0.8.1
native-run : 0.2.8 (update available: 0.2.9)
System:
NodeJS : v10.16.0 (/Users/imetallica/.asdf/installs/nodejs/10.16.0/bin/node)
npm : 6.9.0
OS : macOS Catalina
Other Information:
https://forum.ionicframework.com/t/error-cordova-is-not-supported-for-react-projects/174601
Our current stance on Cordova in React is here: https://ionicframework.com/docs/react/overview#native-tooling