Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

A sample mobile app, with some basic integrations suitable for most mobile apps

Notifications You must be signed in to change notification settings

Infinite-Code/SampleMobileApp

Open more actions menu

Repository files navigation

Sample React Native Mobile App

Just a starter project that defines a simple structure that should be usable for future projects.

The following plugins have been added:

  • react-navigation
    • Added DrawerNavigator and TabNavigator
  • redux, react-redux, redux-persist, redux-thunk
    • Please check code in main.js and also the following folders
      • containers, reducers, actions
    • App will automatically load data from storage
    • A loading screen will be shown, deliberately slowed down
    • Only test reducer is whitelisted to be persisted

Also configured the following:

  • Jest
    • Added tests with mocking
  • ESLint
  • Flow
    • Basic configuration

Setup ESLint

To make ESLint work properly with Flow, follow the instructions below. Normally it is easier to setup eslint globally, so that your editors can access it, most modern editors should have support for eslint:

npm install -g eslint
npm install -g babel-eslint
npm install -g eslint-plugin-flowtype
npm install -g eslint-plugin-react

refs https://github.com/gajus/eslint-plugin-flowtype#installation

About

A sample mobile app, with some basic integrations suitable for most mobile apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.