Skip to content
/ mobile Public

React Native components to fuel conversational interfaces with streaming data on mobile devices

Notifications You must be signed in to change notification settings

airyhq/mobile

Repository files navigation

Airy Mobile

Usage

Folder structure

This template follows a very simple project structure:

  • src: This folder is the main container of all the code inside your application.
    • assets: Asset folder to store all images, vectors, etc.
    • components: Folder to store any common component that you use through your app (such as a generic button)
    • constants: Folder to store any kind of constant that you have.
    • localization: Folder to store the languages files.
    • navigation: Folder to store the navigators.
    • reducers: This folder should have all your reducers, and expose the combined result using its index.js
    • screens: Folder that contains all your application screens/features.
      • Screen: Each screen should be stored inside its folder and inside it a file for its code and a separate one for the styles and tests.
        • Screen.js
        • Screen.styles.js
        • Screen.test.js
    • storage: Folder that contains the application storage logic.
    • theme: Folder to store all the styling concerns related to the application theme.
    • App.js: Main component that starts your whole app.
    • index.js: Entry point of your application as per React-Native standards.

Android

iOS

Generate production version

These are the steps to generate .apk, .aab and .ipa files

Android

  1. Generate an upload key
  2. Setting up gradle variables
  3. Go to the android folder
  4. Execute ./gradlew assemble[Env][BuildType]

Note: You have three options to execute the project assemble: Generates an apk that you can share with others. install: When you want to test a release build on a connected device. bundle: When you are uploading the app to the Play Store.

For more info please go to https://reactnative.dev/docs/signed-apk-android

iOS

  1. Go to the Xcode
  2. Select the schema
  3. Select 'Any iOS device' as target
  4. Product -> Archive

For more info please go to https://reactnative.dev/docs/publishing-to-app-store

Styleguide

For coding styling, we decided to go with ESLint and React Native community's styleguide.

How to use it

Components

Screens

About

React Native components to fuel conversational interfaces with streaming data on mobile devices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •