You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Config name for cordova platform add android must be same as the value first set during create, even with spaces and accents, and same as for ios platform.
Given this value is correctly set in config.xml and other places for the created cordova project.
What does actually happen?
Name is not correct: spaces and accents are replaced with _ (for example visible in the .idea/.name file since #1173).
Information
Command or Code
cordova create hello com.example.hello "Hello World accentué"
cd hello/
but cordova platform add android gives wrong name:
Using cordova-fetch for cordova-android@^9.0.0
Adding android project...
Creating Cordova project for the Android platform:
Path: platforms\android
Package: com.example.hello
Name: Hello_World_accentu_
..
Android project created with cordova-android@9.1.0
while cordova platform add ios gives correct config name:
Using cordova-fetch for cordova-ios@^6.1.0
Adding ios project...
Creating Cordova project for the iOS platform:
Path: platforms\ios
Package: com.example.hello
Name: Hello World accentué
iOS project created with cordova-ios@6.2.0
Environment, Platform, Device
Version information
Cordova CLI 10.0.0
Cordova Android 9.1.0
Windows 10
Checklist
I searched for existing GitHub issues
I updated all Cordova tooling to most recent version
I included all the necessary information above
The text was updated successfully, but these errors were encountered:
ath0mas
added a commit
to ath0mas/cordova-android
that referenced
this issue
Apr 17, 2021
Bug Report
Problem
What is expected to happen?
Config name for
cordova platform add android
must be same as the value first set duringcreate
, even with spaces and accents, and same as for ios platform.Given this value is correctly set in config.xml and other places for the created cordova project.
What does actually happen?
Name is not correct: spaces and accents are replaced with
_
(for example visible in the .idea/.name file since #1173).Information
Command or Code
but
cordova platform add android
gives wrong name:while
cordova platform add ios
gives correct config name:Environment, Platform, Device
Version information
Cordova CLI 10.0.0
Cordova Android 9.1.0
Windows 10
Checklist
The text was updated successfully, but these errors were encountered: