Change App Name¶
Overview¶
This guide explains how to change the app name for the Android version of the SaleBot Chat Flutter project.
Steps to Change the App Name¶
1. Update the Android Manifest File¶
- Navigate to:
- Find the
<application>
tag and update theandroid:label
attribute:
2. Update the App Name in res/values/strings.xml
¶
- Open the file:
- Modify the
<string>
tag with the nameapp_name
:
3. Update the pubspec.yaml
¶
If you use the flutter_launcher_name package, modify the pubspec.yaml
:
4. Clear and Rebuild the Project¶
Run the following commands to ensure the changes take effect:
5. Verify the Changes¶
- Check if the app name has been updated on the Android emulator or physical device.
- If using an APK, install it and confirm the new app name appears on the home screen.
Additional Notes¶
- If you are publishing to the Play Store, ensure the new app name is consistent across all metadata.
- Restart the IDE if changes do not reflect immediately.
Conclusion¶
Following these steps ensures the successful renaming of the SaleBot Chat app for Android in an existing Flutter project. 🎉