1android:
2android/app/src/main/res/values/string.xml > change APP_NAME.
3
4ios:
5ios/[currentName].xcodeproj/project.pbxproj > change PRODUCT_NAME in debug and release.
6or
7go to ios/[currentName]/info.plist
8<key>CFBundleDisplayName</key>
9<string>${PRODUCT_NAME}</string>
1I have changed project subfolder name from:
2"android/app/src/main/java/MY/APP/OLD_ID/"
3to: "android/app/src/main/java/MY/APP/NEW_ID/"
4
5Then manually switched the old and new package ids:
6
7In: android/app/src/main/java/MY/APP/NEW_ID/MainActivity.java:
8
9package MY.APP.NEW_ID;
10In android/app/src/main/java/MY/APP/NEW_ID/MainApplication.java:
11
12package MY.APP.NEW_ID;
13In android/app/src/main/AndroidManifest.xml:
14
15package="MY.APP.NEW_ID"
16And in android/app/build.gradle:
17
18applicationId "MY.APP.NEW_ID"
19(Optional) In android/app/BUCK:
20
21android_build_config(
22 package="MY.APP.NEW_ID"
23)
24android_resource(
25 package="MY.APP.NEW_ID"
26)
27Gradle' cleaning in the end (in /android folder):
28
29./gradlew clean