There is no code. I am creating a project but some files are missing.
Using command react-native init helloworld
project is created, but index.android.js
and index.ios.js
aren't generated or missing, only index.js
is appearing.
This is due to a recent update.
New projects have a single entry-point (index.js) from now on (6e99e31) - @fson
This shouldn't cause you any trouble during the compilation or run-time.
You can try out this:
npx react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With