Reputation: 65
I'm working on the app where I need to read passport's data form nfc chip, but I can't find some packages or information about solution. I know about nfc_manager and flutter_nfc_kit but both of them don't allow to read passport data. Also I know that this info cannot be readed in simple way, cause it have a some security stuff.
Anybody know how to solve my issue?
Upvotes: 2
Views: 3605
Reputation: 188
You can use the ZeroPass / dmrtd
They r importing dg2 image support to it you can check development branch on it
It's example app can reading passport or id card, after doing implementation to your app you need to set another thigs to make it work
1: in bottom of your PodFile set camera like this,
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
target.build_configurations.each do |config|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
'$(inherited)',
'PERMISSION_CAMERA=1',
]
end
end
end
2: You need to add Runner.entitlements file into Runner, it's not generated by itself i had to take it from package's example app.
bonus: packages nfc app needs to some data from card for scann cards chip, by default example app wants it from text editing controller and date picker but if you use flutter_mrz_scanner and take that data from camera then scan card with nfc later, thats more easy to use.
Upvotes: 4
Reputation: 15
this might be a bit late but you can take a look at Securepass which is flutter app integrated with an android module that uses JMRTD library.
Upvotes: 0