How to rename an Ionic app from HelloCordova

The ionic structure is pretty cool stuff. I was able to successfully create an application with some Angular code that I worked on, but I can not find the answer to a simple question about how to rename the created application. The output application is always called HelloCordova, and there seems to be no documentation on how to change the name of the application. If I start manually copying the project directory, replacing HelloCordova, I get an application that will not work. Of course, people have decided this before.

+59
ionic-framework
Apr 15 '14 at 10:00
source share
12 answers

Change You want to change the config.xml file in the project root directory. The tag that is responsible for the name of the application is <name> .

Find the configuration documentation for more details.

+91
Apr 15 '14 at 22:37
source share
  • Change the name in config.xml (@project root), see the documentation.
  • Run the following command: $ sudo ionic platform remove ios
  • Check if the ios folder in the platforms folder is deleted.
  • Run the following command: $ sudo ionic platform add ios
+31
Dec 26 '15 at 17:29
source share

If you want to change the symbolic name of the view, be sure to update the ionic.project file

+5
Feb 22 '15 at 2:07
source share

If the name change does not work for any reason, delete the entire platform folder, and then

 cordova platform add ios ionic build ios 
+4
Aug 22 '15 at 10:23
source share

Yes, you just need to modify the config.xml file. Find the "name" tag and enter the name you want between this tag.

+3
May 14 '14 at 11:36
source share

There is config.xml in the parent directory of the ion project

 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <widget id="com.ionicframework.todo497320" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <name>CHANGE NAME HERE</name> 

Please note that the name of the project will be displayed in other places of the application, all this will be automatically changed when you create the application

+2
Apr 19 '15 at 4:32
source share

There is config.xml in the parent directory of the ion project

CHANGE NAME HERE

If the name change does not work for any reason, delete the entire platform folder, and then

Cordoba platform add ios ion assembly ios

+1
May 11 '17 at 6:30 a.m.
source share

The following steps will help you, as with me.

  • Rename the application name to config.xml <name>Your_new_name</name>

  • Save ion cord plugin

  • ionic cordova rm ios
  • ionic cordova add ios
  • ionic cordova add --save cordova-plugin-facebook4 plugin - variable APP_ID = "my_app_id" - variable APP_NAME = "my_app_name" - variable CHANNEL_NAME = "master"
+1
03 Oct '17 at 7:23
source share

You must make this change to the config.xml file found in the root of your project. For example, you might have something like this:

***<widget id="com.ionicframework.exampleproject223738" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">***

Change the identifier to whatever you want, and it will work for the entire project, Android and iOS.

However, if you have already sent to the application store with the package name, you cannot change the package name at this point. If you do not want to submit a new project. Updates must be made with the appropriate package names.

0
Jun 28 '17 at 9:02 on
source share

For ionic 4.5.0, the "ionic platform" command has been renamed, and the following commands are no longer used:

  • Ionic platform remove iOS
  • ion platform add ios

Use instead:

  • Ion platform Cordova Add IOS
  • Ion platform Cordova remove iOS

Note: iOS or Android depending on your case.

0
Feb 27 '19 at 4:14
source share

I have a problem with the application name. Every time I launch my application and run another application again than the first application invisible on my Android phone

although I change both application names in the configuration file ..

can someone tell me what the solution is ..........

thanks in advance............

0
May 10 '19 at 10:10
source share

Just change the <title> to index.html

not working still replace

-one
Mar 12 '18 at 10:25
source share



All Articles