flutter_application_id 1.0.0

Flutter Android iOS

A command-line tool to update your Flutter app's Name and ID

Flutter App Id #

A command-line tool to update your Flutter app's Name (displayed name) and ID (iOS BundleID and Android applicationId).

:book: Guide #

1. Setup the config file #

Add your Flutter App Id configuration to your pubspec.yaml or create a new config file. An example is shown below.

dev_dependencies: 
  flutter_application_id: "^1.0.0"
  
flutter_application_id:
  android: 
    id: "com.example.myAndroidApp"
    name: "MyApplication - Android"
  ios:
    id: "com.example.myIosApp"
    name: "MyApplication - iOS"

2. Run the package #

After setting up the configuration, all that is left to do is run the package.

flutter pub get
flutter pub run flutter_application_id:main -f <your config file name here>

In the above configuration, the package is setup to replace the existing application id in both the Android and iOS project.

🔍 Attributes #

Shown below is the full list of attributes which you can specify within your Flutter Launcher Icons configuration.

  • android/ios
    • absent: Ignore name and id updates for this platform
    • id: This will update the application id for the platform with the name you specify.
    • name: This will update the application name for the platform with the name you specify.

Special thanks #

  • Thanks to Mark O'Sullivan and all the contributors to the project flutter_launcher_icon which I used as a base.
5
likes
90
pub points
65%
popularity

A command-line tool to update your Flutter app's Name and ID

Homepage
Repository (GitLab)
View/report issues

Documentation

API reference

Uploader

contact@charly-caulet.net

License

MIT (LICENSE)

Dependencies

args, equatable, yaml

More

Packages that depend on flutter_application_id