gopalaswin 62b627242c MOSIP-42741 UI Testrig Inji Mobile - Cleanup for duplicated assertions for ios testcases (#2074)
* [MOSIP-42741] [UI Testrig] Inji Mobile - Do the cleanup for duplicated assertions done in all the testcases

Signed-off-by: Aswin <aswingopal30@gmail.com>

* [MOSIP-42741] [UI Testrig] Inji Mobile - Do the cleanup for duplicated assertions done in all the testcases

Signed-off-by: Aswin <aswingopal30@gmail.com>

* Update DeletingVcTest.java

Updated as per the river comments 

Signed-off-by: gopalaswin <167510433+gopalaswin@users.noreply.github.com>

* Update VcDownloadAndVerifyUsingEsignetTest.java

updated the changes 

Signed-off-by: gopalaswin <167510433+gopalaswin@users.noreply.github.com>

* Update VcDownloadAndVerifyUsingEsignetTest.java

updated the changes 

Signed-off-by: gopalaswin <167510433+gopalaswin@users.noreply.github.com>

* Update keyManagement.java

updated the changes 

Signed-off-by: gopalaswin <167510433+gopalaswin@users.noreply.github.com>

* Update VerifyHistoryTest.java

updated the changes 

Signed-off-by: gopalaswin <167510433+gopalaswin@users.noreply.github.com>

* [MOSIP-42741] [UI Testrig] Inji Mobile - Do the cleanup for duplicated assertions done in all the testcases

Signed-off-by: Aswin <aswingopal30@gmail.com>

* Update KeyManagmentTest.java

47-line uncommented 

Signed-off-by: gopalaswin <167510433+gopalaswin@users.noreply.github.com>

* Update NoNetworkIosTest.java

removed the commented into uncommented line 448 and 449 

Signed-off-by: gopalaswin <167510433+gopalaswin@users.noreply.github.com>

* Update UnlockWithPasscodeTest.java

uncommented 

Signed-off-by: gopalaswin <167510433+gopalaswin@users.noreply.github.com>

* Update VcDownloadAndVerifyUsingMdl.java

uncommented line 105 106 106

Signed-off-by: gopalaswin <167510433+gopalaswin@users.noreply.github.com>

* Update VcDownloadAndVerifyUsingMdl.java

line 154 and 155 uncommented 

Signed-off-by: gopalaswin <167510433+gopalaswin@users.noreply.github.com>

* Update VerifyHistoryTest.java

line 168 uncommented 

Signed-off-by: gopalaswin <167510433+gopalaswin@users.noreply.github.com>

* Update KeyManagmentTest.java

uncommented the line number 181 assertTrue(sunbirdLoginPage.isSunbirdCardActive(), "Verify if download sunbird displayed active");

Signed-off-by: gopalaswin <167510433+gopalaswin@users.noreply.github.com>

---------

Signed-off-by: Aswin <aswingopal30@gmail.com>
Signed-off-by: gopalaswin <167510433+gopalaswin@users.noreply.github.com>
2025-09-18 15:22:48 +05:30
2022-02-15 10:26:25 +07:00
2025-09-16 20:58:16 +05:30
2023-12-20 10:17:46 +05:30
2022-02-28 13:39:10 +08:00
2022-02-15 10:26:25 +07:00

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
  • Share Verifiable Credentials
  • Enable users to log in to relying parties with their credential
  • Generate a QR code for the credential to be shared offline with relying parties.

for more details refer here

Setup PreRequisites

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

Android

  • Java 17
  • Gradle 8.6
  • Android SDK. Make sure to install Android SDK Build-Tools - 35.0.0 from SDK Manager.
  • minSdkVersion = 24
  • compileSdkVersion = 35
  • targetSdkVersion = 35
  • ndkVersion = 21.4.7075529
  • kotlinVersion = 1.9.22

iOS

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

Configuring the Environment

If you ever want to use something in your local environment based on your customization and in need of using environment files other than default (.env), you can add some variables to your .env.local file. 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

#Application Theme can be ( gradient | purple ), defaults to gradient theme
APPLICATION_THEME=grdaient

#environment can be changed if it is toggled
CREDENTIAL_REGISTRY_EDIT=true

#Inji Wallet CLIENT ID for Data backup & Restore
GOOGLE_ANDROID_CLIENT_ID='<client_id>'

for more information on the backend services refer here.

Building & Running for Android

Refer to the documentation of Inji Wallet's build and deployment android section for the steps build the android application.

Note: Alternative to building and running app via react native CLI, it can be built via Android Studio. The app is available in this repository's ./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:

Building & Running for iOS

Refer to the documentation of Inji Wallet's build and deployment iOS section for the steps build the iOS application.

More info here:

Note

When application is built via IDE, metro need to be started manually (For instance, if building app via XCode open metro manually, as metro hook has been removed from building via XCode - reference). However, if app is built via npm commands, metro starts automatically (For instance, npm run android:mosip or npm run ios)

Known Issues

  • Terminal Configuration Error

    When attempting to build the application using certain terminals via npm commands, you may encounter the following error:

    Cannot start server in new windows because no terminal app was specified, use --terminal to specify, or start a dev server manually by running npm start or yarn start in other terminal window.
    

    Cause:

    • This issue occurs due to missing or incorrect terminal configuration or environment settings.

    Workaround:

    • Start the development server manually by running npm start in a separate terminal window.

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.

Learn More

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

Description
No description provided
Readme MIT 296 MiB
Languages
TypeScript 86.6%
Kotlin 5.2%
Swift 2.7%
Java 2.6%
JavaScript 1.4%
Other 1.4%