regulaforensics / flutter_face_api

MIT License
31 stars 14 forks source link

LICENSE_CORRUPTED on init #34

Open carlos-olivera opened 6 months ago

carlos-olivera commented 6 months ago

Before Submitting, be sure to

Bug Description Unable to initialize the module: Face SDK: Init failed: {"error":{"errorCode":"UNAVAILABLE","underlyingException":{"errorCode":"LICENSE_CORRUPTED","message":"Not checked"},"message":"Offline match mode unavailable."},"success":false}

Steps To Reproduce

  1. Download the latest license file
  2. install module project
  3. Initialize according documentation

Expected behavior Initialization must be done without errors

Environment:

abdullah10182 commented 6 months ago

same

ahmedNagar123 commented 6 months ago

{error: {errorCode: IN_PROGRESS_ALREADY, message: In process already.}, success: false}

miguelangelflores1993 commented 6 months ago

@abdullah10182 @ahmedNagar123 @syakimchik

When they think about solving it, please, for me it's harmful to switch from core_basic library to core match, it has increased my application's weight by 300% just to solve this problem.

The old versions don't work, they bring crossed data with the new database, it's unbelievable.


I/flutter (30259): REGULA -> Issuing state code, value: BOL, source: 1
I/flutter (30259): REGULA -> Document number, value: 8255180, source: 2
I/flutter (30259): REGULA -> Expiration date, value: September 21, 2032, source: 3
I/flutter (30259): REGULA -> Expiration date, value: 21/9/2032, source: 3
I/flutter (30259): REGULA -> Issuance date, value: September 21, 2022, source: 4
I/flutter (30259): REGULA -> Issuance date, value: 21/9/2022, source: 4
I/flutter (30259): REGULA -> Date of birth, value: ? OROPEZA ????, source: 5
I/flutter (30259): REGULA -> Place of birth, value: Civil Status SINGLE, source: 6
I/flutter (30259): REGULA -> Place of birth, value: CIVIL STATUS SINGLE, source: 6
2
I/flutter (30259): REGULA -> Surnames and names, value: MIGUEL ANGEL FLORES, source: 25
I/flutter (30259): REGULA -> Issuance state, value: Bolivia, Plurinational State of, source: 38
I/flutter (30259): REGULA -> Others, value: 4751103349xA10E607FBE4DB3EAEBB9AD2A6CE37E93845, source: 50
I/flutter (30259): REGULA -> Marital status, value: Occupation STUDIES, source: 160
I/flutter (30259): REGULA -> Serial number, value: 42334, source: 168
I/flutter (30259): REGULA -> Section, value: 43444, source: 190
I/flutter (30259): REGULA -> Unique number, value: 335794708L3, source: 193
I/flutter (30259): REGULA -> Profession, value: DBLE VIA LA GUARDIA URB. VILLA JH, source: 312
I/flutter (30259): REGULA -> Months until expiration date, value: 102, source: 364
I/flutter (30259): REGULA -> Years since issuance, value: 1, source: 523
I/flutter (30259): REGULA -> ACTION -> 0
I/flutter (30259): REGULA -> TYPE DOCUMENT -> Identity Card
hberkayozdemir commented 2 months ago

Is there any solution?

DzmitrySmaliakou commented 2 months ago

Right now we have two separate configuration of the mobile SDK:

  1. Using core basic. It means that face match functionality will be performed on the server side. NO license key needed for mobile SDK and the size of SDK much smaller.
  2. Using core match. It means that face match functionality will be performed locally on your device. License key required for mobile SDK for initialization function. And the size of SDK is much bigger then for basic core.

Also you shouldn't send license key in initialization function for basic core. It will crash initialization process.

Here you can find a docs regarding that points that: https://docs.regulaforensics.com/develop/face-sdk/mobile/getting-started/installation/#core-types