Change App Name & package
change bundle identifier of iOS app and package name of android app within react native app
Now we need to update new package name inside few files.
  • Update package name inside “MainActivity.java”
  • Update package name inside “MainApplication.java”
  • Update package name inside “/android/app/src/main/AndroidManifest.xml”
  • Update package name inside “/android/app/BUCK” file
  • Update package name inside “/android/app/build.gradle” file
Change /android/app/google-services.json

Change App Name(Android)

Open Your project in Android Studio and go to
1
app/src/main/res/values/string.xml<string name="app_name">Your AppName</string>
Copied!
Once installation of all modules are done then you can test your app by running “react-native run-ios” or “react-native run-android” command.
1
react-native run-android
Copied!
Last modified 1yr ago
Copy link