change the package name and app group
change the package name and app extension in iOS
this step same like macOS version
for android just use the change_app_package_name: ^1.1.0 plugin
Change App Package Name with single command. It makes the process very easy and fast.
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.
Add Change App Package Name to your pubspec.yaml
in dev_dependencies:
section.
Not migrated to null safety yet? use old version like this
Update dependencies
Run this command to change the package name.
Where com.new.package.name
is the new package name that you want for your app. replace it with any name you want.