Closed santhoshsunder closed 1 year ago
We have found that the issue is from SingleVcItem.tsx file, It is looping in the same state (reviewing.selectingVc) in the scan.ts file. It is showing " Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops " in the terminal logs.
Summarry : When the photo is captured without a face and if we are trying to authenticate it the app is crashing.
Steps to reproduce : prerequisite : Device A --> Requesting Device B --> Sharing
Observed : The app is authenticating the photo and the whole app is crashing
Screenshot : https://user-images.githubusercontent.com/102220709/205267664-28241e8a-0d1c-4a39-9e45-bde2050147ff.mp4
When the camera is opened, capture something else without containg a human face
This is an issue with the face-matching SDK (0.1.1). It crashes when no faces are found:
cc: @MonobikashDas @jannahadlaon
The app is still crashing after the VC is shared and opened in detailed view from the android side, we have raised three bugs according to this issue iam attaching them both bellow
Additional context https://github.com/mosip/inji/issues/319 https://github.com/mosip/inji/issues/321 https://github.com/mosip/inji/issues/322
Tested in qa5 env, 1.2.0.1 , App crashing issue is resolved which was associated with scanning functionality sharing is working. Device: iPhone 8 & iPhone 11 OS: 16.0.2 (20A380), 15.6.1 Inji app version: 0.4.1 (5) -> Testflight MOSIP Version: 1.2.0.1 MOSIP server: qa5.mosip.net
Tested in qa5 env, 1.2.0.1 , App crashing issue is resolved which was associated with scanning functionality sharing is working. hense closing this bug
screenshot: https://user-images.githubusercontent.com/102220709/206678159-c66d1c55-0619-4282-90be-ee0efd4745bf.mp4
Smartphone :
Describe the bug The Inji app is crashing while sharing the VC
To Reproduce prerequisite : Device A --> Requesting Device B --> Sharing
Open qrcode in Device A Open scanner in Device B Scan the qrcode from Device B
Observed result The Device B's app is crashing, after the scan is completed
Expected behavior The connection should be established, and should able to perform VC sharing
Screenshots https://user-images.githubusercontent.com/102220709/203906781-5deb20fc-e78a-499d-9f50-31b3352c7267.mp4
Smartphone (please complete the following information):