Package name and bundle identifier
Every flutter project contains 2 Ids: package name (for android) and bundle identifier (for iOS), these ids must be unique. So, you must change them.
Android
Go to
android/app/src/(main, debug, profile)/AndroidManifest.xml(3 files) and search forpackageand replace the old package with your package.Go to
android/app/build.gradleand search forapplicationIdand replace the old package with your package.Go to
android app/src/main/kotlin/com/example/NourishNow/(MainActivity.kt, Application.kt)(2 files) and search forpackagekeyword and replace the old package with your package.Change the directory name from:
android\app\src\main\kotlin\com\example\NourishNowto:android\app\src\main\kotlin\your\package\name(your.package.name)
iOS
Go to ios/Runner.xcodeproj/project.pbxproj and search for:
PRODUCT_BUNDLE_IDENTIFIER
and replace the old bundle identifier with yours (there are 3
replacement).