Skip to main content

Fitness App CLI Version

This guide covers the React Native CLI-first version of the Fitness App template, located in:

cli-version/ReactNativeFitnessApp

Use this version if you want full native control and a standard React Native CLI workflow.

What This Version Uses

  • React Native CLI as the primary workflow
  • native ios/ and android/ projects committed in the template
  • Expo native modules only where they improve the app, such as media and utility integrations

This is not an Expo Go project.

First Run

From the CLI app folder:

yarn install
cd ios
pod install
cd ..
yarn start --reset-cache

In a second terminal, run either:

yarn ios

or

yarn android

Shared Setup Docs

These shared docs apply directly to this version:

Important Defaults

At the time of writing, the CLI version ships with these neutral defaults:

  • app name: Fitness App
  • JS entry component: FitnessApp
  • Android package: com.instamobile.fitnessapp
  • iOS bundle identifier: com.instamobile.fitnessapp

Replace these with your own brand before publishing.

Run these before you start customization or before release:

yarn lint
yarn test
cd ios && pod install && cd ..
yarn ios
cd android && ./gradlew app:assembleGooglePlayDebug && cd ..

Buyer Onboarding

The CLI version also ships with local docs inside the template folder:

  • README.md
  • BUYER_ONBOARDING.md

Use those together with this Docusaurus documentation.

Workflow Notes

  • Keep using yarn start, yarn ios, and yarn android for day-to-day work
  • It is expected to see some expo packages in this project; they are used as native modules, not as the main runtime shell
  • Native edits belong in the committed iOS and Android projects for this version