Single command to eject a React Native app
npm install react-native-ejectCommand eject was a part of create-react-native-app but as talked here it was removed.
Then according to this discussion I made a copy of removed code and here we have the eject command again :)
``sh`
yarn add -D react-native-eject
yarn react-native eject
| react-native-eject | @react-native-community/cli | react-native` |
| -------------------- | ---------------------------------------------------------------- | -------------- |
| ^1.0.1 | ^15.0.0 | ^0.75.0 |
| ^0.2.0 | ^9.0.0 | ^0.70.0 |
| ^0.1.2 | ^8.0.0 | ^0.69.0 |
Here is a list of related and helpful links after ejecting a react-native project
- [react-native-rename] - Rename react-native app with just one command
- [react-native-app-id] - Cross platform approach to setting a bundle ID
- [rename-your-xcode-project] - (iOS) Article
- [rename-an-xcode-project] - (iOS) Stack Overflow Question
- [change-the-bundle-identifier] - Stack Overflow Question
- [app-icon] - Icon management for Mobile Apps
- [android-asset-studio] - A collection of tools to easily generate Android assets
MIT
[react-native-rename]: https://github.com/junedomingo/react-native-rename
[react-native-app-id]: https://github.com/kyle-ssg/react-native-app-id
[rename-your-xcode-project]: https://medium.com/@KentaKodashima/ios-rename-your-xcode-project-b02b0382830
[rename-an-xcode-project]: https://stackoverflow.com/a/35500038/3197080
[change-the-bundle-identifier]: https://stackoverflow.com/a/44481467/3197080
[app-icon]: https://github.com/dwmkerr/app-icon
[android-asset-studio]: https://romannurik.github.io/AndroidAssetStudio/