junedomingo / react-native-rename

Rename react-native app with just one command
MIT License
2.63k stars 261 forks source link

[iOS] Bundle identifier changed without specifying -b option #280

Open dylancom opened 1 year ago

dylancom commented 1 year ago

Describe the bug I'd like to only change the app's name and leave the bundle identifier intact. Running npx react-native-rename@latest "new_name" currently also changed the bundle identifier though.

I also noticed that adding the -b option gets ignored. It will auto create a bundle identifier based on the "new_name".

Test plan PRODUCT_BUNDLE_IDENTIFIER = 'com.test.AwesomeProject'

run npx react-native-rename@latest "new_name"

Result: PRODUCT_BUNDLE_IDENTIFIER = 'com.test.newname' Expected result: PRODUCT_BUNDLE_IDENTIFIER = 'com.test.AwesomeProject'