Commit Graph

198 Commits

Author SHA1 Message Date
Sreenadh S
94ae9f1100 Fix text-encoder missing reference for pixelpass (#1420)
Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com>
2024-05-07 19:28:52 +05:30
Sreenadh S
6cfffd090c [INJIMOB-1257] - update react-native-cloud-storage (#1410)
Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com>
2024-05-06 13:26:03 +05:30
Sreenadh S
81ac9cbbf9 [INJIMOb-1225] - update pixelpass on inji (#1407)
Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com>
2024-05-02 18:32:20 +05:30
Sreenadh S
e1ad0c030b [INJIMOB-932] - PixelPass implementation (#1373)
* [INJIMOB-932] - pixelpass integration

Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com>

* [INJIMOB-932] - add navigation to home and notification banner

Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com>

* [INJIMOB-932] - update pixelpass version

Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com>

* [INJIMOB-932] - revert testing changes

Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com>

* [INJIMOB-932] - remove unsused imports

Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com>

* [INJIMOB-932] - refactoring

Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com>

---------

Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com>
2024-04-15 15:27:00 +05:30
abhip2565
b20cab2696 [INJIMOB-854] [Data backup]: iCloud settings section in the Backup & Restore screen (#1369)
* [INJIMOB-854]: Refactor  package-lock and typegen

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

[INJIMOB-854]: Refactor  package-lock and typegen

* [INJIMOB-854]: Changes for ios setup

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

[INJIMOB-854]: Changes for ios setup

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

[INJIMOB-854]: Changes for ios setup

INJIMOB-854]: Changes for ios setup

* [INJIMOB-854]: Refactor back up and restore Ios changes

Signed-off-by: Abhishek Paul <abhishek.paul@thoughtworks.com>

[INJIMOB-854]: Refactor back up and restore Ios changes

* [INJIMOB-854]: Refactor  package-lock and typegen

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-854]: Refactor  typegen

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-854]: Refactor Backup and restore screen

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-854]: Refactor Backup and restore screen

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-854]: Refactor Backup and restore screen

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

---------

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
Co-authored-by: Abhishek Paul <abhishek.paul@thoughtworks.com>
2024-04-12 09:57:13 +05:30
Harsh Vardhan
c05408413d [INJI-314] [INJI-900] add jest testing config, mocks and sample unit tests for Inji (#1340)
* [INJI-314] initial commit

Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com>

* [INJI-314] add WIP ut stuff

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-314] fix tsconfig for project type

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-314] kludge - skip checking types during unit tests

* mock image imports globally
* enable tests to run from any dir

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-314]: mocked modules

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-314]: mock react-native-google-signin

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-314]: use defined mock from google-signin lib

other details:
- mock base58.., rn-linear-gradient, expo-camera
- add @react-native/assets-registry to make jest-expo babel preset work

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-314] reorganise global const mocks into jest's setupFiles

Co-authored-by: srikanth716 <srikanthsri7447@gmail.com>
Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-900] write tests for ActivityLogEvent

* init relevant mocks
* remove redundant global mocks from test files

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-900] fixup mocks of mmkv, zip-archive, rnfs

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-900]: write unit test for commonUtil

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-900]: write unit test for commonUtil

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-900]: sample unit test for settingsScreen

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-900] add SettingScreen test

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-900] update sample tests for commonUtil

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-900]: refactoring the settingsScreen test for Android and IOS

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-900] update test snapshots and add kludge in auth for testing

kludge: auth state machine now exports a selector with optional fields
as state machine isn't running in a test environment

Co-authored-by: srikanth716 <srikanthsri7447@gmail.com>
Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-900]: snapshot test to settings screen

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-900] update mocks for testing and ACK reviews

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-900] downgrade expo to match compatibility matrix

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-900] upgrade expo to 49 to build the iOS app(kludge)

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-900] configure react-native-vector-icons as per README

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

---------

Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com>
Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>
Co-authored-by: Sri Kanth Kola <srikanthsri7447@gmail.com>
2024-04-02 11:22:01 +05:30
KiruthikaJeyashankar
1084dc1a43 [INJIMOB-918] avoid logging sensitive data (#1333)
* [INJIMOB-918] log state machines only in dev mode

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* [INJIMOB-918] remove unused logs & modify logs

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* [INJIMOB-918] remove console logs before bindling

ref - https://reactnative.dev/docs/performance#using-consolelog-statements

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* [INJIMOB-918] change log levels of existing console logs

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* [INJIMOB-918] change let to const as they are not re-assigned

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

---------

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2024-03-13 17:08:34 +05:30
KiruthikaJeyashankar
4695c7ddc8 [INJIMOB-531] send base64 encode data to encrypt to avoid data truncation (#1303)
* [INJIMOB-531] send base64 encode data to encrypt to avoid data truncation

When we pass data from a react native app with <part1>\x00<part2> value, any data post the \x00 gets truncated (i.e., part2 is trimmed off). This happens most likely with the react native bridge. To avoid this issue of truncation, we are required to pass the data as base64 encoded string and secure-keystore module will perform decoding before processing for encryption.

Co-authored-by: Harsh Vardhan <harsh59v@gmail.com>
Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* [INJIMOB-531] upgrade secure-keystore package version

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

---------

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
Co-authored-by: Harsh Vardhan <harsh59v@gmail.com>
2024-02-28 20:16:50 +05:30
PuBHARGAVI
7c0bb869c7 [Injimob 821] add setTimeout api in the react native cloud storage library to set the timeout of the fetch operation (#1245)
* [INJIMOB-841] fix the logic of updating the pin status for esignet and sunbird cards

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-841] remove the occurence of setVcUpdate event in all files

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-821] update react-native-cloud-storage package and generate patch file for setTimeout api changes

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-821] add setTimeout function type definition in RNCloudStorage.d.ts file and call it in inji

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

---------

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
2024-02-13 10:04:03 +05:30
adityankannan-tw
b4d9fd8d11 [INJI-763] use fixed version for iriscan library (#1220)
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>
2024-02-12 11:08:56 +05:30
KiruthikaJeyashankar
dab79f0a0d [INJIMOB-691] downgrade google-signin library
reason - @react-native-google-signin/google-signin v11.x requires target version 13.4 but our project has 13.0 which causes conflict

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2024-01-30 21:25:16 +05:30
KiruthikaJeyashankar
224c4d68c0 [INJI-691] replaced deprecated google-signin library
Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2024-01-25 16:27:56 +05:30
KiruthikaJeyashankar
4a3fb5620a [INJI-691] use react-native-google-signin for signin
Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2024-01-24 19:20:20 +05:30
Sreenadh S
e3e2c38477 INJI-633: backup upload to cloud
Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com>
2024-01-24 13:52:55 +05:30
Sreenadh S
67a3bb4061 INJI-681: Added basic cloud sign in component
Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com>
2024-01-22 14:44:42 +05:30
PoojaBabusing
d778b94403 [INJI-628 & INJI-630]: Local backup creation (#1160)
* [INJI-630]: add backup machine and screens for data backup

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

* [INJI-630]: add argon2 configs for hashing salt, password and phoneNumber

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

* [INJI-630]: add key encryption and store hashed encryption key

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

* [INJI-630]: add toggle backup check to make modal invisible in ios

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

* (INJI-630): update package-lock.json

Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com>

* [INJI-628]: restrict logic to double stringify JSON object before saving to DB

Signed-off-by: Alka <prasadalka1998@gmail.com>

* [INJI-628]: create local compressed backup file

Signed-off-by: Alka <prasadalka1998@gmail.com>

* [INJI-628]: move some functions to appropriate files

Signed-off-by: Alka <prasadalka1998@gmail.com>

* [INJI-628]: remove RN aes crypto library and use existing library to generate encryption key

Signed-off-by: Alka <prasadalka1998@gmail.com>

* [INJI-628]: update logic to check storage availability for backup creation

Signed-off-by: Alka <prasadalka1998@gmail.com>

* [INJI-628]: declare the variable and use then use it

Signed-off-by: Alka <prasadalka1998@gmail.com>

---------

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
Signed-off-by: PoojaBabusing <115976560+PoojaBabusing@users.noreply.github.com>
Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com>
Signed-off-by: Alka <prasadalka1998@gmail.com>
Signed-off-by: Alka Prasad <Alka1703@users.noreply.github.com>
Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com>
Co-authored-by: Alka <prasadalka1998@gmail.com>
Co-authored-by: Alka Prasad <Alka1703@users.noreply.github.com>
2024-01-19 18:24:55 +05:30
Harsh Vardhan
f9c6f37450 [INJI-699] remove .hmac & .hmace files created due to INJI-612 (#1170)
* [INJI-699] remove .hmac & .hmace files created due to INJI-612

* also bump up secure-keystore to fix INJI-612

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJI-559] remove PoC code added for INji-612

* redundant encryption/decryption over RN bridge was making it slower to
  load VCs, post initial bug-fix this code is removed to improve
  performance

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJI-559] use try-catch for removing redundant files

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJI-559] skip remove hmac file as its not created

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

---------

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
2024-01-17 12:09:01 +05:30
Harsh Vardhan
444b659d00 [INJI-612]: temp use unreleased secure-keystore from github (#1142)
Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
2024-01-08 11:38:42 +05:30
vijay151096
a2adcabc88 [INJI-609]: Dynamic VC Render (#1140)
* [INJI-609]: render vc claims dynamically using feature toggle

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* [INJI-609]: remove unwanted snippet

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* [INJI-609]: add tooltip and ellipsis for longer text

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* [INJI-609]: add tooltip and ellipsis for longer text

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

---------

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
2024-01-08 10:54:46 +05:30
PuBHARGAVI
184d74d80a [Inji-610] integrate tuvali, iriscan and secure keystore npm modules into inji (#1113)
* [INJI-610] integrate npm module for tuvali and secure keystore

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJI-610] add missing error id and message for app was reset error in telemetry constants

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJI-610] integrate iris scan sdk npm module (#1088)

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: Swati Goel <meet2swati@gmail.com>

* [INJI-610] update the position of iriscan sdk in package-lock

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJI-610] integrate latest tuvali and secure keystore changes into inji

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

---------

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Signed-off-by: Swati Goel <meet2swati@gmail.com>
Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: Swati Goel <meet2swati@gmail.com>
2023-12-21 11:13:10 +05:30
Swati Goel
7406873666 Merge branch 'release-0.10.0' into INJI-624-merge-to-develop 2023-12-19 15:23:38 +05:30
Swati Goel
08c1650081 [INJI-624] - integrate facesdk as npm module.
Signed-off-by: Swati Goel <meet2swati@gmail.com>
2023-12-18 11:39:31 +05:30
Swati Goel
bd37dc6285 [INJI-624] - remove iriscan facesdk and provide support to integrate any facesdk for face verification
Signed-off-by: Swati Goel <meet2swati@gmail.com>
2023-12-15 13:18:02 +05:30
Swati Goel
48bc6bf530 [INJI-610]: integrate iriscan npm module for face match
Signed-off-by: Swati Goel <meet2swati@gmail.com>
2023-12-13 21:33:55 +05:30
adityankannan-tw
c586daa62d [INJI-610]: use npm module for iris scan sdk (#1088)
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>
2023-12-12 11:46:33 +05:30
adityankannan-tw
d247eaa426 feat(MOSIP-29236): add reusable workflows (#1047)
* refactor(INJI-541): add functions to get the bundle id and app name

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
2023-12-08 10:59:51 +05:30
adityankannan-tw
beae2663af feat(INJI-541): add reusable workflows and multiple app flavors (#1044)
* refactor(INJI-541): add functions to get the bundle id and app name

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
2023-12-08 10:58:38 +05:30
Alka Prasad
379878382c update talismanrc file (#1071)
Signed-off-by: Alka <prasadalka1998@gmail.com>
2023-12-07 15:49:00 +05:30
KiruthikaJeyashankar
6ce73a26e0 refactor(INJI-449): fix OWASP vulnerabilities with dependencies (#1035)
* refactor(INJI-449): remove unused dependencies

Dependencies removed

1. expo-status-bar
2. @expo-google-fonts/poppins
3. react-native-simple-markdown
4. react-native-swipe-gestures

DevDependencies removed

1. @react-native/metro-config (removed as we already have @expo/metro-config dependency used)
2. metro-react-native-babel-preset
3. @types/react-test-renderer
4. react-test-renderer

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* refactor(INJI-449): update expo related packages and crypto-js

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* refactor(INJI-449): update transitive dependency of expo-updates package

plist package is a transitive dependency of expo-updates which had vulnerability - Prototype pollution vulnerability via .parse() in Plist before v3.0.4 allows attackers to cause a Denial of Service (DoS) and may lead to remote code execution. Thus this package was updated to fix vulnerability

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* refactor(INJI-449): update axios dependency of telemetry-sdk to 1.6.0

Since the package axios(1.5.0) has vulnerability - Cross-Site Request Forgery (CSRF), it is updated to 1.6.0

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* fix(INJI-449): vulnerablity issue with @digitalbazaar/rsa-verification-key-2018

override the node-forge dependency of the package - @digitalbazaar/rsa-verification-key-2018 as it has the high severity with CVE count 13

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* revert(INJI-449): downgrade crypto-js to 3.3.0 from 4.x.x version

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* refactor(INJI-449): use expo-splash-screen instead of expo-app-loading

expo-app-loading package is deprecated and it is suggested to replace it with expo-splash-screen

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* refactor(INJI-449): optimize time taken to hide splash screen

Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com>

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* refactor(INJI-449): change appEntry to index js

Change appEntry to index.js file since react-native-url-polyfill/auto is imported to avoid URL error. appEntry is required for expo package update

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* refactor(INJI-559): update podfile.lock

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* refactor(INJI-449): optimize import

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

---------

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2023-11-29 15:10:56 +05:30
KiruthikaJeyashankar
33be02538a refactor(INJI-449): replace crypto-js with node-forge for encryption/decryption (#1034)
* refactor(INJI-449): replace crypo-js with node-forge

crypto-js has vulneraribitiles prior to version 4.2.0 for encryption / decryption & 4.x.x version is not compatible with our react native project For this reason we had to move to different library for encryption / decryption

Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com>
Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* fix(INJI-449): secure-keystore warning popup shown on reload of app

settings key which was stored in storage was not loaded into settings machine context correctly, which caused the bug - on reload settings related flows was falling back to initial setting.

Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com>

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* refactor(INJI-449): gitignore automation test results

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* refactor(INJI-449): simplify usage of methods in node-forge

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

---------

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com>
2023-11-29 14:32:34 +05:30
adityankannan-tw
2d0b6be4b0 feat(INJI-474): show popup for invalid QR (#999)
* feat(INJI-474): show popup for invalid QR

* at times a scanned QR code is neither online nor offline

Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* refactor(INJI-474): add a dismiss-able popup w buttons

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* feat(INJI-474): use polyfill for URL searchParams feat

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* feat(INJI-474): move popup buttons to a single row

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* refactor(INJI-474): align buttons in popup

Co-authored-by: Anil kumar M <106086523+Anil-kumar-Majji@users.noreply.github.com>
Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* feat(INJI-474): don't show Loader on invalidQR & fix QR type logic

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* refactor(INJI-474): propagate btn style changes to Themes

Co-authored-by: Vijay <94220135+vijay151096@users.noreply.github.com>
Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

---------

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
Co-authored-by: Harsh Vardhan <harsh59v@gmail.com>
Co-authored-by: Anil kumar M <106086523+Anil-kumar-Majji@users.noreply.github.com>
Co-authored-by: Vijay <94220135+vijay151096@users.noreply.github.com>
2023-11-20 11:32:47 +05:30
vijay151096
b0ebef0acd fix(inji-522): enable the location service before initiating the vc sharing. (#1004)
* fix(inji-522): enable the location service before initiating the vc sharing.

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* fix(inji-522): update literals in the location service enabling popup

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* fix(inji-522): update checkLocation state name

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* fix(inji-522): removed duplicate namespace

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

---------

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
2023-11-16 10:28:12 +05:30
KiruthikaJeyashankar
3d9d829655 refactor(INJI-449): remove unused dependencies (#979)
Dependencies removed

1. expo-status-bar
2. @expo-google-fonts/poppins
3. react-native-simple-markdown
4. react-native-swipe-gestures

DevDependencies removed

1. @react-native/metro-config (removed as we already have @expo/metro-config dependency used)
2. metro-react-native-babel-preset
3. @types/react-test-renderer
4. react-test-renderer

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2023-11-01 10:04:16 +05:30
PuBHARGAVI
f41959bc5f feat(Inji-435): add telemetry events for vc activation flow (#949)
* refactor(INJI-435): add enum for flow type,end event status & interact event subtype

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* fix(INJI-435): change flow type value to camel case in getEventType function

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* feat(INJI-435): add start,interact & impression events in vc activation and create an object with telemetry constants

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* feat(INJI-435): add end,error events in vc activation flow

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* feat(INJI-435): increase the pressable area of kebab icon

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* feat: generate impression event only after going into otp modal & track binding_auth_failed error

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* refactor(INJI-435): move sendImpression event from addVc modal to otp modal

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* fix(INJI-435): add missing impression event in issuer machine

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* refactor(INJI-435): return bindingAuthFailedError from state machines instead of splitting the error in tsx files

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* fix(INJI-435): add padding and fix the activation status overflow in all languages

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* refactor(INJI-435): change the telemetry sdk path in package.json

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* refactor(INJI-435): extract esignetMosipVcItem and existingMosipVcItem machines common functions into separate file

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* refactor(INJI-435): remove duplicate assignments of selectors

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

---------

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Signed-off-by: Swati Goel <meet2swati@gmail.com>
Co-authored-by: Swati Goel <meet2swati@gmail.com>
2023-10-30 10:09:28 +05:30
Kiruthika Jeyashankar
d22817030b Merge remote-tracking branch 'upstream/develop' into inji-505-release
Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply
.github.com>
2023-10-25 11:02:45 +05:30
adityankannan-tw
47b558032e Inji - 368 integrate iris scan android ios (#936)
* feat(INJI-368): Integrate irisScan for android and ios

Signed-off-by: adityankannan-tw <adityan.kannan@thoughtworks.com>

* feat(INJI-368): Add path to the model file

Signed-off-by: adityankannan-tw <adityan.kannan@thoughtworks.com>

* feat(INJI-368): Integrate irisScan for android and ios

Signed-off-by: adityankannan-tw <adityan.kannan@thoughtworks.com>

* feat(INJI-368): Update package lock json

Signed-off-by: adityankannan-tw <adityan.kannan@thoughtworks.com>

---------

Signed-off-by: adityankannan-tw <adityan.kannan@thoughtworks.com>
Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Signed-off-by: Swati Goel <meet2swati@gmail.com>
Co-authored-by: Swati Goel <meet2swati@gmail.com>
2023-10-23 17:36:28 +05:30
vijay151096
4e643134d7 Refactor(inji-472): refactoring api usage, fix warnings, and fix fabicon ui issue (#952)
* refactor(inji-472): refactoring api usage, fix warnings, and fix fab icon ui issue

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* refactor(inji-472): remove masking in vc details page, add the testid for the download FAB icon

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

---------

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
2023-10-23 13:59:54 +05:30
Swati Goel
142228b0db INJI-473) Code clean up and fixing metro errors/warnings (#947)
* feat(INJI-473) - Removed unused injiTourGuide action.

Signed-off-by: Swati Goel <meet2swati@gmail.com>

* feat(INJI-473) - Removed unused logKey action.

Signed-off-by: Swati Goel <meet2swati@gmail.com>

* feat(INJI-473) - Removed unused backendInfo api and state.

Signed-off-by: Swati Goel <meet2swati@gmail.com>

* feat(INJI-473) - simplify isPasscodeSet logic.

Signed-off-by: Swati Goel <meet2swati@gmail.com>

* feat(INJI-473) - Move logState to commonUtil to remove cyclic dependency.

Signed-off-by: Swati Goel <meet2swati@gmail.com>

* feat(INJI-473) - Delete unused code.

Signed-off-by: Swati Goel <meet2swati@gmail.com>

* feat(INJI-473) - Refactor code to use util function for iOS or isAndroid.

Signed-off-by: Swati Goel <meet2swati@gmail.com>

* feat(INJI-473) - Move Issuers_Key_Ref into utils.

Signed-off-by: Swati Goel <meet2swati@gmail.com>

* feat(INJI-473) - Remove profile related resource from setting screen

Signed-off-by: Swati Goel <meet2swati@gmail.com>

* feat(INJI-473) - Remove unused code for locales.

Signed-off-by: Swati Goel <meet2swati@gmail.com>

---------

Signed-off-by: Swati Goel <meet2swati@gmail.com>
2023-10-20 12:50:39 +05:30
PoojaBabusing
d0f212600f talisman check for pre-commit and pre-push hooks (#915)
* feat(INJI-413): add talisman check for pre-commit and pre-push hooks

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

* feat(INJI-413): add yarn jetify to package.json

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

---------

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
2023-10-13 15:56:24 +05:30
Alka Prasad
080ef3d66c Update Telemetry SDK commit Id (#925)
* feat(INJI-403): add events in the VC download flow for success scenario

* refactor(INJI-403): updates logic to capture preferred language in telemetry

Signed-off-by: Alka <prasadalka1998@gmail.com>

* fix(INJI-403): revert changes of google services and env added by mistake

Signed-off-by: Alka <prasadalka1998@gmail.com>

* refactor(INJI-403): extracts some methods of telemetry to a util file

Signed-off-by: Alka <prasadalka1998@gmail.com>

* fix(INJI-403): fetch selected issuer's id from context instead of event

Signed-off-by: Alka <prasadalka1998@gmail.com>

* feat(INJI-403): update telemetry package link to mosip org

Signed-off-by: Alka <prasadalka1998@gmail.com>

* feat(INJI-403): making language code mapping fail safe and removing unwanted code

Signed-off-by: Alka <prasadalka1998@gmail.com>

* fix(INJI-403): update commit id of telemetry sdk

Signed-off-by: Alka <prasadalka1998@gmail.com>

---------

Signed-off-by: Alka Prasad <Alka1703@users.noreply.github.com>
Signed-off-by: Alka <prasadalka1998@gmail.com>
Signed-off-by: Swati Goel <meet2swati@gmail.com>
Co-authored-by: Swati Goel <meet2swati@gmail.com>
2023-10-13 15:08:07 +05:30
Alka Prasad
c7a557c75e feat[INJI-403]: Add events in the VC download flow for success scenario (#908)
* feat(INJI-403): add events in the VC download flow for success scenario

* refactor(INJI-403): updates logic to capture preferred language in telemetry

Signed-off-by: Alka <prasadalka1998@gmail.com>

* fix(INJI-403): revert changes of google services and env added by mistake

Signed-off-by: Alka <prasadalka1998@gmail.com>

* refactor(INJI-403): extracts some methods of telemetry to a util file

Signed-off-by: Alka <prasadalka1998@gmail.com>

* fix(INJI-403): fetch selected issuer's id from context instead of event

Signed-off-by: Alka <prasadalka1998@gmail.com>

* feat(INJI-403): update telemetry package link to mosip org

Signed-off-by: Alka <prasadalka1998@gmail.com>

* feat(INJI-403): making language code mapping fail safe and removing unwanted code

Signed-off-by: Alka <prasadalka1998@gmail.com>

---------

Signed-off-by: Alka Prasad <Alka1703@users.noreply.github.com>
Signed-off-by: Alka <prasadalka1998@gmail.com>
2023-10-13 12:13:52 +05:30
Vijay
68388ae69c chore(inji-455): update tuvali version to (0.4.6)
Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
2023-10-12 12:00:44 +05:30
Tilak Puli
0dc6139449 Inji-409: Add flipper config (#865)
* feat(inji-344): add flipper config for mmkv and xstate

* feat(inji-409): Add flipper config file and enable devtools for all machines

* feat(inji-409): Add react-navigation to flipper config
2023-10-04 16:38:34 +05:30
adityankannan-tw
1b904c668a Inji- 404 - ios automation build (#869)
* feat(INJI-404): Add a new workflow for ios automation build (#862)

* feat(INJI-404): Remove smart share library from package json

* feat(INJI-404): rename the job name
2023-09-27 18:46:35 +05:30
Tilak Puli
e3be26f350 feat(inji-415): Update tuvali version to 0.4.5 (#866) 2023-09-27 11:43:28 +05:30
vijay151096
37c65c4be1 refactor(inji-245): fix download VC on android using openid4vc from esignet (#860)
* refactor(inji-245): refactor the esignet vc item template, loader component, changed usage to vcitem containers

* refactor(INJI-245): remove isValidUrl check for issuer

If logoUrl is passed to issuer it will be rendering else Digit icon will be rendered by default

* fix(INJI-245): perform relevant action on pressing the issuer

* refactor(INJI-245): move vc type files to types folder

* refactor(INJI-245): modify style of VC details

* refactor(INJI-245): move VcItemTags to VC/common folder

* refactor(INJI-245): modify loader style

* fix(INJI-245): make issuer component testIDs visible

For a FlatList, the component passed should have a unique testID set to make accessiblity id visible in appium inspector

* fix(inji-245): fix download credential in the android

* refactor(inji-245): modify the credential endpoint and aud from config

* refactor(inji-245): handle UIN display in the esignet  vcitem template

* refactor(inji-245): method naming corrections

---------

Co-authored-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2023-09-26 17:22:59 +05:30
dhivya0413
07efb42a2b [INJI-372] UI/UX enhancements on sharing flow (#856)
* chore(INJI-372): fix animator for sharing flow

* chore(INJI-372): sharing in progress copy modified

* Add a job to upload apk to Github Actions (#836)

* feat(INJI-333): Add a job to upload apk to Github actions in internal build

* fix(INJI-333): Add a job to upload to Github actions

* Add support to change mimoto and esignet host url under credential registry (#837)

* feat(INJI-360): Add esignet host as env variable and use in QR login flow.

* feat(INJI-360): Fix compile error.

* chore(INJI-360): support esignet and mimoto base url in workflows for Android and iOS

* chore(INJI-360): add ESIGNET_HOST in Fastfile for android.

* chore(INJI-360): remove unnecessary env variables from ios build workflow.

* feat(INJI-360): Add setting to change esignet host url under credetntial registry.

---------

Signed-off-by: Swati Goel <meet2swati@gmail.com>

* chore(INJI-372): update podfile

* chore(INJI-372): vc sharing in progress stay on screen and retry added

* chore(INJI-372): vc sharing failed for sender copy changed

* [Inji 267] sunbird telemetry configuration (#838)

* feat(INJI-267): add and export deviceId constant in constants file

Use react-native-device-info library to get the unique identifier for each and every device

* refactor(INJI-267): extracts AppId global variable into a global variable file and renames it to __AppId

* refactor(INJI-267): extracts inji version and tuvali version handling into global variable file

* feat(INJI-267): add telemetry configuration in the application

* feat(INJI-267): generate unique session id for every session of the app

After launching the app until we kill the app we consider it as a single session

* feat(INJI-267): add start and end telemetry events for the QR login success flow

* feat(INJI-267): pass session id value in sunbird config

* feat(INJI-267): add start and end telemetry events for the VC sharing success flow

* feat(INJI-267): add start and end telemetry events for the VC activation success flow

* refactor(INJI-267): change QR login, VC share telemetry events type

* refactor(INJI-267): extract generateSessionId function, deviceId into global variables file

* feat(INJI-267): adds device related information in the config value

* feat(INJI-267): add and export deviceId constant in constants file

Use react-native-device-info library to get the unique identifier for each and every device

* refactor(INJI-267): extracts AppId global variable into a global variable file and renames it to __AppId

* refactor(INJI-267): extracts inji version and tuvali version handling into global variable file

* feat(INJI-267): add telemetry configuration in the application

* feat(INJI-267): generate unique session id for every session of the app

After launching the app until we kill the app we consider it as a single session

* feat(INJI-267): add start and end telemetry events for the QR login success flow

* feat(INJI-267): pass session id value in sunbird config

* feat(INJI-267): add start and end telemetry events for the VC sharing success flow

* feat(INJI-267): add start and end telemetry events for the VC activation success flow

* refactor(INJI-267): change QR login, VC share telemetry events type

* refactor(INJI-267): extract generateSessionId function, deviceId into global variables file

* feat(INJI-267): adds device related information in the config value

* feat(INJI-267): add selected language in global variables file to pass it into sunbird config

* feat(INJI-267): updates config structure and add AppInfo event

* feat(INJI-267): create dummy end event data to make the schema and send AppInfo Event on app launch

* feat(INJI-267): add and export deviceId constant in constants file

Use react-native-device-info library to get the unique identifier for each and every device

* refactor(INJI-267): extracts AppId global variable into a global variable file and renames it to __AppId

* refactor(INJI-267): extracts inji version and tuvali version handling into global variable file

* feat(INJI-267): add telemetry configuration in the application

* feat(INJI-267): generate unique session id for every session of the app

After launching the app until we kill the app we consider it as a single session

* feat(INJI-267): add start and end telemetry events for the QR login success flow

* feat(INJI-267): pass session id value in sunbird config

* feat(INJI-267): add start and end telemetry events for the VC sharing success flow

* feat(INJI-267): add start and end telemetry events for the VC activation success flow

* refactor(INJI-267): change QR login, VC share telemetry events type

* refactor(INJI-267): extract generateSessionId function, deviceId into global variables file

* feat(INJI-267): adds device related information in the config value

* feat(INJI-267): add and export deviceId constant in constants file

Use react-native-device-info library to get the unique identifier for each and every device

* feat(INJI-267): add telemetry configuration in the application

* feat(INJI-267): pass session id value in sunbird config

* refactor(INJI-267): change QR login, VC share telemetry events type

* refactor(INJI-267): extract generateSessionId function, deviceId into global variables file

* feat(INJI-267): adds device related information in the config value

* feat(INJI-267): add selected language in global variables file to pass it into sunbird config

* feat(INJI-267): updates config structure and add AppInfo event

* feat(INJI-267): create dummy end event data to make the schema and send AppInfo Event on app launch

* feat(INJI-267): bump up react-native-localize and remove unnecessary code

* feat(INJI-267): remove some unused imports and unnecessary formattings

* feat(INJI-267): remove unnecessary formattings

* feat(INJI-267): extracts obsrv host in an env variable

* feat(INJI-267): add env variable in react-native-dot-env index file

* feat(INJI-267): bump up react-native-localize

---------

Signed-off-by: Swati Goel <meet2swati@gmail.com>
Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Co-authored-by: Swati Goel <meet2swati@gmail.com>

* [Inji 267] sunbird telemetry configuration (#843)

* feat(INJI-267): add and export deviceId constant in constants file

Use react-native-device-info library to get the unique identifier for each and every device

* refactor(INJI-267): extracts AppId global variable into a global variable file and renames it to __AppId

* refactor(INJI-267): extracts inji version and tuvali version handling into global variable file

* feat(INJI-267): add telemetry configuration in the application

* feat(INJI-267): generate unique session id for every session of the app

After launching the app until we kill the app we consider it as a single session

* feat(INJI-267): add start and end telemetry events for the QR login success flow

* feat(INJI-267): pass session id value in sunbird config

* feat(INJI-267): add start and end telemetry events for the VC sharing success flow

* feat(INJI-267): add start and end telemetry events for the VC activation success flow

* refactor(INJI-267): change QR login, VC share telemetry events type

* refactor(INJI-267): extract generateSessionId function, deviceId into global variables file

* feat(INJI-267): adds device related information in the config value

* feat(INJI-267): add and export deviceId constant in constants file

Use react-native-device-info library to get the unique identifier for each and every device

* refactor(INJI-267): extracts AppId global variable into a global variable file and renames it to __AppId

* refactor(INJI-267): extracts inji version and tuvali version handling into global variable file

* feat(INJI-267): add telemetry configuration in the application

* feat(INJI-267): generate unique session id for every session of the app

After launching the app until we kill the app we consider it as a single session

* feat(INJI-267): add start and end telemetry events for the QR login success flow

* feat(INJI-267): pass session id value in sunbird config

* feat(INJI-267): add start and end telemetry events for the VC sharing success flow

* feat(INJI-267): add start and end telemetry events for the VC activation success flow

* refactor(INJI-267): change QR login, VC share telemetry events type

* refactor(INJI-267): extract generateSessionId function, deviceId into global variables file

* feat(INJI-267): adds device related information in the config value

* feat(INJI-267): add selected language in global variables file to pass it into sunbird config

* feat(INJI-267): updates config structure and add AppInfo event

* feat(INJI-267): create dummy end event data to make the schema and send AppInfo Event on app launch

* feat(INJI-267): add and export deviceId constant in constants file

Use react-native-device-info library to get the unique identifier for each and every device

* refactor(INJI-267): extracts AppId global variable into a global variable file and renames it to __AppId

* refactor(INJI-267): extracts inji version and tuvali version handling into global variable file

* feat(INJI-267): add telemetry configuration in the application

* feat(INJI-267): generate unique session id for every session of the app

After launching the app until we kill the app we consider it as a single session

* feat(INJI-267): add start and end telemetry events for the QR login success flow

* feat(INJI-267): pass session id value in sunbird config

* feat(INJI-267): add start and end telemetry events for the VC sharing success flow

* feat(INJI-267): add start and end telemetry events for the VC activation success flow

* refactor(INJI-267): change QR login, VC share telemetry events type

* refactor(INJI-267): extract generateSessionId function, deviceId into global variables file

* feat(INJI-267): adds device related information in the config value

* feat(INJI-267): add and export deviceId constant in constants file

Use react-native-device-info library to get the unique identifier for each and every device

* feat(INJI-267): add telemetry configuration in the application

* feat(INJI-267): pass session id value in sunbird config

* refactor(INJI-267): change QR login, VC share telemetry events type

* refactor(INJI-267): extract generateSessionId function, deviceId into global variables file

* feat(INJI-267): adds device related information in the config value

* feat(INJI-267): add selected language in global variables file to pass it into sunbird config

* feat(INJI-267): updates config structure and add AppInfo event

* feat(INJI-267): create dummy end event data to make the schema and send AppInfo Event on app launch

* feat(INJI-267): bump up react-native-localize and remove unnecessary code

* feat(INJI-267): remove some unused imports and unnecessary formattings

* feat(INJI-267): remove unnecessary formattings

* feat(INJI-267): extracts obsrv host in an env variable

* feat(INJI-267): add env variable in react-native-dot-env index file

* feat(INJI-267): bump up react-native-localize

* feat(INJI-267): add telemetry sdk dependency in package.json

---------

Signed-off-by: Swati Goel <meet2swati@gmail.com>
Signed-off-by: Alka Prasad <Alka1703@users.noreply.github.com>
Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Co-authored-by: Swati Goel <meet2swati@gmail.com>

* style vcDetails page  (#841)

* feat(INJI-351): style vcDetails page

* feat(INJI-351): add translations to fil lang and remove QRcode style

---------

Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

* Inji-344: Refactoring VC Key (#798)

* feat(inji-344): Use VC Key class instead of separate functions for managing vc key

* feat(inji-344): Use properties from VcKey Class instead of reading from vckey string

* feat(inji-344): Rename vcKey to vcMetadata

* feat(inji-344): Use vc's unique id or vckey instead of joined string of vc metadata

* feat(inji-344): Use vc key instead of unique id to avoid confusion. Fix issues reg parsing vc metadata

* feat(inji-344):fix redownloading issue

Co-authored-by: Tilak <tilakpuli15@gmail.com>

* feat(inji-344): Remove vc getting stored on update of pin status

* feat(inji-344): update other vc's pin status to false when any vc is pinned

* feat(inji-344): remove hash ID for UIN

* feat(inji-344): revert google services json

* feat(inji-344): remove mmkv logs added for debugging

* feat(inji-344): fix received vcs not getting displayed on reopen of app

* feat(inji-344): fix id not shown in revoke component

---------

Co-authored-by: Sri Kanth Kola <srikanthsri7447@gmail.com>

* chore(INJI-372): podfile lock changes

* chore(INJI-372): vc sharing flow in progress for verifier

* chore(INJI-372): vc sharing flow failed for verifier

* chore(INJI-372): fix close button for vc sharing failed verifier

* fix(INJI-372): package lock fix

* fix(INJI-372): connection failed for sender

* fix(INJI-372): connection failed for verifier

* chore(INJI-372): add style props to modal

---------

Signed-off-by: Swati Goel <meet2swati@gmail.com>
Signed-off-by: Alka Prasad <Alka1703@users.noreply.github.com>
Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: Swati Goel <meet2swati@gmail.com>
Co-authored-by: Alka Prasad <Alka1703@users.noreply.github.com>
Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Co-authored-by: PoojaBabusing <115976560+PoojaBabusing@users.noreply.github.com>
Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
Co-authored-by: Tilak Puli <34330361+tilak-puli@users.noreply.github.com>
Co-authored-by: Sri Kanth Kola <srikanthsri7447@gmail.com>
2023-09-25 14:35:22 +05:30
KiruthikaJeyashankar
55c666b121 feat: download credentials from Esignet using openId4VCI (#851)
* feat(INJI-245): dowload and view card via issuers

Co-authored-by: Harsh Vardhan <harsh59v@gmail.com>

* fix(INJI-245): remove vc from wallet

Co-authored-by: Harsh Vardhan <harsh59v@gmail.com>

* feat(INJI-245): pin card downloaded via eSignet

* refactor(INJI-245): remove debug logs

* refactor(INJI-245): rename vcItem related component to ExistingVcItem

* refactor(INJI-245): add lock file modifications

* refactor(INJI-245): add styles in purple theme for issuer related components

* refactor(INJI-245): update VID for wallet binding usecase and issuer logo display in vc

* refactor(INJI-245): remove duplicate loader component

* refactor(INJI-245): remove unused props in vc details container

---------

Co-authored-by: Harsh Vardhan <harsh59v@gmail.com>
Co-authored-by: Vijay <94220135+vijay151096@users.noreply.github.com>
2023-09-22 17:22:59 +05:30
Tilak Puli
095362feeb feat(inji-267): update telemetry dep version to latest develop with rimraf fix (#848) 2023-09-21 13:28:37 +05:30
Alka Prasad
467a9ba53a [Inji 267] sunbird telemetry configuration (#843)
* feat(INJI-267): add and export deviceId constant in constants file

Use react-native-device-info library to get the unique identifier for each and every device

* refactor(INJI-267): extracts AppId global variable into a global variable file and renames it to __AppId

* refactor(INJI-267): extracts inji version and tuvali version handling into global variable file

* feat(INJI-267): add telemetry configuration in the application

* feat(INJI-267): generate unique session id for every session of the app

After launching the app until we kill the app we consider it as a single session

* feat(INJI-267): add start and end telemetry events for the QR login success flow

* feat(INJI-267): pass session id value in sunbird config

* feat(INJI-267): add start and end telemetry events for the VC sharing success flow

* feat(INJI-267): add start and end telemetry events for the VC activation success flow

* refactor(INJI-267): change QR login, VC share telemetry events type

* refactor(INJI-267): extract generateSessionId function, deviceId into global variables file

* feat(INJI-267): adds device related information in the config value

* feat(INJI-267): add and export deviceId constant in constants file

Use react-native-device-info library to get the unique identifier for each and every device

* refactor(INJI-267): extracts AppId global variable into a global variable file and renames it to __AppId

* refactor(INJI-267): extracts inji version and tuvali version handling into global variable file

* feat(INJI-267): add telemetry configuration in the application

* feat(INJI-267): generate unique session id for every session of the app

After launching the app until we kill the app we consider it as a single session

* feat(INJI-267): add start and end telemetry events for the QR login success flow

* feat(INJI-267): pass session id value in sunbird config

* feat(INJI-267): add start and end telemetry events for the VC sharing success flow

* feat(INJI-267): add start and end telemetry events for the VC activation success flow

* refactor(INJI-267): change QR login, VC share telemetry events type

* refactor(INJI-267): extract generateSessionId function, deviceId into global variables file

* feat(INJI-267): adds device related information in the config value

* feat(INJI-267): add selected language in global variables file to pass it into sunbird config

* feat(INJI-267): updates config structure and add AppInfo event

* feat(INJI-267): create dummy end event data to make the schema and send AppInfo Event on app launch

* feat(INJI-267): add and export deviceId constant in constants file

Use react-native-device-info library to get the unique identifier for each and every device

* refactor(INJI-267): extracts AppId global variable into a global variable file and renames it to __AppId

* refactor(INJI-267): extracts inji version and tuvali version handling into global variable file

* feat(INJI-267): add telemetry configuration in the application

* feat(INJI-267): generate unique session id for every session of the app

After launching the app until we kill the app we consider it as a single session

* feat(INJI-267): add start and end telemetry events for the QR login success flow

* feat(INJI-267): pass session id value in sunbird config

* feat(INJI-267): add start and end telemetry events for the VC sharing success flow

* feat(INJI-267): add start and end telemetry events for the VC activation success flow

* refactor(INJI-267): change QR login, VC share telemetry events type

* refactor(INJI-267): extract generateSessionId function, deviceId into global variables file

* feat(INJI-267): adds device related information in the config value

* feat(INJI-267): add and export deviceId constant in constants file

Use react-native-device-info library to get the unique identifier for each and every device

* feat(INJI-267): add telemetry configuration in the application

* feat(INJI-267): pass session id value in sunbird config

* refactor(INJI-267): change QR login, VC share telemetry events type

* refactor(INJI-267): extract generateSessionId function, deviceId into global variables file

* feat(INJI-267): adds device related information in the config value

* feat(INJI-267): add selected language in global variables file to pass it into sunbird config

* feat(INJI-267): updates config structure and add AppInfo event

* feat(INJI-267): create dummy end event data to make the schema and send AppInfo Event on app launch

* feat(INJI-267): bump up react-native-localize and remove unnecessary code

* feat(INJI-267): remove some unused imports and unnecessary formattings

* feat(INJI-267): remove unnecessary formattings

* feat(INJI-267): extracts obsrv host in an env variable

* feat(INJI-267): add env variable in react-native-dot-env index file

* feat(INJI-267): bump up react-native-localize

* feat(INJI-267): add telemetry sdk dependency in package.json

---------

Signed-off-by: Swati Goel <meet2swati@gmail.com>
Signed-off-by: Alka Prasad <Alka1703@users.noreply.github.com>
Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Co-authored-by: Swati Goel <meet2swati@gmail.com>
2023-09-20 13:11:25 +05:30