Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter rename

Add the flutter rename package to pubspec.yaml file.

flutter pub global activate rename

flutter pub global run rename --bundleId com.onatcipli.networkUpp

flutter pub global run rename --appname "Network Upp"


Navigate in your flutter project to android > app > src > main > kotlin > com > example > {appName} > MainActivity.kt
Then change the package name from com.example.todo_app to com.onatcipli.networkUpp.

Navigate to the AndroidManifest.xml files in your debug, main and profile folders respectively and change package name of each to new package name.
 
PREVIOUS NEXT
Tagged: #flutter #rename
ADD COMMENT
Topic
Name
7+2 =