Giter Site home page Giter Site logo

interfacematters / indus-mobile Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 4.09 MB

A react native mobile framework that helps industry workforce access the information distributed by their management like factory timings, guidelines, real time facility data and report grievances. The framework is built to be customized and works with firebase as a backend. This is a part of the "Project Indus" ecosystem and works with web framework (indus-web).

License: MIT License

JavaScript 81.46% Starlark 0.67% Java 6.90% Ruby 6.00% Objective-C 4.98%
covid-19 react-native serverless firebase digital-transformation industry-40

indus-mobile's Introduction

Indus mobile app

Pre-requisites

  1. Create a firebase project if not already created.
  2. Add an android and iOS application to it. REF: https://firebase.google.com/docs/projects/learn-more#setting_up_a_firebase_project_and_adding_apps
  3. Obtain google-services.json and GoogleService-Info.plist and place them under android/app and ios/ respectively.

Development

yarn - Install all dependencies.

To run the app on android simulator:

  1. Start the simulator first.
  2. Run yarn android - Creates a build and installs the app on the simulator. Also starts the metro builder.

To run the app on iOS simulator:

1, yarn ios - Creates a build and installs the app on the simulator. Also starts the metro builder.

  • cd ios && pod install - Required only when a Native dependency is added and is required to be linked.

yarn start - Starts metro builder.

Creating build

Android

  1. To create a debug build, run the following command:
    cd android && ./gradlew assembleDebug
    After successful completion you can find the apk in app/build/outputs/apk/debug.

  2. To create a release build:
    i. Create a signing key. REF: https://developer.android.com/studio/publish/app-signing
    ii. Update build.gradle and gradle.properties to use key configurations.
    iii. Run cd android && ./gradlew assembleRelease to create apk OR cd android && ./gradlew bundleRelease to build aab. After successful completion you can find the apk in app/build/outputs/apk/release which can be directly published to play store.

iOS

  1. Open xcode.
  2. Select generic ios device in the build target (top left menu).
  3. Make sure you have a development team added to xcode and required certificates from apple developer account.
  4. Click on Product->Archive. This will bundle the application and prompt for automatic signing of the app.
  5. After signing the app, upload option will be available to directly upload the apk to store.

indus-mobile's People

Contributors

ashwindhanasri avatar dependabot[bot] avatar pratik-im avatar

Watchers

 avatar

Forkers

singhpratik17

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.