cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Velecký <>
Subject Re: New project <PATH> vs. <NAME>
Date Fri, 25 Jul 2014 19:31:37 GMT
So, then we will have dozen CordovaApp projects with different application 
name? Not, that is not good. There is project name (for Android) in .project
and build.xml files, and this names must be safe (As far as I know), but 
CordovaApp? Noo... For this reason we simply need two names.

And the most quality solution is two names in config.xml – application name 
and project name. It can be done for backward compability:


Cordova App

And then add parameter to create script and change it to [].

Simply app-name and proj-name make same if app-name omitted.

---------- Původní zpráva ----------

Od: Carlos Santana <>

Komu: <>

Datum: 25. 7. 2014 15:12:09

Předmět: Re: New project <PATH> vs. <NAME>

"I can speak for iOS.

The way it works today from [1] [2].

The App Name on the Home Screen (i.e. Product name Foo) and the XCode

Project Name (i.e. Foo.pbxproj, Foo-Info.plist, Foo-Prefix.pch) Foo are too

tight couple and causing problems.

I think we should split this in to separate concerns, and name in cordova

create or config.xml ONLY change the Product Name and NOT try to refactor

the Xcode project files which is the part that is causing problems.

I think 80% of time people just want to change/set the App Name, and would

be fine if the Xcode project name and files don't change and have a deafult

value of "CordovaApp" Xcode project that creates an App with name "Foo"

Let me know what you think is this is a design you don't disagree, and I

can create a JIRA enhancement item.




On Thu, Jul 24, 2014 at 10:55 AM, Michal Mocny <> wrote:

> Chuck, thanks for finding the right JIRA issue already. I agree that one

> should be addressed, and thats probably enough to address this report.


> Thanks Jan for bringing more attention to it! (and if you would like to

> provided PR for fixing i.e. the documentation, please link to them from

> here so they don't go unnoticed).


> -Michal



> On Wed, Jul 23, 2014 at 9:05 PM, Chuck Lantz <> wrote:


> > The problem does seem to tie to platform implementations.

> >

> > On the Visual Studio side, we have been seeing issues with both Android

> > and iOS failing to compile if the name of the app (<name></name> in

> > config.xml not the project) contains unicode characters. The reason this

> is

> > special is it shows up on device home pages. For iOS this appeared to

> > present because the app name is used for the underlying native project

> > name. For Android, it looks like it's tied to a class name that is

> > generated. Another issue appears to stem from the fact that some of the

> > build processes are using shell scripts which can mangle international

> > characters if your system isn't setup with the right system locale -

> which

> > is what is driving CB-7129. However, even updating to the correct system

> > locale doesn't fix Android or iOS.

> >

> > We've seen a surprising amount of international interest, so not being

> > able to use a language appropriate app name seems like a pretty big deal

> > particularly given there's base globalization plugin designed the help

> with

> > these scenarios. Chinese is a big one that comes to mind.

> >

> > Here's the iOS bug in question:

> >

> >

> > -Chuck

> >

> > -----Original Message-----

> > From: Josh Soref []

> > Sent: Wednesday, July 23, 2014 4:31 PM

> > To:

> > Subject: Re: New project <PATH> vs. <NAME>

> >

> > Jan Velecký wrote:

> > >On Windows with Android, it "works". But make zkouka class and class

> > >file, so it's confusing. I prefer project name separatedly...

> > >PS: From this (weird) žůžováÁpčina name makes ovpina, how cool... :-)

> >

> > >on Mac (zkouška is test in czech), then add ios platform ends with

> error.

> > >It's because diacritics cannot be in project name. When I after that

> > >change <name> to zkouska, adding ios platform finish successfully.

> > >Don't confuse project name and application name.

> >

> > On BlackBerry10 (cordova-blackberry), it just works <period>

> >

> > I get a nice running application with שלום in the list of running apps,

> > and in the launcher.

> >

> > This to me seems more like a bug w/ cordova-ios and cordova-android than

> a

> > thing that should be changed in how cordova-cli works.

> >

> > Of note, I did have one person who asked why we didn't name our .bar

> > (application packages) based on the app name. This is probably one of 

> > benefits we get from not doing that...

> >

> >



Carlos Santana

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message