Change App Name & ID
Change App Name
ANDROID
Open a file /android/app/src/main/AndroidManifast.xml and change the application label.
iOS
Open a file /ios/Runner/Info.plist and change the string of CFBundleName.
Change Package Name
ANDROID
Open /android/app/build/gradle and change the applicationId value.
Open /android/app/src/main/AndroidManifest.xml, /android/app/src/profile/AndroidManifest.xml, /android/app/src/debug/AndroidManifest.xml and change the package name.
Rename Kotlin folder(Android)
Open /android/app/src/main/kotlin folder
Rename the subfolders to match your package name.
In the MainActivity.kt file, please update the package id.
IOS
Open the ios project on Xcode and you can change the package name on the General tab.
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:
Change the name and id to that of your choice.
Then run this command in your terminal to change the app name and id.
Last updated