diff --git a/README.md b/README.md index 5ef2bfd..d842b11 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +# APK +[Instalador SmartStop](https://drive.google.com/file/d/1Z_AwPtNvO-o6W8y4i5ixGSU2M-9IZnTN/view?usp=sharing) # Getting Started > **Note**: Make sure you have completed the [React Native - Environment Setup](https://reactnative.dev/docs/environment-setup) instructions till "Creating a new application" step, before proceeding. @@ -65,3 +67,29 @@ yarn test ```bash yarn build:apk:release ``` + +### Crear REMOTE CONFIG + +- [ ] [Ir a Firebase](https://console.firebase.google.com/) +- [ ] 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 + +