/BoilerplateReactNative

Boilerplate react native with redux, saga, reanimated, immer,...

Primary LanguageTypeScript

Welcome to the Boilerplate React Native

🎆 Clean and minimalist React Native template for a quick start with TypeScript and so much more components.

Current version: 0.71.6

⭐ Features

  • Elegant usage directly within the RN-Boiler Cli
  • Fastlane (App center included)
  • Lefthook
  • Boot Splash
  • Blur Hash
  • Declare String, Number, Array
  • Consistent with the default React Native template
  • Minimal additional dependencies
  • Lots of built-in components
  • Multiple schema ios(Dev/Prod as default)
  • Multiple productFlavors android (dev/prod as default)

Base config (Now u can config on env)

  • Change App name APP_DISPLAY_NAME on env/(.dev/.prod)
  • Change App id BUNDLE_IDENTIFIER on env/(.dev/.prod)
  • Change App version VERSION_NAME on env/(.dev/.prod)
  • Change App build number VERSION_CODE on env/(.dev/.prod)
  • Change App URL API_URL on env/(.dev/.prod)

Gen app icon and Change app icon by env

Build with: rn-ml

  • Update app icon file from appicon folder
  • Run: yarn app-icon or yarn app-icon:dev
    • Android: auto change flavor script
    • IOS: Change ASSETCATALOG_COMPILER_APPICON_NAME to your respective App Icon Assets (in respective env file)

▶️ Usage

npx rn-boiler MyApp

Args command:

  • skip install deps:
--skipInstall
  • skip init git:
--skipGit

Preview

Library

🔖 License

This project is MIT licensed.