Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.33 KB

README.md

File metadata and controls

32 lines (21 loc) · 1.33 KB

myLocations

Collection management application demo for the Google Map locations.

Try running it

Code sharing

The project demonstrates the possibility of maximum sharing of code between web and the React Native platforms. In fact, only src/browser/Root.js and src/native/Root.js differ, well, also, the code for some components and styles is different.

The boilerplate web-native-app is based on:

The stylization of the web components - Fela. This approach allowed us to apply StyleSheets of the same structure.

Browser Tasks

  • npm run browser run web app in development mode
  • npm run build build web app for production
  • npm run deploy deploy to Github pages (configure git remote before this)

React Native Tasks

  • npm run android install React Native Android application
  • npm run native start React Native application
  • npm run apk generating the release APK
  • npm run log starting the Android logger