Most fundamental setup of react native vanilla project based environment with Swift and Kotlin support. Includes latest iOS
, tvOS
, Android
, AndroidTV
and Web
platforms
- Ideal starting point for advanced projects.
- Includes bleeding edge dependencies configured to work witch each other
iOS | Android | tvOS | Android TV | Web |
---|---|---|---|---|
- Latest swift based Xcode project
- Cocoapods Workspace ready
- Swift 4.1 Support
Feature | Version |
---|---|
Swift | 4.1 |
Deployment Target | 11.4 |
- Latest Android project
- Kotlin Support
- Support for Gradle 4.9
- Support for Android JSC (improved support for JavascriptCore like ES6 syntax)
Feature | Version |
---|---|
Gradle | 4.9-RC1 |
Android Gradle | 3.3.0-ALPHA3 |
Kotlin | 1.2.50 |
Target SDK | 27 |
JSC | org.webkit:android-jsc:r216113 |
- Latest swift based Xcode project
- Cocoapods Workspace ready
- Swift 4.1 Support
Feature | Version |
---|---|
Swift | 4.1 |
Deployment Target | 11.4 |
- Latest Android project
- Kotlin Support
- Support for Gradle 4.9
- Support for Android JSC (improved support for JavascriptCore like ES6 syntax)
Feature | Version |
---|---|
Gradle | 4.9-RC1 |
Android Gradle | 3.3.0-ALPHA3 |
Kotlin | 1.2.50 |
Target SDK | 27 |
JSC | org.webkit:android-jsc:r216113 |
- Supports Chrome, Safari, Firefox, IE10+
Feature | Version |
---|---|
Webpack | 3.11.0 |
react-native-web | 0.8.9 |
Babel Core | 7.0.0-beta.47 |
- Node
8.x
or newer - NPM
6.2.0
or newer - Cocoapods
1.5.3
or newer - React Native for development
- Xcode for iOS development
- Android Studio for Android development
- Android SDK
23.0.1
or newer for Android development - CocoaPods
1.4.0
for iOS libraries
- React
16.4.1
react library - React Native
0.56.0
for building native apps using react - Babel
7.x.x
for ES6+ support
The recommended way to run specific version of Node and NPM is to use NVM:
nvm install node 10.8.0
nvm alias default node
Recommended Node configuration:
- Node v10.8.0
- npm v6.2.0
On the command prompt run the following commands
$ git clone [email protected]:pavjacko/react-native-vanilla.git
$ cd react-native-vanilla
$ npm run setup
npm start
npm run ios
NOTE: make sure you have 1 android device connected or 1 emulator running
npm start
npm run android
npm start
npm run tvos
NOTE: make sure you have 1 android device connected or 1 emulator running
npm start
npm run androidtv
npm run web
open browser URL: http://localhost:8080