Skip to content

calebnance/expo-multi-screen-starter

Repository files navigation

Multi Screen Starter with Expo

web demo: Expo Multi Screen Starter

follow @calebnance

Table of Contents

Install & Build

First, make sure you have Expo CLI installed: npm install -g expo-cli

Install: yarn or yarn install

Run Project Locally: yarn dev or yarn start

Features

  • Expo SDK 42
  • React Navigation v6
  • Preloading/caching local assets
  • SVG custom icon usage
  • Checker for the iOS notch: iPhoneX, iPhoneXs, iPhoneXr, iPhoneXs Max

Linting

  • run: yarn lint for a list of linting warnings/error in cli
  • prettier and airbnb config
  • make sure you have prettier package installed on your atom/vscode editor
  • then make sure to enable these options (packages → prettier):
    • eslint integration
    • stylelint integration
    • automatic format on save (toggle format on save)
  • be aware of the .prettierignore file

Assets Used

Device Learnings

ios: the notch on iPhoneX, iPhoneXs, iPhoneXr, iPhoneXs Max is 30px from top

Release Notes

version: 0.0.2 (current)

version: 0.0.1

this starter for a multi screens/stack app is at a good state

  • started with React Navigation v2
  • preloading/caching local images (with splash loading screen)
  • utility checker for the notch: iPhoneX, iPhoneXs, iPhoneXr, iPhoneXs Max
  • simple jest tests
  • svg usage

Demo

Releases

No releases published

Packages

No packages published