react-native-rename
react-native-rename copied to clipboard
package name not updating in custom java files
Describe the bug package name is not updating in the custom java files
To Reproduce Steps to reproduce the behavior: rename with the latest version
Expected behavior Expected all files with current package name to be updated
Environment (please complete the following information):
- operating system: macOS
- npm version: 9.5.1
- node version: 18.16.1
- react-native-rename version: 3.2.13
- react-native version: 0.71.12
I am having the same issue where the imports of the custom java files are not renamed
Also having this issue
Has anyone found a solution to this, and how did they solve it
@Davidon4 We ended up manually creating the required Java files for each build flavor dir in android/src/
But rebuilding it again, wouldn't it remove this update when there is an update or a new install with node module
I'm having the same issue with the imports in Kotlin files. Any chance it gets resolved?
I create a PR with fix.
meanwhile, I publish this fix with name @franciscomorais/react-native-rename
.
Link.