Change App Name & ID
Change App Name
ANDROID
Open a file /android/app/src/main/AndroidManifast.xml and change the application label.
<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.
<key>CFBundleName</key>
<string>Replace with your App name</string>
Change Package Name
ANDROID
Open /android/app/build/gradle and change the applicationId value.
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.
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="Replace with your package name">
Open /android/app/src/main/kotlin folder
Rename the subfolders to match your package name
IOS
Open the ios project on Xcode and you can change the package name on the General tab.
Last updated
Was this helpful?