Android app crash on start up when rename and run with new architecture,
because wrong path in new architecture's native code(jni) after run react-native-rename.
(it's dependent on java package path)
# create react native project
npx react-native init test
# set newArchEnabled to true on gradle.properties
# clone
git@github.com:leegeunhyeok/react-native-rename.git && cd react-native-rename
git checkout feat/support-newarchitecture
npm install && npm run build
npm install -g .
# move to test project's root directory
react-native-rename "Rename" -b com.test.rename
# build and run
npm run android
# or
yarn android
Description
Now update jni native code contents.
Android app crash on start up when rename and run with new architecture, because wrong path in new architecture's native code(jni) after run react-native-rename. (it's dependent on java package path)
This PR will resolve #162 issue.
Changes
How to test
Rename app and build with new architecture, should app starts successfully.
Screenshots
(rename)
(changes)
Contexts
refs #162