> For the complete documentation index, see [llms.txt](https://edentech.gitbook.io/instahaul/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edentech.gitbook.io/instahaul/flutter-app/change-app-name.md).

# Change App Name & ID

## **Change App Name**

**ANDROID**

* Open a file /android/app/src/main/AndroidManifast.xml and change the application label.<br>

```markup
<application
    	android:name="io.flutter.app.FlutterApplication"
    	android:label="Replace with your App name"
    	android:icon="@mipmap/ic_launcher"
    	android:usesCleartextTraffic="true">
```

**iOS**

* Open a file /ios/Runner/Info.plist and change the string of **CFBundleName**.

```markup
<key>CFBundleName</key>
<string>Replace with your App name</string>
```

## **Change Package Name**

**ANDROID**

* Open /android/app/build/gradle and change the **applicationId** value.

```groovy
defaultConfig {
	applicationId "Replace with your package name"
	minSdkVersion 18
	targetSdkVersion 29
	versionCode flutterVersionCode.toInteger()
	versionName flutterVersionName
	multiDexEnabled true
}
```

* Open **/android/app/src/main/AndroidManifest.xml,** **/android/app/src/profile/AndroidManifest.xml**, **/android/app/src/debug/AndroidManifest.xml** and change the package name.

```markup
 <manifest 
  xmlns:android="http://schemas.android.com/apk/res/android"
	package="Replace with your package name">
```

## Rename Kotlin folder(Android)

* Open **/android/app/src/main/kotlin** folder&#x20;
* Rename the subfolders to match your package name.
* In the **MainActivity.kt** file, please update the package id.&#x20;

![](https://content.gitbook.com/content/qpzpUHpvEwV9ShSZ1v55/blobs/wJaW17U35TAiKyPgm35P/Screenshot%202021-12-22%20at%205.52.35%20PM.png)

## **IOS**

* Open the ios project on Xcode and you can change the package name on the General tab.

![](https://content.gitbook.com/content/qpzpUHpvEwV9ShSZ1v55/blobs/OsrI7ENUR4brcELYnHQt/Screenshot%202021-03-20%20at%202.52.59%20PM.png)

## **Using Command (Very Easy)**

**NOTE:** Please make a copy of the project before following the instructions below. Just incase the commands doesn't work as intended.

To change the **name** and **application id**  of the app, follow the steps below for **Android & iOS.**

* Go to **flutter\_application\_id.yaml**
* Find this code:

```yaml
flutter_application_id:
  android: 
    id: "com.edentech.fuodz"
    name: "Fuodz"
  ios:
    id: "com.edentech.fuodz"
    name: "Fuodz"
```

* Change the **name** and **id** to that of your choice.
* Then run this command in your terminal to change the app name and id.

```bash
flutter pub get
flutter pub run flutter_application_id:main
```
