android/app/build
folder then run react-native run-android
again.npm
npm i -g react-native-rename
(to rename project)brew install imagemagick
npm i -g yo generator-rn-toolbox
(to do awesome stuffs rn-toolbox)yarn add --dev eslint-config-rallycoding
or npm install --save-dev eslint-config-rallycoding
git clone https://github.com/crabstudio/react-native-starter-kit.git your_project_name
cd your_project_name && yarn
or cd your_project_name && npm install
react-native-rename your_project_name
react-native run-android
or react-native run-ios
I have standard .psd
files, you can edit by using photoshop, then following command bellow to replace existing icon|splash
Assets file are in: assets/psd
After edit psd file, please export them into png files
yo rn-toolbox:assets --icon ./assets/img/icon.png --splash ./assets/img/splash.png --store
Enter Y then press Enter to override existing one
Remove all line inside key AppTheme in file: android/app/src/res/values/styles.xml
[Finally your styles.xml must be the same example bellow]
<resources>
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
</style>
<!-- Base application theme. -->
</resources>
After generate, you will have 3 file for appStore, playStore in project root directory:
itunes-icon.png
play-store-icon.png
play-store-image.png
StatusBar
color android API < 21 (pre-5.0)MIT License
Copyright (c) 2017 Crabstudio
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.