Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

package name not updating in custom java files #271

Open
KylixMedusa opened this issue Aug 21, 2023 · 7 comments
Open

package name not updating in custom java files #271

KylixMedusa opened this issue Aug 21, 2023 · 7 comments

Comments

@KylixMedusa
Copy link

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
@KylixMedusa KylixMedusa changed the title package not update in custom java files package name not updating in custom java files Aug 21, 2023
@donald-boosted
Copy link

I am having the same issue where the imports of the custom java files are not renamed

@owenadley
Copy link

Also having this issue

@Davidon4
Copy link

Davidon4 commented Nov 3, 2023

Has anyone found a solution to this, and how did they solve it

@owenadley
Copy link

@Davidon4 We ended up manually creating the required Java files for each build flavor dir in android/src/

@Davidon4
Copy link

Davidon4 commented Nov 4, 2023

But rebuilding it again, wouldn't it remove this update when there is an update or a new install with node module

@Kotauror
Copy link

I'm having the same issue with the imports in Kotlin files. Any chance it gets resolved?

@franciscomorais
Copy link

I create a PR with fix.

meanwhile, I publish this fix with name @franciscomorais/react-native-rename.

Link.

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

No branches or pull requests

6 participants