Change Ios App Name React Native

Delete ios and android directories.
Change ios app name react native. Rename package name in react native. To com securegate but when i am running the ios simulator from command line react native run ios then at the end it still points to older bundle identifier org reactjs. When react native cli scaffolds the app it creates the default bundle id for ios as org react native example rntsgitlabcicdexample and android package name in the format com appname.
The library react native rename works mostly on react native cli projects and have problems with expo projects. Delete ios and android directories. But after running react native run ios you can change device in simulator hardware device ios x x iphone 5.
Select the level of the package you want to modify and select refactor rename. If you want to change bundle identifier in react native project. Rename app id and package name for a react native app.
Update displayname in app json to the new name. Replace the icons you copied earlier. What i m doing instead is to just open the app s xcode project click on the root node of the project structure then the info tab and finally just update the value of bundle name from product name to whatever hard coded app name you want displayed.
You must have to change app identifier separately for both side android and ios. Copy your icons from ios and android. If simulator with same name but different ios version.
Update displayname in app json to the new name. Select root project in xcode select general tab you can see bundle identifier into identity section and change your new bundle identifier for ios application. Change the bundle id in xcode.