SmartStopAPK/README.md

3.0 KiB

APK

24-03-2024 Instalador SmartStop

Getting Started

Note: Make sure you have completed the React Native - Environment Setup instructions till "Creating a new application" step, before proceeding.

Step 1: Install dependencies

yarn install

Step 2: Start your Application

For Android

yarn android

For iOS

yarn ios

If everything is set up correctly, you should see your new app running in your Android Emulator or iOS Simulator shortly provided you have set up your emulator/simulator correctly.

This is one way to run your app — you can also run it directly from within Android Studio and Xcode respectively.

Troubleshooting

If you can't get this to work, see the Troubleshooting page.

Learn More

To learn more about React Native, take a look at the following resources:

Utility scripts

Start metro server

yarn start

Linting code

yarn lint

Run tests

yarn test

Create a release apk

yarn build:apk:release

Crear REMOTE CONFIG

  • Ir a Firebase

  • Seleccionar Crear Proyecto

  • Indicar SmartStop en Nombre del proyecto, Aceptar condiciones y Continuar

  • Ir a Configuración del Proyecto (Icono de engranage en menú superior izquierdo)

  • En sección tus apps, agregar app Android (click en icono android).

  • En nombre del paquete Android colocar: com.smartstop

  • Dejar vacios los valores opcionales, y hacer click en Registrar App.

  • En menú lateral izquierdo seleccionar Remote Config

  • Click en crear Configuración.

  • Agregar los siguientes parametros con los valores correspondientes:

      "PASSWORD": "pass",
      "UPDATE_BUSES_LIST_INTERVAL": "60000" (de tipo numerico),
      "HEADER_IMAGE_URL": "https://cdn-icons-png.flaticon.com/512/8371/8371047.png",
      "CHANGE_PAGE_INTERVAL": "20000" (de tipo numerico),
      "RUT": "rut user",
      "USER": "usaurio",
      "BASE_URL": "https://gestion.cl"
    
  • Ir a Configuración del Proyecto (Icono de engranage en menú superior izquierdo)

  • En sección tus apps, Seleccionar com.smartstop

  • Descargar archivo google-services.json y reemplazarlo en el proyecto de la apliación