Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

React Native 0.73 MainApplication.kt and MainActivity.kt do not accept the rename #289

Closed
hristo87 opened this issue Dec 19, 2023 · 1 comment · Fixed by #290
Closed

Comments

@hristo87
Copy link

hristo87 commented Dec 19, 2023

Describe the bug
After the recent update of React Native to version 0.73 and above, the MainApplication and MainActivity files, which were originally in Java, have been converted to Kotlin. Previously, the renaming of the project name inside these Java files worked as expected, but it seems to be encountering issues after the switch to Kotlin. Are there any plans to address this in future updates, or should we continue with manual updates?

To Reproduce
Steps to reproduce the behavior:

  1. Create an ordinary React Native CLI 0.73.* project and use react-native-rename

Expected behavior
Raname project name inside MainApplication and MainActivity files

Environment (please complete the following information):

  • operating system: MacOs
  • npm version: 10.2.4
  • node version: 18.18.2
  • react-native-rename version: latest ( 3.2.13)
  • react-native version: 0.73.1

Additional context
SCR-20231219-lllk

@younes-ammari
Copy link

image

I had a similar issue

Environment :
"react-native-rename": "^3.2.13",
"react": "18.2.0",
"react-native": "0.73.0",
node version: 18.18.0

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants