Skip to content

Latest commit

 

History

History
264 lines (206 loc) · 9.01 KB

File metadata and controls

264 lines (206 loc) · 9.01 KB


Markdownify
PrintingAPP
production manager

Application based on the production needs of a journalistic company.

Key FeaturesHow To UseDownloadClone this workCustom componentsCreditsLicense

mockup image

Key Features

  • Tools for out of production calculations.
  • Two types of productions:
    • Simple: No database support, production reporting, coil swapping, paper reels weight records or production self delete.
    • Complete or main: database, creation and sending of production reports, auto-add of paper reels in new productions, weight calculations by units and by complete production, warnings for lack of kilograms per unit, position exchanger of paper reels. paper and more..
  • Application database:
    • Measurement coefficients for paper reels.
    • Paginations.
    • Paper weights.
    • Paper reels measurements.
    • Paper reels property.
    • Coefficients for calculating paper reel scraps.
    • Production lines.
    • Auto paster units.
    • Products.
    • Productions.
    • Papeer reels in productions.
  • Creation and submission of production reports.
  • Visualization of production statistics.
  • Production report viewer within the app.
  • Search for paper reels by scanning code or input text.
  • Selection of barcode types to scan.
  • Auto selection of auto pasters based on previous productions.
  • Prediction of wastage of copies based on previous productions.
  • Export and import databases of other users
  • And more...

How To Use

Consult documentation and use of the application once installed Documentation and use.

Download

You can download the latest installable version of Play Store.

How to use this work?

Requirements

To use Expo CLI, you need to have the following tools installed on your developer machine:

  • Node.js LTS release
  • Git

Note

  • Watchman, required only for macOS or Linux users

Expo install

First we install with npm explo-cli and exp (we must have Node.js and npm installed)

$ npm install -g expo-cli exp

Documentation:

Note: You can check documentation Expo Documentation.


EAS Expo install (Expo Application Services)

Install the latest EAS CLI:

$ npm install -g eas-cli

Clone this repository

$ git clone https://github.com/AlbertoGarel/ReactNative-Print_Production_APP.git

Install dependencies

Go into the working directory

$ npm install

Introduction of personalized requirements for the operation of the app

rename files

• app_custom.json TO app.json
• projectkeys_custom.js TO projectkeys.js

app.json changes:

{
  "expo": {
    ...,
    "hooks": {
      "postPublish": [
        {
          "file": "sentry-expo/upload-sourcemaps",
          "config": {
            "organization": "YOUR ORGANIZATION REGISTRERED IN SENTRY",
            "project": "printing_app_production_manager",
            "authToken": "YOUR SENTRY TOKEN"
          }
        }
      ]
    }
  },
  "react-native-google-mobile-ads": {
    "android_app_id": "ca-app-pub-xxxxxxxx~xxxxxxxx",
    "ios_app_id": "ca-app-pub-xxxxxxxx~xxxxxxxx"
  }
}
  

projectkeys.js changes

export const ADMOB_KEYS = {
    "android_app_id": "ca-app-pub-xxxxxxxx~xxxxxxxx",
    "admod_SDK": "ca-app-pub-xxxxxxxx~xxxxxxxx"
};

or comment <AdMobBanner/> Routes.js


Creating preview build (Whit EAS)

Prerequisites

An Expo user account:

Note: EAS Build is available to anyone with an Expo account, regardless of whether you pay for EAS or use free tier. You can sign up at create your account

Log in to your Expo account

$ eas login

You can check whether you are logged in by running eas whoami

Documentation:

Note:
Developers using the Windows operating system must have WSL enabled. If you do not have it installed, follow this installation guide. When it prompts for choosing a Linux distribution, we recommend picking Ubuntu from the Windows Store. Launch Ubuntu at least once and then use an admin PowerShell to run the command:

$ Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

Building APK for Android

On Linux WSL PowerShell go to project folder and run:

eas build -p android --profile preview --clear-cache

Note:
Download the APK file from your Expo account on your Android device or emulator ("Virtual device").

Good job. Enjoy...!!

Note


Personal component created

RadioButtonComponent

  • Multiple selection switch

multiple select image

How work it:

  • Multiple selector for selection of auto pasters, discriminating whether they are whole or 1/2 paper reels in a production based on its configuration. It is able to auto select all if a production uses all the equipment included in a production line configured in the database.
  • <RadioButtonComponent/> FormComponents Components

Credits

This software uses the following packages:

License

GNU AGPLv3


albertogarel.com  ·  GitHub @albertogarel  ·  Twitter @albertogarel