Closed vikas-chhabra closed 1 year ago
FYI, this is only an issue RN > 0.67. In RN 0.68
, AppDelegate.m
was moved to AppDelegate.mm
.
Looks like there's a PR out to address this already https://github.com/junedomingo/react-native-rename/pull/157
In ios>appName>AppDelegate.mm
In RCTAppSetupDefaultRootView change old_app_name to new_app_name
npx react-native-rename "new_app_name" updated new_app_name everywhere except this one instance.
You saved my day:)
https://github.com/junedomingo/react-native-rename/issues/159#issue-1251990267
thanks bro, works in 0.68.2 version
you saved my day. Thank you sir!
Closing, please check v3
Just to add, if you have changed the name of the application but it still displays an error, my suggestion is also to change the name of the application in the app.json file
In ios>appName>AppDelegate.mm
In RCTAppSetupDefaultRootView change old_app_name to new_app_name
npx react-native-rename "new_app_name" updated new_app_name everywhere except this one instance.