regulaforensics / DocumentReader-Flutter

Flutter plugin for reading and validation of identification documents
MIT License
29 stars 13 forks source link

Adding database manually - db.dat is absent #1

Closed mehulcs closed 3 years ago

mehulcs commented 3 years ago

I'm trying to include db.dat manually in my app following the instructions at https://docs.regulaforensics.com/flutter/database#adding-database-manually.

I performed the below steps.

  1. Downloaded and moved file to project/assets/db.dat
  2. Added db.dat path in pubspec.yaml file
  3. Executed DocumentReader.initializeReader function, and this function throws below error.

PlatformException(, Init failed:com.regula.documentreader.api.errors.DocReaderStateException: db.dat is absent, null)

vyakimchik commented 3 years ago

Hello,

The page of the documentation has been updated. Take a look at it and try it out once again: https://docs.regulaforensics.com/flutter/database#adding-database-manually.

mehulcs commented 3 years ago

That worked, Thanks a lot.