junedomingo / react-native-rename

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

Debug Application is not renaming #122

Closed selvaTecky closed 3 years ago

selvaTecky commented 3 years ago

Hi,

I have renamed main application but I can't able to rename the debug application. can you help me on this?

vomchik commented 3 years ago

@selvaTecky Make sure that you use the latest version v2.7

vishal9950 commented 3 years ago

@selvaTecky After you have run the script, clear the metro bundler cache with this command: npm start --reset-cache. It should hopefully suffice the issue.

selvaTecky commented 3 years ago

Hi @vishal9950 ,

Even thought the debug folder files and packages are not getting updated.

vishal9950 commented 3 years ago

@selvaTecky Try this,

For android:

  1. cd android
  2. ./gradlew clean
  3. cd ..
  4. rm -rf node_modules && npm i && react-native link (if using an older RN version)
  5. react-native run-android

For iOS:

  1. cd ios
  2. rm -rf build
  3. cd ..
  4. rm -rf node_modules && npm i && react-native link (if using an older RN version)
  5. react-native run-ios

This should hopefully fix this problem 😶