accurascan_kyc 1.0.8 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -178,15 +178,15 @@ public class OcrActivity extends SensorsActivity implements OcrCallback {
178
178
 
179
179
  initCamera();
180
180
 
181
- // try {
182
- // if(accuraErrorConfg.getInt("isShowLogo") == 0){
183
- // logoImg.setVisibility(View.GONE);
184
- // }else{
185
- // logoImg.setVisibility(View.VISIBLE);
186
- // }
187
- // } catch (JSONException e) {
188
- // e.printStackTrace();
189
- // }
181
+ try {
182
+ if(accuraErrorConfg.getInt("isShowLogo") == 0){
183
+ logoImg.setVisibility(View.GONE);
184
+ }else{
185
+ logoImg.setVisibility(View.VISIBLE);
186
+ }
187
+ } catch (JSONException e) {
188
+ e.printStackTrace();
189
+ }
190
190
  // if (bundle.containsKey("IS_SHOW_LOGO")) {
191
191
  // Boolean isShow = bundle.getBoolean("IS_SHOW_LOGO");
192
192
  // Log.i(TAG, "isSHow:- " + isShow);
@@ -668,8 +668,8 @@ public class OcrResultActivity extends Activity implements FaceCallback {
668
668
 
669
669
  @Override
670
670
  public void onLeftDetect(FaceDetectionResult faceDetectionResult) {
671
- Bitmap det = BitmapHelper.createFromARGB(faceDetectionResult.getNewImg(), faceDetectionResult.getNewWidth(), faceDetectionResult.getNewHeight());
672
- detectFace1 = faceDetectionResult.getFaceImage(det);
671
+ // Bitmap det = BitmapHelper.createFromARGB(faceDetectionResult.getNewImg(), faceDetectionResult.getNewWidth(), faceDetectionResult.getNewHeight());
672
+ // detectFace1 = faceDetectionResult.getFaceImage(det);
673
673
  }
674
674
 
675
675
  @Override
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "accurascan_kyc",
3
- "version": "1.0.8",
3
+ "version": "1.1.0",
4
4
  "description": "test",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -157,5 +157,8 @@
157
157
  }
158
158
  ]
159
159
  ]
160
+ },
161
+ "dependencies": {
162
+ "user": "^0.0.0"
160
163
  }
161
164
  }