regulaforensics / react-native-document-reader

React-Native Framework for reading and validation of identification documents
19 stars 10 forks source link

Can't initialize DocumentScanner #19

Open jcassuleAfricell opened 1 year ago

jcassuleAfricell commented 1 year ago

Hello. I'm having troubles while testing. I'm using React Native Expo.

It returns: ERROR TypeError: Cannot read property 'exec' of null

`import DocumentReader from '@regulaforensics/react-native-document-reader-api' / some code /

function initReader() { DocumentReader.initializeReader({ license: license_as_base_64_string }, (respond) => { console.log(respond); }, error => console.log(error)); DocumentReader.prepareDatabase("Full", (respond) => { console.log(respond); }, (error) => { console.log(error); }); }

useEffect(() => { initReader(); }, []); / rest of code /`

Could it be because I'm converting the license file using https://www.base64encode.org/. If so, how should I do it?

jcassuleAfricell commented 1 year ago

Good Morning.

We weren’t able to fix the problem in hands yet.

@.***

From: njimmy10 @.> Sent: Saturday, September 2, 2023 1:54 AM To: regulaforensics/react-native-document-reader @.> Cc: Jesse Cassule @.>; Author @.> Subject: Re: [regulaforensics/react-native-document-reader] Can't initialize DocumentScanner (Issue #19)

CUIDADO: Este e-mail foi originado fora da Africell Angola. NÃO clique em links ou abra anexos de e-mails desconhecidos, exceto se conhecer o remetente e souber que é seguro.

Were you able to fix this issue?

— Reply to this email directly, view it on GitHubhttps://github.com/regulaforensics/react-native-document-reader/issues/19#issuecomment-1703768938, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBKQPXPS7D22JUAQWAN4XM3XYLX4BANCNFSM6AAAAAA3KHRKZM. You are receiving this because you authored the thread.Message ID: @.***>

Ahtasham-Faheem commented 11 months ago

@DmitrySmolyakov Hey i have actually integrated Document Reader Sdk in my react native app and in android its working completely fine camera is opening and scaning the document but in ios device it's not responding can you assist me in this or anyone could help me with this that would be Great!