Closed ROG3R-DEV closed 1 year ago
Thanks for this @ROG3R-DEV , for the *Release.entitlements included in v3.2.10 but for the rest, I'm not so sure. I',m using rn 0.70 for testing and even with spaces on android related changes here it still works fine
Thanks for this @ROG3R-DEV , for the *Release.entitlements included in v3.2.10 but for the rest, I'm not so sure. I',m using rn 0.70 for testing and even with spaces on android related changes here it still works fine
@junedomingo Sorry for the late reply, I had to be away for a few days.
The changes make the module compatible with any version of react native.
I had problems using it in projects prior to 0.70. To be more specific it failed on projects in the versions below:
react native 0.66.4 react-native: 0.64.8 react-native: 0.62
Resume
First I would like to thank @junedomingo for maintaining this repository!
I've been using react-native-rename for a little over a year, recently upgraded from v2.9.0 to v3.2.7. I noticed that there was a refactoring that greatly improved the organization and understanding of the code, but I noticed some problems when thoroughly testing this new version:
The command used to test was:
the original project name is "Original App" ( com.test.original )
Bugs ( Fixed )
Ios
Description: Name is not changing
path:
/TravelApp/iOS/AppDelegate.m
result:
Description: Entitlements name is not changing
path:
/TravelApp/iOS/TravelApp.xcodeproj/project.pbxproj
result:
Description: CODE_SIGN_ENTITLEMENTS is not changing
path:
/TravelApp/iOS/TravelApp.xcodeproj/project.pbxproj
result:
Description: "name" Should not contain space
path:
/TravelApp/app.json
result:
Android
Description: Main Component Name should not contain space
path:
/TravelApp/android/app/src/main/java/com/test/travelapp/MainActivity.java
result:
Description: Rootproject should not contain space
path:
/TravelApp/android/settings.gradle
result:
Final considerations
Some of these bugs were preventing android application build and errors in xcode on ios.
After the corrections I ran several exhaustive tests and now everything looks good.
I hope my contribution helps those who are experiencing problems. See you later 🎉