0 purchases
change app package name
Change App Package Name for Flutter #
Change App Package Name with single command. It makes the process very easy and fast.
What It does? #
Update AndroidManifest.xml files for release, debug & profile
Update build.gradle file
Update MainActivity file. Both java & kotlin supported.
Move MainActivity file to new package directory structure
Delete old package name directory structure.
Update Product Bundle Identifier in iOS.
if you have customized CFBundleIdentifier in Info.plist, it will not be updated. You have to update it manually.
How to Use? #
Add Change App Package Name to your pubspec.yaml in dev_dependencies: section.
dev_dependencies:
change_app_package_name: ^1.3.0
copied to clipboard
or run this command
flutter pub add -d change_app_package_name
copied to clipboard
Not migrated to null safety yet? use old version like this
dev_dependencies:
change_app_package_name: ^0.1.3
copied to clipboard
Update dependencies
flutter pub get
copied to clipboard
Run this command to change the package name.
dart run change_app_package_name:main com.new.package.name
copied to clipboard
Where com.new.package.name is the new package name that you want for your app. replace it with any name you want.
Meta #
Atiq Samtia– @AtiqSamtia – [email protected]
Distributed under the MIT license.
https://github.com/atiqsamtia/change_app_package_name
Contributing #
Fork it (https://github.com/atiqsamtia/change_app_package_name/fork)
Create your feature branch (git checkout -b feature/fooBar)
Commit your changes (git commit -am 'Add some fooBar')
Push to the branch (git push origin feature/fooBar)
Create a new Pull Request
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.