rgex / bondi-androidpassport-reader

18 stars 3 forks source link

Unable to read US passport #4

Closed shwetankb11 closed 6 years ago

shwetankb11 commented 6 years ago

Hello,

I am trying to read US Passport and it's not working. Please, Can you identify what is the issue here?

rgex commented 6 years ago

Hello shwetankb11, A few questions to help locate the issue: From which year is the passport? Does it detect the NFC chip? Is there an error message, or any logs you can provide? Have you tried with another app such as ReadID?

I'll be happy to help. Jan

shwetankb11 commented 6 years ago

Thanks for the quick response PFA of error screen image001

Date of Issue of Passport: 26/02/2010 yes, I tried the ReadID and its working fine.

rgex commented 6 years ago

Is the progress bar moving and then stops? If you know how to use Android Studio (and to debug an App) It would be very helpful to send me the stack trace you get there to my email address panda at panda.cat I need only the last 5 lines or so, there should be a more detailed error message displayed there.

Otherwise I will just update the App in order to make it display more specific error messages.

shwetankb11 commented 6 years ago

Please update the specific error messages. Meanwhile, I will try to get the Logs from Android studio.

shwetankb11 commented 6 years ago

Hello, We are getting the following exception. Card Service Exception : Mutual authentication failed: expected length: 40 + 2, actual length: 2 (SW = 0x6985: CONDITIONS NOT SATISFIED). Also can you please update your application so that we can have the exact location of the error. Thanks

rgex commented 6 years ago

Thank you shwetankb11, can you give me the 10 log outputs above the exceptions? That would be even more helpful :)

rgex commented 6 years ago

The exception also seems to come from another passport reading app, are you sure you ran mine? It basically says that the session init failed, this could be due because the passport number, date of birth/expiry, was incorrect.

shwetankb11 commented 6 years ago

Hi, I just have a question that will I get the logs from your application which is downloaded from play store?

shwetankb11 commented 6 years ago

Hello @rgex, I am successfully able to read US passport, Previously I was trying to read passport the wrong way Thank you very much for your support.