Coder Social home page Coder Social logo

tfrnd / inji_latest1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mosip/inji-wallet

0.0 0.0 0.0 203.25 MB

License: MIT License

Shell 0.28% JavaScript 1.36% Ruby 0.80% Objective-C 0.03% Java 41.88% TypeScript 55.50% Objective-C++ 0.14% Swift 0.01%

inji_latest1's Introduction

Inji

Inji Mobile Wallet is a mobile application specifically created to streamline all types of identification and credentials into one digital wallet. It offers a secure, trustworthy, and dependable mobile Verifiable Credentials wallet designed to fulfil the following functions

  • Download and store Verifiable Credentials
  • Conduct offline face authentication
  • Share Verifiable Credentials
  • Enable users to log in to online portals

for more details refer here

Setup PreRequisites

Be sure to have the following build tools installed before proceeding:

Android

iOS

  • XCode = >15
  • Minimum Deployment Target = 13.0
  • cocoapods > 1.12
  • Ruby >= 2.6.10

Configuring the Environment

Create a .env.local file using .env as your template in your root directory :

# Mimoto Server
MIMOTO_HOST =  https://api.collab.mosip.net/

# ESignet Server
ESIGNET_HOST =  https://esignet.collab.mosip.net/

# Telemetry Server
OBSRV_HOST = https://dataset-api.obsrv.mosip.net
Telemetry Dashboard = https://druid.obsrv.mosip.net/unified-console.html#workbench

for more information on the backend services refer here.

Building & Running for Android

Generate keystore

# Generate and use Release keystore for Publishing to Play store
keytool \
-genkey -v \
-storetype PKCS12 \
-keyalg RSA \
-keysize 2048 \
-validity 10000 \
-storepass '<USE-YOUR-RELEASE-PASSWORD-HERE>' \
-keypass '<USE-YOUR-RELEASE-PASSWORD-HERE>' \
-alias androidreleasekey \
-keystore android/app/release.keystore \
-dname "CN=io.mosip.residentapp,OU=,O=,L=,S=,C=US"

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

# 2. Setup the environment variables for the keystore

# Debug keystore
export DEBUG_KEYSTORE_ALIAS=androiddebugkey
export DEBUG_KEYSTORE_PASSWORD=android

# Release keystore
export RELEASE_KEYSTORE_ALIAS=androidreleasekey
export RELEASE_KEYSTORE_PASSWORD=<USE-YOUR-RELEASE-PASSWORD-HERE>

# https://hostname/residentmobileapp is the Mimoto service url
export BACKEND_SERVICE_URL=https://hostname/residentmobileapp

# Build for MOSIP test
npm run build:android:mosip

More info here: Build your app from the command line

Building & Running for iOS

Build for TestFlight

  • Install all dependencies
npm install
npx pod-install
  • Open the ios/ directory in XCode
  • Set the build target to "Any iOS device (arm64)"
  • Use an Apple Developer account that can provision builds for release/TestFlight

Screen Shot 2022-09-01 at 10 34 45 AM

  • Don't forget to bump the version number when creating an archive
  • Open the Product menu and from there click Archive
  • Once done you can follow the dialog wizard to distribute the app to TestFlight

Screen Shot 2022-09-01 at 1 08 34 PM

More info here:

Contributions

Please refer here for contributing to Inji

Credits

Credits listed here

Troubleshooting

If you can't get this to work, see the Troubleshooting page. this project runtime can be debugged using Flipper.

Learn More

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

inji_latest1's People

Contributors

pmigueld avatar anil-kumar-majji avatar srikanth716 avatar danicamat avatar kiruthikajeyashankar avatar vijay151096 avatar tilak-puli avatar monobikashdas avatar vharsh avatar alka1703 avatar pubhargavi avatar kneckinator avatar swatigoel avatar adityankannan-tw avatar poojababusingh avatar dhivya0413 avatar nicholemnl avatar rakhimosip avatar krishnakumar4a4 avatar ckm007 avatar anup-nehe avatar gsasikumar avatar poojababusing avatar danicaerediano avatar ravikp avatar kamalsinghthoughtworks avatar sree96 avatar gaganama avatar typelogic avatar adityankannan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.