mirror of
https://github.com/selfxyz/self.git
synced 2026-02-19 02:24:25 -05:00
[SELF-654] feat: add native modules (#919)
* feat: add ios native modules * fix: extractMRZ * Add android OCR native module * wire native mrz module with adapter * wire Native modules and fix tests * fixes * fix license header logic * fix tests * fix types * fix: ci test * fix: android build ci * fix: ios build CI * add podfile.lock * add yarn.lock * update lock files * add yarn.lock * add license * order methods * update lock * pipeline fixes * prettier * update lock file * fix native modules on external apps * bundle @selfxyz/common into mobile-sdk-alpha * chore: address yarn lock issues (#1004) * address yarn lock issues * fix postinstall * update lock * fix build issues * fix pipeline issue * fix ci * fix bad merge * fix android ci * fix ci errors * fix mobile sdk ci. stop gap fix for now until we create a package * tweaks * retry aapt2 approach * use ^0.8.4 instead of ^0.8.0 due to the use of custom errors * workflow fixes * fix file * update * fix ci * test ci fix * fix test --------- Co-authored-by: Justin Hernandez <transphorm@gmail.com> Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>
This commit is contained in:
@@ -99,7 +99,7 @@ export const PassportCamera: React.FC<PassportCameraProps> = ({
|
||||
onPassportRead(null, selfClient.extractMRZInfo(event.nativeEvent.data));
|
||||
} else {
|
||||
onPassportRead(null, {
|
||||
passportNumber: event.nativeEvent.data.documentNumber,
|
||||
documentNumber: event.nativeEvent.data.documentNumber,
|
||||
dateOfBirth: event.nativeEvent.data.birthDate,
|
||||
dateOfExpiry: event.nativeEvent.data.expiryDate,
|
||||
documentType: event.nativeEvent.data.documentType,
|
||||
|
||||
Reference in New Issue
Block a user