内容简介:SeeSee
React Native Starter App
A React Native template to bootstrap your next app!
Table of Contents
- Installation
:inbox_tray: - Environment Setup
:globe_with_meridians: - Contributors
:sparkles:
Installation
:inbox_tray:
> git clone https://github.com/IronTony/react-native-starter-app > cd react-native-starter-app # Install dependencies > yarn # if needed, setup iOS development environment yarn setup:ios
See environment
section for how to configure env variables.
See scripts
section for how to run the app.
Environment Setup
:globe_with_meridians:
React Native Starter App
environments variables management is based on a custom script and the app.json
config file.
Define your environment variables inside app.json
inside the environments
object under the desired environment key (such as development
, staging
or production
) and then run the app for the required env using one of the available run scripts (e.g. ios:dev
).
Scripts
:wrench:
Run the app
To run the app use one of the following scripts:
-
yarn android:dev
, to start the app on Android with thedevelopment
environment variables. -
yarn android:stage
, to start the app on Android with thestaging
environment variables. -
yarn android:prod
, to start the app on Android with theproduction
environment variables. -
yarn ios:dev
, to start the app on iOS with thedevelopment
environment variables. -
yarn ios:stage
, to start the app on iOS with thestaging
environment variables. -
yarn ios:prod
, to start the app on iOS with theproduction
environment variables.
Generate app icons
To setup the app icons:
- create an image at least
1024x1024px
- place it under
/assets
folder asicon.png
- run
yarn assets:icons
Generate Splashscreen
To setup the app splashscreen:
- create an image at least
1242x2208px
- place it under
/assets
folder assplashscreen.png
- run
yarn assets:splashscreen
Setup iOS
To setup the environment to run on iOS, run
yarn setup:ios
this will run cocoapods
to install all the required dependencies.
Roadmap
:runner:
redux
redux-persist
( https://github.com/rt2zz/redux-persist )
React Native Debugger
reselect
redux-saga
i18next
react-navigation
UI Kitten
)
NativeBase
)
Env
variables selection experimental way
Contributors
:sparkles:
Thanks goes to these wonderful people ( emoji key ):
IronTony |
Mattia Panzeri |
This project follows the all-contributors specification. Contributions of any kind welcome!
License
:scroll:
Licensed under Mozilla Public License Version 2.0
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
C++标准程序库
[德] Nicolai M. Josuttis / 侯捷、孟岩 / 华中科技大学出版社 / 2002-9 / 108.00元
这本包含最新资料的完整书籍,反映出被ANSI/ISO C++语言标准规格书纳入的C++标准程序库的最新组成。更明确地说,这本书将焦点放在标准模板库身上,检验其中的容器、迭代器、仿函数和算法。读者还可以找到特殊容、字串、数值类别、国际化议题、IOStream。每一个元素都有深刻的呈现,包括其介绍、设计、运用实例、细部解说、陷阱、意想不到的危险,以及相关类别和函数的精确樯记式和定义式。一起来看看 《C++标准程序库》 这本书的介绍吧!