mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-10 05:58:01 -05:00
cefd937c85f99640601dce3fe9c755cba47e2aa7
inji
MOSIP citizen app.
Dependencies
Be sure to have the following build tools installed before proceeding:
Generate keystore for APK signing
keytool \
-genkey -v \
-storetype PKCS12 \
-keyalg RSA \
-keysize 2048 \
-validity 10000 \
-storepass 'android' \
-keypass 'android' \
-alias androidreleasekey \
-keystore android/app/release.keystore \
-dname "CN=io.mosip.residentapp,OU=,O=,L=,S=,C=US"
Running the app
# Install all dependencies
npm install
# run dev client
npm start
# run Inji directly to connected emulator or device (Default)
npm run android:newlogic
# run Inji Philippines directly to connected emulator or device
npm run android:ph
Building from Source
Build via Android Studio
The app is available in this repository's frontend/android directory. Open this directory in Android Studio (version 4.1 and above) and the app can be built and run from there.
More info here: Build your app using Android Studio
Build via command line
You need Android SDK CLI to build APK.
# 1. Install dependencies
npm install
# Setup the environment variable for keystore
export RELEASE_KEYSTORE=release.keystore
export RELEASE_KEYSTORE_ALIAS=androidreleasekey
export RELEASE_KEYSTORE_PASSWORD=android
# Use DEBUG_KEYSTORE, DEBUG_KEYSTORE_ALIAS, DEBUG_KEYSTORE_PASSWORD for debug build
# Use one of following command to build the flavor you need.
# Build for Mosip Philippines test
npm run build:android:ph
# Build for Newlogic test
npm run build:android:newlogic
More info here: Build your app from the command line
Credits
Credits listed here
Languages
TypeScript
86.6%
Kotlin
5.2%
Swift
2.7%
Java
2.6%
JavaScript
1.4%
Other
1.4%