Skip to content

Most fundamental setup of multi-platform react native project with Swift and Kotlin support. Includes iOS, tvOS, Android, AndroidTV and Web platforms

Notifications You must be signed in to change notification settings

rborn/react-native-vanilla

 
 

Repository files navigation

react-native-vanilla

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
iOSAndroidtvOSAndroid TVWeb

Features:

iOS

  • Latest swift based Xcode project
  • Cocoapods Workspace ready
  • Swift 4.1 Support
Project Configuration
Feature Version
Swift 4.1
Deployment Target 11.4

Android

  • Latest Android project
  • Kotlin Support
  • Support for Gradle 4.9
  • Support for Android JSC (improved support for JavascriptCore like ES6 syntax)
Project Configuration
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

tvOS

  • Latest swift based Xcode project
  • Cocoapods Workspace ready
  • Swift 4.1 Support
Project Configuration
Feature Version
Swift 4.1
Deployment Target 11.4

Android TV

  • Latest Android project
  • Kotlin Support
  • Support for Gradle 4.9
  • Support for Android JSC (improved support for JavascriptCore like ES6 syntax)
Project Configuration
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

Web

  • Supports Chrome, Safari, Firefox, IE10+
Project Configuration
Feature Version
Webpack 3.11.0
react-native-web 0.8.9
Babel Core 7.0.0-beta.47

Requirements

Stack / 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

Get Started

1. Prerequisite

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

2. Installation

On the command prompt run the following commands

$ git clone [email protected]:pavjacko/react-native-vanilla.git

$ cd react-native-vanilla

$ npm run setup

3. Run

iOS
npm start
npm run ios
Android

NOTE: make sure you have 1 android device connected or 1 emulator running

npm start
npm run android
tvOS
npm start
npm run tvos
Android TV

NOTE: make sure you have 1 android device connected or 1 emulator running

npm start
npm run androidtv
Web
npm run web

open browser URL: http://localhost:8080

About

Most fundamental setup of multi-platform react native project with Swift and Kotlin support. Includes iOS, tvOS, Android, AndroidTV and Web platforms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 73.4%
  • JavaScript 15.0%
  • Ruby 6.9%
  • Swift 3.3%
  • HTML 1.0%
  • Python 0.3%
  • CSS 0.1%