ong-bitcoin-argentina / DIDI-SSI-Mobile

Repo DIDI-Mobile. Diseñado por proyecto DIDI ONG DECODES, desarrollado por NEC.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

didi

Diseños:

Visualiza presentación de diseño


Environment

.env.alpha y .env.staging

Obtener archivos desde Google Drive (pedir acceso) y agregarlos a la carpeta /src del proyecto

google-services.json

Obtener archivo desde Google Drive o Firebase del proyecto, y agregarlo a /src/android/app


APK Deployment

Steps to follow for generate an release version of APK

Prerequisites:

  1. Download from google drive folder with environment files, the following files: .env.alpha, .env.staging, gradle.properties and didi-key.keystore. Ask for access to folder with these .env already generated, this serves for development too.
  2. Put .env.alpha and .env.staging in ./src.
  3. Put didi.keystore in /src/android/app. It can be regenerated if you want, just remember to change the corresponding values in gradle.properties.
  4. Put gradle.properties in /src/android.

Generating APK

A. Production

Change VERSIONCODE (add 1, for example from 4 to 5) in .env.alpha and:

Run npm run build in /src for build and create apk for production.

B. Staging

Change VERSION (add 1 at last, for example from 1.0.9 to 1.0.10) in .env.staging) and:

Run npm run build:stage in /src for build and create apk for staging.

Expected output (for both) is on /src/android/app/build/outputs/apk/staging/release/app-staging-release.apk


DIDI-SDK

Para el correcto funcionamiento de la aplicación, se debe hacer una modificacion de entorno sobre el DIDI-SDK.

Para esto (una vez realizado npm install), dirigirse al directorio node_modules/didi-sdk/src/crypto/Encription.ts y modificar la constante HASH_SALT con el valor de PRIVATE_KEY_SEED_PASSWORD ubicado en el archivo .env inicialmente configurado.

Para más información, ver la documentación

About

Repo DIDI-Mobile. Diseñado por proyecto DIDI ONG DECODES, desarrollado por NEC.


Languages

Language:TypeScript 98.3%Language:Objective-C 0.6%Language:Ruby 0.3%Language:Starlark 0.3%Language:Java 0.2%Language:JavaScript 0.1%Language:Shell 0.1%