@onefootprint/footprint-native-camera-module 0.1.3 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FootprintNativeCameraSwift/Frameworks/FootprintNativeCamera.xcframework/Info.plist +5 -5
- package/FootprintNativeCameraSwift/Frameworks/FootprintNativeCamera.xcframework/ios-arm64/FootprintNativeCamera.framework/FootprintNativeCamera +0 -0
- package/FootprintNativeCameraSwift/Frameworks/FootprintNativeCamera.xcframework/ios-arm64/FootprintNativeCamera.framework/Headers/FootprintNativeCamera.h +11 -6
- package/FootprintNativeCameraSwift/Frameworks/FootprintNativeCamera.xcframework/ios-arm64_x86_64-simulator/FootprintNativeCamera.framework/FootprintNativeCamera +0 -0
- package/FootprintNativeCameraSwift/Frameworks/FootprintNativeCamera.xcframework/ios-arm64_x86_64-simulator/FootprintNativeCamera.framework/Headers/FootprintNativeCamera.h +11 -6
- package/FootprintNativeCameraSwift/Frameworks/FootprintNativeCameraSwift.xcframework/Info.plist +5 -5
- package/FootprintNativeCameraSwift/Frameworks/FootprintNativeCameraSwift.xcframework/ios-arm64/FootprintNativeCameraSwift.framework/FootprintNativeCameraSwift +0 -0
- package/FootprintNativeCameraSwift/Frameworks/FootprintNativeCameraSwift.xcframework/ios-arm64/FootprintNativeCameraSwift.framework/FootprintNativeCameraSwift_FootprintNativeCameraSwift.bundle/Assets.car +0 -0
- package/FootprintNativeCameraSwift/Frameworks/FootprintNativeCameraSwift.xcframework/ios-arm64/FootprintNativeCameraSwift.framework/Modules/FootprintNativeCameraSwift.swiftmodule/arm64-apple-ios.abi.json +57 -8
- package/FootprintNativeCameraSwift/Frameworks/FootprintNativeCameraSwift.xcframework/ios-arm64/FootprintNativeCameraSwift.framework/Modules/FootprintNativeCameraSwift.swiftmodule/arm64-apple-ios.private.swiftinterface +2 -2
- package/FootprintNativeCameraSwift/Frameworks/FootprintNativeCameraSwift.xcframework/ios-arm64/FootprintNativeCameraSwift.framework/Modules/FootprintNativeCameraSwift.swiftmodule/arm64-apple-ios.swiftinterface +2 -2
- package/FootprintNativeCameraSwift/Frameworks/FootprintNativeCameraSwift.xcframework/ios-arm64_x86_64-simulator/FootprintNativeCameraSwift.framework/FootprintNativeCameraSwift +0 -0
- package/FootprintNativeCameraSwift/Frameworks/FootprintNativeCameraSwift.xcframework/ios-arm64_x86_64-simulator/FootprintNativeCameraSwift.framework/FootprintNativeCameraSwift_FootprintNativeCameraSwift.bundle/Assets.car +0 -0
- package/FootprintNativeCameraSwift/Frameworks/FootprintNativeCameraSwift.xcframework/ios-arm64_x86_64-simulator/FootprintNativeCameraSwift.framework/FootprintNativeCameraSwift_FootprintNativeCameraSwift.bundle/_CodeSignature/CodeDirectory +0 -0
- package/FootprintNativeCameraSwift/Frameworks/FootprintNativeCameraSwift.xcframework/ios-arm64_x86_64-simulator/FootprintNativeCameraSwift.framework/FootprintNativeCameraSwift_FootprintNativeCameraSwift.bundle/_CodeSignature/CodeResources +2 -2
- package/FootprintNativeCameraSwift/Frameworks/FootprintNativeCameraSwift.xcframework/ios-arm64_x86_64-simulator/FootprintNativeCameraSwift.framework/Modules/FootprintNativeCameraSwift.swiftmodule/arm64-apple-ios-simulator.abi.json +57 -8
- package/FootprintNativeCameraSwift/Frameworks/FootprintNativeCameraSwift.xcframework/ios-arm64_x86_64-simulator/FootprintNativeCameraSwift.framework/Modules/FootprintNativeCameraSwift.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +2 -2
- package/FootprintNativeCameraSwift/Frameworks/FootprintNativeCameraSwift.xcframework/ios-arm64_x86_64-simulator/FootprintNativeCameraSwift.framework/Modules/FootprintNativeCameraSwift.swiftmodule/arm64-apple-ios-simulator.swiftinterface +2 -2
- package/FootprintNativeCameraSwift/Frameworks/FootprintNativeCameraSwift.xcframework/ios-arm64_x86_64-simulator/FootprintNativeCameraSwift.framework/Modules/FootprintNativeCameraSwift.swiftmodule/x86_64-apple-ios-simulator.abi.json +57 -8
- package/FootprintNativeCameraSwift/Frameworks/FootprintNativeCameraSwift.xcframework/ios-arm64_x86_64-simulator/FootprintNativeCameraSwift.framework/Modules/FootprintNativeCameraSwift.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +2 -2
- package/FootprintNativeCameraSwift/Frameworks/FootprintNativeCameraSwift.xcframework/ios-arm64_x86_64-simulator/FootprintNativeCameraSwift.framework/Modules/FootprintNativeCameraSwift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +2 -2
- package/android/libs/footprint-native-camera-module.aar +0 -0
- package/package.json +1 -1
|
@@ -8,32 +8,32 @@
|
|
|
8
8
|
<key>BinaryPath</key>
|
|
9
9
|
<string>FootprintNativeCamera.framework/FootprintNativeCamera</string>
|
|
10
10
|
<key>LibraryIdentifier</key>
|
|
11
|
-
<string>ios-
|
|
11
|
+
<string>ios-arm64</string>
|
|
12
12
|
<key>LibraryPath</key>
|
|
13
13
|
<string>FootprintNativeCamera.framework</string>
|
|
14
14
|
<key>SupportedArchitectures</key>
|
|
15
15
|
<array>
|
|
16
16
|
<string>arm64</string>
|
|
17
|
-
<string>x86_64</string>
|
|
18
17
|
</array>
|
|
19
18
|
<key>SupportedPlatform</key>
|
|
20
19
|
<string>ios</string>
|
|
21
|
-
<key>SupportedPlatformVariant</key>
|
|
22
|
-
<string>simulator</string>
|
|
23
20
|
</dict>
|
|
24
21
|
<dict>
|
|
25
22
|
<key>BinaryPath</key>
|
|
26
23
|
<string>FootprintNativeCamera.framework/FootprintNativeCamera</string>
|
|
27
24
|
<key>LibraryIdentifier</key>
|
|
28
|
-
<string>ios-
|
|
25
|
+
<string>ios-arm64_x86_64-simulator</string>
|
|
29
26
|
<key>LibraryPath</key>
|
|
30
27
|
<string>FootprintNativeCamera.framework</string>
|
|
31
28
|
<key>SupportedArchitectures</key>
|
|
32
29
|
<array>
|
|
33
30
|
<string>arm64</string>
|
|
31
|
+
<string>x86_64</string>
|
|
34
32
|
</array>
|
|
35
33
|
<key>SupportedPlatform</key>
|
|
36
34
|
<string>ios</string>
|
|
35
|
+
<key>SupportedPlatformVariant</key>
|
|
36
|
+
<string>simulator</string>
|
|
37
37
|
</dict>
|
|
38
38
|
</array>
|
|
39
39
|
<key>CFBundlePackageType</key>
|
|
Binary file
|
|
@@ -255,8 +255,8 @@ __attribute__((swift_name("IosDocumentCaptureCoordinator")))
|
|
|
255
255
|
__attribute__((objc_subclassing_restricted))
|
|
256
256
|
__attribute__((swift_name("CaptureCopy")))
|
|
257
257
|
@interface FNCCaptureCopy : FNCBase
|
|
258
|
-
- (instancetype)initWithTitleSelfie:(NSString *)titleSelfie selfieSubtitle:(NSString *)selfieSubtitle scanSideTitle:(NSString *)scanSideTitle documentTypeLabels:(NSDictionary<NSString *, NSString *> *)documentTypeLabels documentGeneric:(NSString *)documentGeneric sideFront:(NSString *)sideFront sideBack:(NSString *)sideBack sideSelfie:(NSString *)sideSelfie captureButton:(NSString *)captureButton cancelButton:(NSString *)cancelButton galleryButton:(NSString *)galleryButton statusIdle:(NSString *)statusIdle statusDetected:(NSString *)statusDetected statusDetectingDocument:(NSString *)statusDetectingDocument statusDocumentTooFar:(NSString *)statusDocumentTooFar statusDocumentNotCentered:(NSString *)statusDocumentNotCentered statusDetectingFace:(NSString *)statusDetectingFace statusFaceNotCentered:(NSString *)statusFaceNotCentered statusFaceNotStraight:(NSString *)statusFaceNotStraight statusFaceTooFar:(NSString *)statusFaceTooFar statusDeviceUnstable:(NSString *)statusDeviceUnstable confirmSelfieTitle:(NSString *)confirmSelfieTitle confirmDocumentTitle:(NSString *)confirmDocumentTitle useImageButton:(NSString *)useImageButton retakeButton:(NSString *)retakeButton uploadFromFilesButton:(NSString *)uploadFromFilesButton autoCaptureOn:(NSString *)autoCaptureOn autoCaptureOff:(NSString *)autoCaptureOff processingTitle:(NSString *)processingTitle processingDescription:(NSString *)processingDescription submittingSide:(NSString *)submittingSide slowConnection:(NSString *)slowConnection analyzingTitle:(NSString *)analyzingTitle sideSubmitted:(NSString *)sideSubmitted nextStepFront:(NSString *)nextStepFront nextStepBack:(NSString *)nextStepBack nextStepSelfie:(NSString *)nextStepSelfie errorTitle:(NSString *)errorTitle errorGeneric:(NSString *)errorGeneric multipleErrorsSubtitle:(NSString *)multipleErrorsSubtitle tryAgainButton:(NSString *)tryAgainButton retakeSelfieButton:(NSString *)retakeSelfieButton __attribute__((swift_name("init(titleSelfie:selfieSubtitle:scanSideTitle:documentTypeLabels:documentGeneric:sideFront:sideBack:sideSelfie:captureButton:cancelButton:galleryButton:statusIdle:statusDetected:statusDetectingDocument:statusDocumentTooFar:statusDocumentNotCentered:statusDetectingFace:statusFaceNotCentered:statusFaceNotStraight:statusFaceTooFar:statusDeviceUnstable:confirmSelfieTitle:confirmDocumentTitle:useImageButton:retakeButton:uploadFromFilesButton:autoCaptureOn:autoCaptureOff:processingTitle:processingDescription:submittingSide:slowConnection:analyzingTitle:sideSubmitted:nextStepFront:nextStepBack:nextStepSelfie:errorTitle:errorGeneric:multipleErrorsSubtitle:tryAgainButton:retakeSelfieButton:)"))) __attribute__((objc_designated_initializer));
|
|
259
|
-
- (FNCCaptureCopy *)doCopyTitleSelfie:(NSString *)titleSelfie selfieSubtitle:(NSString *)selfieSubtitle scanSideTitle:(NSString *)scanSideTitle documentTypeLabels:(NSDictionary<NSString *, NSString *> *)documentTypeLabels documentGeneric:(NSString *)documentGeneric sideFront:(NSString *)sideFront sideBack:(NSString *)sideBack sideSelfie:(NSString *)sideSelfie captureButton:(NSString *)captureButton cancelButton:(NSString *)cancelButton galleryButton:(NSString *)galleryButton statusIdle:(NSString *)statusIdle statusDetected:(NSString *)statusDetected statusDetectingDocument:(NSString *)statusDetectingDocument statusDocumentTooFar:(NSString *)statusDocumentTooFar statusDocumentNotCentered:(NSString *)statusDocumentNotCentered statusDetectingFace:(NSString *)statusDetectingFace statusFaceNotCentered:(NSString *)statusFaceNotCentered statusFaceNotStraight:(NSString *)statusFaceNotStraight statusFaceTooFar:(NSString *)statusFaceTooFar statusDeviceUnstable:(NSString *)statusDeviceUnstable confirmSelfieTitle:(NSString *)confirmSelfieTitle confirmDocumentTitle:(NSString *)confirmDocumentTitle useImageButton:(NSString *)useImageButton retakeButton:(NSString *)retakeButton uploadFromFilesButton:(NSString *)uploadFromFilesButton autoCaptureOn:(NSString *)autoCaptureOn autoCaptureOff:(NSString *)autoCaptureOff processingTitle:(NSString *)processingTitle processingDescription:(NSString *)processingDescription submittingSide:(NSString *)submittingSide slowConnection:(NSString *)slowConnection analyzingTitle:(NSString *)analyzingTitle sideSubmitted:(NSString *)sideSubmitted nextStepFront:(NSString *)nextStepFront nextStepBack:(NSString *)nextStepBack nextStepSelfie:(NSString *)nextStepSelfie errorTitle:(NSString *)errorTitle errorGeneric:(NSString *)errorGeneric multipleErrorsSubtitle:(NSString *)multipleErrorsSubtitle tryAgainButton:(NSString *)tryAgainButton retakeSelfieButton:(NSString *)retakeSelfieButton __attribute__((swift_name("doCopy(titleSelfie:selfieSubtitle:scanSideTitle:documentTypeLabels:documentGeneric:sideFront:sideBack:sideSelfie:captureButton:cancelButton:galleryButton:statusIdle:statusDetected:statusDetectingDocument:statusDocumentTooFar:statusDocumentNotCentered:statusDetectingFace:statusFaceNotCentered:statusFaceNotStraight:statusFaceTooFar:statusDeviceUnstable:confirmSelfieTitle:confirmDocumentTitle:useImageButton:retakeButton:uploadFromFilesButton:autoCaptureOn:autoCaptureOff:processingTitle:processingDescription:submittingSide:slowConnection:analyzingTitle:sideSubmitted:nextStepFront:nextStepBack:nextStepSelfie:errorTitle:errorGeneric:multipleErrorsSubtitle:tryAgainButton:retakeSelfieButton:)")));
|
|
258
|
+
- (instancetype)initWithTitleSelfie:(NSString *)titleSelfie selfieSubtitle:(NSString *)selfieSubtitle scanSideTitle:(NSString *)scanSideTitle documentTypeLabels:(NSDictionary<NSString *, NSString *> *)documentTypeLabels documentGeneric:(NSString *)documentGeneric sideFront:(NSString *)sideFront sideBack:(NSString *)sideBack sideSelfie:(NSString *)sideSelfie captureButton:(NSString *)captureButton cancelButton:(NSString *)cancelButton galleryButton:(NSString *)galleryButton statusIdle:(NSString *)statusIdle statusDetected:(NSString *)statusDetected statusDetectingDocument:(NSString *)statusDetectingDocument statusDocumentTooFar:(NSString *)statusDocumentTooFar statusDocumentNotCentered:(NSString *)statusDocumentNotCentered statusDetectingFace:(NSString *)statusDetectingFace statusFaceNotCentered:(NSString *)statusFaceNotCentered statusFaceNotStraight:(NSString *)statusFaceNotStraight statusFaceTooFar:(NSString *)statusFaceTooFar statusDeviceUnstable:(NSString *)statusDeviceUnstable confirmSelfieTitle:(NSString *)confirmSelfieTitle confirmDocumentTitle:(NSString *)confirmDocumentTitle useImageButton:(NSString *)useImageButton retakeButton:(NSString *)retakeButton uploadFromFilesButton:(NSString *)uploadFromFilesButton autoCaptureOn:(NSString *)autoCaptureOn autoCaptureOff:(NSString *)autoCaptureOff processingTitle:(NSString *)processingTitle processingDescription:(NSString *)processingDescription submittingSide:(NSString *)submittingSide slowConnection:(NSString *)slowConnection analyzingTitle:(NSString *)analyzingTitle sideSubmitted:(NSString *)sideSubmitted nextStepFront:(NSString *)nextStepFront nextStepBack:(NSString *)nextStepBack nextStepSelfie:(NSString *)nextStepSelfie errorTitle:(NSString *)errorTitle errorGeneric:(NSString *)errorGeneric multipleErrorsSubtitle:(NSString *)multipleErrorsSubtitle tryAgainButton:(NSString *)tryAgainButton retakeSelfieButton:(NSString *)retakeSelfieButton selfieFaceNotFoundTitle:(NSString *)selfieFaceNotFoundTitle selfieFaceNotFoundMessage:(NSString *)selfieFaceNotFoundMessage selfieMultipleFacesTitle:(NSString *)selfieMultipleFacesTitle selfieMultipleFacesMessage:(NSString *)selfieMultipleFacesMessage selfieFallbackTitle:(NSString *)selfieFallbackTitle selfieFallbackMessage:(NSString *)selfieFallbackMessage __attribute__((swift_name("init(titleSelfie:selfieSubtitle:scanSideTitle:documentTypeLabels:documentGeneric:sideFront:sideBack:sideSelfie:captureButton:cancelButton:galleryButton:statusIdle:statusDetected:statusDetectingDocument:statusDocumentTooFar:statusDocumentNotCentered:statusDetectingFace:statusFaceNotCentered:statusFaceNotStraight:statusFaceTooFar:statusDeviceUnstable:confirmSelfieTitle:confirmDocumentTitle:useImageButton:retakeButton:uploadFromFilesButton:autoCaptureOn:autoCaptureOff:processingTitle:processingDescription:submittingSide:slowConnection:analyzingTitle:sideSubmitted:nextStepFront:nextStepBack:nextStepSelfie:errorTitle:errorGeneric:multipleErrorsSubtitle:tryAgainButton:retakeSelfieButton:selfieFaceNotFoundTitle:selfieFaceNotFoundMessage:selfieMultipleFacesTitle:selfieMultipleFacesMessage:selfieFallbackTitle:selfieFallbackMessage:)"))) __attribute__((objc_designated_initializer));
|
|
259
|
+
- (FNCCaptureCopy *)doCopyTitleSelfie:(NSString *)titleSelfie selfieSubtitle:(NSString *)selfieSubtitle scanSideTitle:(NSString *)scanSideTitle documentTypeLabels:(NSDictionary<NSString *, NSString *> *)documentTypeLabels documentGeneric:(NSString *)documentGeneric sideFront:(NSString *)sideFront sideBack:(NSString *)sideBack sideSelfie:(NSString *)sideSelfie captureButton:(NSString *)captureButton cancelButton:(NSString *)cancelButton galleryButton:(NSString *)galleryButton statusIdle:(NSString *)statusIdle statusDetected:(NSString *)statusDetected statusDetectingDocument:(NSString *)statusDetectingDocument statusDocumentTooFar:(NSString *)statusDocumentTooFar statusDocumentNotCentered:(NSString *)statusDocumentNotCentered statusDetectingFace:(NSString *)statusDetectingFace statusFaceNotCentered:(NSString *)statusFaceNotCentered statusFaceNotStraight:(NSString *)statusFaceNotStraight statusFaceTooFar:(NSString *)statusFaceTooFar statusDeviceUnstable:(NSString *)statusDeviceUnstable confirmSelfieTitle:(NSString *)confirmSelfieTitle confirmDocumentTitle:(NSString *)confirmDocumentTitle useImageButton:(NSString *)useImageButton retakeButton:(NSString *)retakeButton uploadFromFilesButton:(NSString *)uploadFromFilesButton autoCaptureOn:(NSString *)autoCaptureOn autoCaptureOff:(NSString *)autoCaptureOff processingTitle:(NSString *)processingTitle processingDescription:(NSString *)processingDescription submittingSide:(NSString *)submittingSide slowConnection:(NSString *)slowConnection analyzingTitle:(NSString *)analyzingTitle sideSubmitted:(NSString *)sideSubmitted nextStepFront:(NSString *)nextStepFront nextStepBack:(NSString *)nextStepBack nextStepSelfie:(NSString *)nextStepSelfie errorTitle:(NSString *)errorTitle errorGeneric:(NSString *)errorGeneric multipleErrorsSubtitle:(NSString *)multipleErrorsSubtitle tryAgainButton:(NSString *)tryAgainButton retakeSelfieButton:(NSString *)retakeSelfieButton selfieFaceNotFoundTitle:(NSString *)selfieFaceNotFoundTitle selfieFaceNotFoundMessage:(NSString *)selfieFaceNotFoundMessage selfieMultipleFacesTitle:(NSString *)selfieMultipleFacesTitle selfieMultipleFacesMessage:(NSString *)selfieMultipleFacesMessage selfieFallbackTitle:(NSString *)selfieFallbackTitle selfieFallbackMessage:(NSString *)selfieFallbackMessage __attribute__((swift_name("doCopy(titleSelfie:selfieSubtitle:scanSideTitle:documentTypeLabels:documentGeneric:sideFront:sideBack:sideSelfie:captureButton:cancelButton:galleryButton:statusIdle:statusDetected:statusDetectingDocument:statusDocumentTooFar:statusDocumentNotCentered:statusDetectingFace:statusFaceNotCentered:statusFaceNotStraight:statusFaceTooFar:statusDeviceUnstable:confirmSelfieTitle:confirmDocumentTitle:useImageButton:retakeButton:uploadFromFilesButton:autoCaptureOn:autoCaptureOff:processingTitle:processingDescription:submittingSide:slowConnection:analyzingTitle:sideSubmitted:nextStepFront:nextStepBack:nextStepSelfie:errorTitle:errorGeneric:multipleErrorsSubtitle:tryAgainButton:retakeSelfieButton:selfieFaceNotFoundTitle:selfieFaceNotFoundMessage:selfieMultipleFacesTitle:selfieMultipleFacesMessage:selfieFallbackTitle:selfieFallbackMessage:)")));
|
|
260
260
|
|
|
261
261
|
/** Human-readable document-type name; falls back to a generic label. */
|
|
262
262
|
- (NSString *)documentTypeLabelDocumentKind:(NSString * _Nullable)documentKind __attribute__((swift_name("documentTypeLabel(documentKind:)")));
|
|
@@ -340,6 +340,12 @@ __attribute__((swift_name("CaptureCopy")))
|
|
|
340
340
|
@property (readonly) NSString *retakeButton __attribute__((swift_name("retakeButton")));
|
|
341
341
|
@property (readonly) NSString *retakeSelfieButton __attribute__((swift_name("retakeSelfieButton")));
|
|
342
342
|
@property (readonly) NSString *scanSideTitle __attribute__((swift_name("scanSideTitle")));
|
|
343
|
+
@property (readonly) NSString *selfieFaceNotFoundMessage __attribute__((swift_name("selfieFaceNotFoundMessage")));
|
|
344
|
+
@property (readonly) NSString *selfieFaceNotFoundTitle __attribute__((swift_name("selfieFaceNotFoundTitle")));
|
|
345
|
+
@property (readonly) NSString *selfieFallbackMessage __attribute__((swift_name("selfieFallbackMessage")));
|
|
346
|
+
@property (readonly) NSString *selfieFallbackTitle __attribute__((swift_name("selfieFallbackTitle")));
|
|
347
|
+
@property (readonly) NSString *selfieMultipleFacesMessage __attribute__((swift_name("selfieMultipleFacesMessage")));
|
|
348
|
+
@property (readonly) NSString *selfieMultipleFacesTitle __attribute__((swift_name("selfieMultipleFacesTitle")));
|
|
343
349
|
@property (readonly) NSString *selfieSubtitle __attribute__((swift_name("selfieSubtitle")));
|
|
344
350
|
@property (readonly) NSString *sideBack __attribute__((swift_name("sideBack")));
|
|
345
351
|
@property (readonly) NSString *sideFront __attribute__((swift_name("sideFront")));
|
|
@@ -955,12 +961,11 @@ __attribute__((swift_name("MapImageErrorKt")))
|
|
|
955
961
|
|
|
956
962
|
/**
|
|
957
963
|
* Maps a backend [CaptureImageError] to a displayable [ImageError] for the error
|
|
958
|
-
* overlay.
|
|
959
|
-
*
|
|
960
|
-
* falls back to the generic copy. Title uses the generic error title — per-code
|
|
964
|
+
* overlay. A standalone selfie's rejection gets idv2's selfie retry copy, keyed by its
|
|
965
|
+
* code; an ID document, including its selfie step, gets the generic copy — per-code
|
|
961
966
|
* titles remain a consumer concern (Handoff maps them via its own OpenAPI copy).
|
|
962
967
|
*/
|
|
963
|
-
+ (FNCImageError *)mapImageErrorError:(FNCCaptureImageError *)error copy:(FNCCaptureCopy *)copy __attribute__((swift_name("mapImageError(error:copy:)")));
|
|
968
|
+
+ (FNCImageError *)mapImageErrorError:(FNCCaptureImageError *)error documentKind:(NSString * _Nullable)documentKind copy:(FNCCaptureCopy *)copy __attribute__((swift_name("mapImageError(error:documentKind:copy:)")));
|
|
964
969
|
@end
|
|
965
970
|
|
|
966
971
|
__attribute__((swift_name("KotlinRuntimeException")))
|
|
Binary file
|
|
@@ -255,8 +255,8 @@ __attribute__((swift_name("IosDocumentCaptureCoordinator")))
|
|
|
255
255
|
__attribute__((objc_subclassing_restricted))
|
|
256
256
|
__attribute__((swift_name("CaptureCopy")))
|
|
257
257
|
@interface FNCCaptureCopy : FNCBase
|
|
258
|
-
- (instancetype)initWithTitleSelfie:(NSString *)titleSelfie selfieSubtitle:(NSString *)selfieSubtitle scanSideTitle:(NSString *)scanSideTitle documentTypeLabels:(NSDictionary<NSString *, NSString *> *)documentTypeLabels documentGeneric:(NSString *)documentGeneric sideFront:(NSString *)sideFront sideBack:(NSString *)sideBack sideSelfie:(NSString *)sideSelfie captureButton:(NSString *)captureButton cancelButton:(NSString *)cancelButton galleryButton:(NSString *)galleryButton statusIdle:(NSString *)statusIdle statusDetected:(NSString *)statusDetected statusDetectingDocument:(NSString *)statusDetectingDocument statusDocumentTooFar:(NSString *)statusDocumentTooFar statusDocumentNotCentered:(NSString *)statusDocumentNotCentered statusDetectingFace:(NSString *)statusDetectingFace statusFaceNotCentered:(NSString *)statusFaceNotCentered statusFaceNotStraight:(NSString *)statusFaceNotStraight statusFaceTooFar:(NSString *)statusFaceTooFar statusDeviceUnstable:(NSString *)statusDeviceUnstable confirmSelfieTitle:(NSString *)confirmSelfieTitle confirmDocumentTitle:(NSString *)confirmDocumentTitle useImageButton:(NSString *)useImageButton retakeButton:(NSString *)retakeButton uploadFromFilesButton:(NSString *)uploadFromFilesButton autoCaptureOn:(NSString *)autoCaptureOn autoCaptureOff:(NSString *)autoCaptureOff processingTitle:(NSString *)processingTitle processingDescription:(NSString *)processingDescription submittingSide:(NSString *)submittingSide slowConnection:(NSString *)slowConnection analyzingTitle:(NSString *)analyzingTitle sideSubmitted:(NSString *)sideSubmitted nextStepFront:(NSString *)nextStepFront nextStepBack:(NSString *)nextStepBack nextStepSelfie:(NSString *)nextStepSelfie errorTitle:(NSString *)errorTitle errorGeneric:(NSString *)errorGeneric multipleErrorsSubtitle:(NSString *)multipleErrorsSubtitle tryAgainButton:(NSString *)tryAgainButton retakeSelfieButton:(NSString *)retakeSelfieButton __attribute__((swift_name("init(titleSelfie:selfieSubtitle:scanSideTitle:documentTypeLabels:documentGeneric:sideFront:sideBack:sideSelfie:captureButton:cancelButton:galleryButton:statusIdle:statusDetected:statusDetectingDocument:statusDocumentTooFar:statusDocumentNotCentered:statusDetectingFace:statusFaceNotCentered:statusFaceNotStraight:statusFaceTooFar:statusDeviceUnstable:confirmSelfieTitle:confirmDocumentTitle:useImageButton:retakeButton:uploadFromFilesButton:autoCaptureOn:autoCaptureOff:processingTitle:processingDescription:submittingSide:slowConnection:analyzingTitle:sideSubmitted:nextStepFront:nextStepBack:nextStepSelfie:errorTitle:errorGeneric:multipleErrorsSubtitle:tryAgainButton:retakeSelfieButton:)"))) __attribute__((objc_designated_initializer));
|
|
259
|
-
- (FNCCaptureCopy *)doCopyTitleSelfie:(NSString *)titleSelfie selfieSubtitle:(NSString *)selfieSubtitle scanSideTitle:(NSString *)scanSideTitle documentTypeLabels:(NSDictionary<NSString *, NSString *> *)documentTypeLabels documentGeneric:(NSString *)documentGeneric sideFront:(NSString *)sideFront sideBack:(NSString *)sideBack sideSelfie:(NSString *)sideSelfie captureButton:(NSString *)captureButton cancelButton:(NSString *)cancelButton galleryButton:(NSString *)galleryButton statusIdle:(NSString *)statusIdle statusDetected:(NSString *)statusDetected statusDetectingDocument:(NSString *)statusDetectingDocument statusDocumentTooFar:(NSString *)statusDocumentTooFar statusDocumentNotCentered:(NSString *)statusDocumentNotCentered statusDetectingFace:(NSString *)statusDetectingFace statusFaceNotCentered:(NSString *)statusFaceNotCentered statusFaceNotStraight:(NSString *)statusFaceNotStraight statusFaceTooFar:(NSString *)statusFaceTooFar statusDeviceUnstable:(NSString *)statusDeviceUnstable confirmSelfieTitle:(NSString *)confirmSelfieTitle confirmDocumentTitle:(NSString *)confirmDocumentTitle useImageButton:(NSString *)useImageButton retakeButton:(NSString *)retakeButton uploadFromFilesButton:(NSString *)uploadFromFilesButton autoCaptureOn:(NSString *)autoCaptureOn autoCaptureOff:(NSString *)autoCaptureOff processingTitle:(NSString *)processingTitle processingDescription:(NSString *)processingDescription submittingSide:(NSString *)submittingSide slowConnection:(NSString *)slowConnection analyzingTitle:(NSString *)analyzingTitle sideSubmitted:(NSString *)sideSubmitted nextStepFront:(NSString *)nextStepFront nextStepBack:(NSString *)nextStepBack nextStepSelfie:(NSString *)nextStepSelfie errorTitle:(NSString *)errorTitle errorGeneric:(NSString *)errorGeneric multipleErrorsSubtitle:(NSString *)multipleErrorsSubtitle tryAgainButton:(NSString *)tryAgainButton retakeSelfieButton:(NSString *)retakeSelfieButton __attribute__((swift_name("doCopy(titleSelfie:selfieSubtitle:scanSideTitle:documentTypeLabels:documentGeneric:sideFront:sideBack:sideSelfie:captureButton:cancelButton:galleryButton:statusIdle:statusDetected:statusDetectingDocument:statusDocumentTooFar:statusDocumentNotCentered:statusDetectingFace:statusFaceNotCentered:statusFaceNotStraight:statusFaceTooFar:statusDeviceUnstable:confirmSelfieTitle:confirmDocumentTitle:useImageButton:retakeButton:uploadFromFilesButton:autoCaptureOn:autoCaptureOff:processingTitle:processingDescription:submittingSide:slowConnection:analyzingTitle:sideSubmitted:nextStepFront:nextStepBack:nextStepSelfie:errorTitle:errorGeneric:multipleErrorsSubtitle:tryAgainButton:retakeSelfieButton:)")));
|
|
258
|
+
- (instancetype)initWithTitleSelfie:(NSString *)titleSelfie selfieSubtitle:(NSString *)selfieSubtitle scanSideTitle:(NSString *)scanSideTitle documentTypeLabels:(NSDictionary<NSString *, NSString *> *)documentTypeLabels documentGeneric:(NSString *)documentGeneric sideFront:(NSString *)sideFront sideBack:(NSString *)sideBack sideSelfie:(NSString *)sideSelfie captureButton:(NSString *)captureButton cancelButton:(NSString *)cancelButton galleryButton:(NSString *)galleryButton statusIdle:(NSString *)statusIdle statusDetected:(NSString *)statusDetected statusDetectingDocument:(NSString *)statusDetectingDocument statusDocumentTooFar:(NSString *)statusDocumentTooFar statusDocumentNotCentered:(NSString *)statusDocumentNotCentered statusDetectingFace:(NSString *)statusDetectingFace statusFaceNotCentered:(NSString *)statusFaceNotCentered statusFaceNotStraight:(NSString *)statusFaceNotStraight statusFaceTooFar:(NSString *)statusFaceTooFar statusDeviceUnstable:(NSString *)statusDeviceUnstable confirmSelfieTitle:(NSString *)confirmSelfieTitle confirmDocumentTitle:(NSString *)confirmDocumentTitle useImageButton:(NSString *)useImageButton retakeButton:(NSString *)retakeButton uploadFromFilesButton:(NSString *)uploadFromFilesButton autoCaptureOn:(NSString *)autoCaptureOn autoCaptureOff:(NSString *)autoCaptureOff processingTitle:(NSString *)processingTitle processingDescription:(NSString *)processingDescription submittingSide:(NSString *)submittingSide slowConnection:(NSString *)slowConnection analyzingTitle:(NSString *)analyzingTitle sideSubmitted:(NSString *)sideSubmitted nextStepFront:(NSString *)nextStepFront nextStepBack:(NSString *)nextStepBack nextStepSelfie:(NSString *)nextStepSelfie errorTitle:(NSString *)errorTitle errorGeneric:(NSString *)errorGeneric multipleErrorsSubtitle:(NSString *)multipleErrorsSubtitle tryAgainButton:(NSString *)tryAgainButton retakeSelfieButton:(NSString *)retakeSelfieButton selfieFaceNotFoundTitle:(NSString *)selfieFaceNotFoundTitle selfieFaceNotFoundMessage:(NSString *)selfieFaceNotFoundMessage selfieMultipleFacesTitle:(NSString *)selfieMultipleFacesTitle selfieMultipleFacesMessage:(NSString *)selfieMultipleFacesMessage selfieFallbackTitle:(NSString *)selfieFallbackTitle selfieFallbackMessage:(NSString *)selfieFallbackMessage __attribute__((swift_name("init(titleSelfie:selfieSubtitle:scanSideTitle:documentTypeLabels:documentGeneric:sideFront:sideBack:sideSelfie:captureButton:cancelButton:galleryButton:statusIdle:statusDetected:statusDetectingDocument:statusDocumentTooFar:statusDocumentNotCentered:statusDetectingFace:statusFaceNotCentered:statusFaceNotStraight:statusFaceTooFar:statusDeviceUnstable:confirmSelfieTitle:confirmDocumentTitle:useImageButton:retakeButton:uploadFromFilesButton:autoCaptureOn:autoCaptureOff:processingTitle:processingDescription:submittingSide:slowConnection:analyzingTitle:sideSubmitted:nextStepFront:nextStepBack:nextStepSelfie:errorTitle:errorGeneric:multipleErrorsSubtitle:tryAgainButton:retakeSelfieButton:selfieFaceNotFoundTitle:selfieFaceNotFoundMessage:selfieMultipleFacesTitle:selfieMultipleFacesMessage:selfieFallbackTitle:selfieFallbackMessage:)"))) __attribute__((objc_designated_initializer));
|
|
259
|
+
- (FNCCaptureCopy *)doCopyTitleSelfie:(NSString *)titleSelfie selfieSubtitle:(NSString *)selfieSubtitle scanSideTitle:(NSString *)scanSideTitle documentTypeLabels:(NSDictionary<NSString *, NSString *> *)documentTypeLabels documentGeneric:(NSString *)documentGeneric sideFront:(NSString *)sideFront sideBack:(NSString *)sideBack sideSelfie:(NSString *)sideSelfie captureButton:(NSString *)captureButton cancelButton:(NSString *)cancelButton galleryButton:(NSString *)galleryButton statusIdle:(NSString *)statusIdle statusDetected:(NSString *)statusDetected statusDetectingDocument:(NSString *)statusDetectingDocument statusDocumentTooFar:(NSString *)statusDocumentTooFar statusDocumentNotCentered:(NSString *)statusDocumentNotCentered statusDetectingFace:(NSString *)statusDetectingFace statusFaceNotCentered:(NSString *)statusFaceNotCentered statusFaceNotStraight:(NSString *)statusFaceNotStraight statusFaceTooFar:(NSString *)statusFaceTooFar statusDeviceUnstable:(NSString *)statusDeviceUnstable confirmSelfieTitle:(NSString *)confirmSelfieTitle confirmDocumentTitle:(NSString *)confirmDocumentTitle useImageButton:(NSString *)useImageButton retakeButton:(NSString *)retakeButton uploadFromFilesButton:(NSString *)uploadFromFilesButton autoCaptureOn:(NSString *)autoCaptureOn autoCaptureOff:(NSString *)autoCaptureOff processingTitle:(NSString *)processingTitle processingDescription:(NSString *)processingDescription submittingSide:(NSString *)submittingSide slowConnection:(NSString *)slowConnection analyzingTitle:(NSString *)analyzingTitle sideSubmitted:(NSString *)sideSubmitted nextStepFront:(NSString *)nextStepFront nextStepBack:(NSString *)nextStepBack nextStepSelfie:(NSString *)nextStepSelfie errorTitle:(NSString *)errorTitle errorGeneric:(NSString *)errorGeneric multipleErrorsSubtitle:(NSString *)multipleErrorsSubtitle tryAgainButton:(NSString *)tryAgainButton retakeSelfieButton:(NSString *)retakeSelfieButton selfieFaceNotFoundTitle:(NSString *)selfieFaceNotFoundTitle selfieFaceNotFoundMessage:(NSString *)selfieFaceNotFoundMessage selfieMultipleFacesTitle:(NSString *)selfieMultipleFacesTitle selfieMultipleFacesMessage:(NSString *)selfieMultipleFacesMessage selfieFallbackTitle:(NSString *)selfieFallbackTitle selfieFallbackMessage:(NSString *)selfieFallbackMessage __attribute__((swift_name("doCopy(titleSelfie:selfieSubtitle:scanSideTitle:documentTypeLabels:documentGeneric:sideFront:sideBack:sideSelfie:captureButton:cancelButton:galleryButton:statusIdle:statusDetected:statusDetectingDocument:statusDocumentTooFar:statusDocumentNotCentered:statusDetectingFace:statusFaceNotCentered:statusFaceNotStraight:statusFaceTooFar:statusDeviceUnstable:confirmSelfieTitle:confirmDocumentTitle:useImageButton:retakeButton:uploadFromFilesButton:autoCaptureOn:autoCaptureOff:processingTitle:processingDescription:submittingSide:slowConnection:analyzingTitle:sideSubmitted:nextStepFront:nextStepBack:nextStepSelfie:errorTitle:errorGeneric:multipleErrorsSubtitle:tryAgainButton:retakeSelfieButton:selfieFaceNotFoundTitle:selfieFaceNotFoundMessage:selfieMultipleFacesTitle:selfieMultipleFacesMessage:selfieFallbackTitle:selfieFallbackMessage:)")));
|
|
260
260
|
|
|
261
261
|
/** Human-readable document-type name; falls back to a generic label. */
|
|
262
262
|
- (NSString *)documentTypeLabelDocumentKind:(NSString * _Nullable)documentKind __attribute__((swift_name("documentTypeLabel(documentKind:)")));
|
|
@@ -340,6 +340,12 @@ __attribute__((swift_name("CaptureCopy")))
|
|
|
340
340
|
@property (readonly) NSString *retakeButton __attribute__((swift_name("retakeButton")));
|
|
341
341
|
@property (readonly) NSString *retakeSelfieButton __attribute__((swift_name("retakeSelfieButton")));
|
|
342
342
|
@property (readonly) NSString *scanSideTitle __attribute__((swift_name("scanSideTitle")));
|
|
343
|
+
@property (readonly) NSString *selfieFaceNotFoundMessage __attribute__((swift_name("selfieFaceNotFoundMessage")));
|
|
344
|
+
@property (readonly) NSString *selfieFaceNotFoundTitle __attribute__((swift_name("selfieFaceNotFoundTitle")));
|
|
345
|
+
@property (readonly) NSString *selfieFallbackMessage __attribute__((swift_name("selfieFallbackMessage")));
|
|
346
|
+
@property (readonly) NSString *selfieFallbackTitle __attribute__((swift_name("selfieFallbackTitle")));
|
|
347
|
+
@property (readonly) NSString *selfieMultipleFacesMessage __attribute__((swift_name("selfieMultipleFacesMessage")));
|
|
348
|
+
@property (readonly) NSString *selfieMultipleFacesTitle __attribute__((swift_name("selfieMultipleFacesTitle")));
|
|
343
349
|
@property (readonly) NSString *selfieSubtitle __attribute__((swift_name("selfieSubtitle")));
|
|
344
350
|
@property (readonly) NSString *sideBack __attribute__((swift_name("sideBack")));
|
|
345
351
|
@property (readonly) NSString *sideFront __attribute__((swift_name("sideFront")));
|
|
@@ -955,12 +961,11 @@ __attribute__((swift_name("MapImageErrorKt")))
|
|
|
955
961
|
|
|
956
962
|
/**
|
|
957
963
|
* Maps a backend [CaptureImageError] to a displayable [ImageError] for the error
|
|
958
|
-
* overlay.
|
|
959
|
-
*
|
|
960
|
-
* falls back to the generic copy. Title uses the generic error title — per-code
|
|
964
|
+
* overlay. A standalone selfie's rejection gets idv2's selfie retry copy, keyed by its
|
|
965
|
+
* code; an ID document, including its selfie step, gets the generic copy — per-code
|
|
961
966
|
* titles remain a consumer concern (Handoff maps them via its own OpenAPI copy).
|
|
962
967
|
*/
|
|
963
|
-
+ (FNCImageError *)mapImageErrorError:(FNCCaptureImageError *)error copy:(FNCCaptureCopy *)copy __attribute__((swift_name("mapImageError(error:copy:)")));
|
|
968
|
+
+ (FNCImageError *)mapImageErrorError:(FNCCaptureImageError *)error documentKind:(NSString * _Nullable)documentKind copy:(FNCCaptureCopy *)copy __attribute__((swift_name("mapImageError(error:documentKind:copy:)")));
|
|
964
969
|
@end
|
|
965
970
|
|
|
966
971
|
__attribute__((swift_name("KotlinRuntimeException")))
|
package/FootprintNativeCameraSwift/Frameworks/FootprintNativeCameraSwift.xcframework/Info.plist
CHANGED
|
@@ -8,32 +8,32 @@
|
|
|
8
8
|
<key>BinaryPath</key>
|
|
9
9
|
<string>FootprintNativeCameraSwift.framework/FootprintNativeCameraSwift</string>
|
|
10
10
|
<key>LibraryIdentifier</key>
|
|
11
|
-
<string>ios-
|
|
11
|
+
<string>ios-arm64_x86_64-simulator</string>
|
|
12
12
|
<key>LibraryPath</key>
|
|
13
13
|
<string>FootprintNativeCameraSwift.framework</string>
|
|
14
14
|
<key>SupportedArchitectures</key>
|
|
15
15
|
<array>
|
|
16
16
|
<string>arm64</string>
|
|
17
|
+
<string>x86_64</string>
|
|
17
18
|
</array>
|
|
18
19
|
<key>SupportedPlatform</key>
|
|
19
20
|
<string>ios</string>
|
|
21
|
+
<key>SupportedPlatformVariant</key>
|
|
22
|
+
<string>simulator</string>
|
|
20
23
|
</dict>
|
|
21
24
|
<dict>
|
|
22
25
|
<key>BinaryPath</key>
|
|
23
26
|
<string>FootprintNativeCameraSwift.framework/FootprintNativeCameraSwift</string>
|
|
24
27
|
<key>LibraryIdentifier</key>
|
|
25
|
-
<string>ios-
|
|
28
|
+
<string>ios-arm64</string>
|
|
26
29
|
<key>LibraryPath</key>
|
|
27
30
|
<string>FootprintNativeCameraSwift.framework</string>
|
|
28
31
|
<key>SupportedArchitectures</key>
|
|
29
32
|
<array>
|
|
30
33
|
<string>arm64</string>
|
|
31
|
-
<string>x86_64</string>
|
|
32
34
|
</array>
|
|
33
35
|
<key>SupportedPlatform</key>
|
|
34
36
|
<string>ios</string>
|
|
35
|
-
<key>SupportedPlatformVariant</key>
|
|
36
|
-
<string>simulator</string>
|
|
37
37
|
</dict>
|
|
38
38
|
</array>
|
|
39
39
|
<key>CFBundlePackageType</key>
|
|
Binary file
|
|
@@ -8237,7 +8237,7 @@
|
|
|
8237
8237
|
{
|
|
8238
8238
|
"kind": "Constructor",
|
|
8239
8239
|
"name": "init",
|
|
8240
|
-
"printedName": "init(startSide:onError:onComplete:)",
|
|
8240
|
+
"printedName": "init(startSide:autoCapture:onError:onComplete:)",
|
|
8241
8241
|
"children": [
|
|
8242
8242
|
{
|
|
8243
8243
|
"kind": "TypeNominal",
|
|
@@ -8251,6 +8251,13 @@
|
|
|
8251
8251
|
"printedName": "Swift.String",
|
|
8252
8252
|
"usr": "s:SS"
|
|
8253
8253
|
},
|
|
8254
|
+
{
|
|
8255
|
+
"kind": "TypeNominal",
|
|
8256
|
+
"name": "Bool",
|
|
8257
|
+
"printedName": "Swift.Bool",
|
|
8258
|
+
"hasDefaultArg": true,
|
|
8259
|
+
"usr": "s:Sb"
|
|
8260
|
+
},
|
|
8254
8261
|
{
|
|
8255
8262
|
"kind": "TypeFunc",
|
|
8256
8263
|
"name": "Function",
|
|
@@ -8301,8 +8308,8 @@
|
|
|
8301
8308
|
}
|
|
8302
8309
|
],
|
|
8303
8310
|
"declKind": "Constructor",
|
|
8304
|
-
"usr": "s:
|
|
8305
|
-
"mangledName": "$
|
|
8311
|
+
"usr": "s:26FootprintNativeCameraSwift0C16CaptureViewModelC9startSide04autoE07onError0K8CompleteACSS_SbySS_SStcyyctcfc",
|
|
8312
|
+
"mangledName": "$s26FootprintNativeCameraSwift0C16CaptureViewModelC9startSide04autoE07onError0K8CompleteACSS_SbySS_SStcyyctcfc",
|
|
8306
8313
|
"moduleName": "FootprintNativeCameraSwift",
|
|
8307
8314
|
"declAttributes": [
|
|
8308
8315
|
"AccessControl"
|
|
@@ -9077,7 +9084,7 @@
|
|
|
9077
9084
|
{
|
|
9078
9085
|
"kind": "Constructor",
|
|
9079
9086
|
"name": "init",
|
|
9080
|
-
"printedName": "init(startSide:documentKind:appearance:language:onError:onComplete:onClose:)",
|
|
9087
|
+
"printedName": "init(startSide:autoCapture:allowGalleryUpload:documentKind:appearance:language:onError:onComplete:onClose:)",
|
|
9081
9088
|
"children": [
|
|
9082
9089
|
{
|
|
9083
9090
|
"kind": "TypeNominal",
|
|
@@ -9091,6 +9098,20 @@
|
|
|
9091
9098
|
"printedName": "Swift.String",
|
|
9092
9099
|
"usr": "s:SS"
|
|
9093
9100
|
},
|
|
9101
|
+
{
|
|
9102
|
+
"kind": "TypeNominal",
|
|
9103
|
+
"name": "Bool",
|
|
9104
|
+
"printedName": "Swift.Bool",
|
|
9105
|
+
"hasDefaultArg": true,
|
|
9106
|
+
"usr": "s:Sb"
|
|
9107
|
+
},
|
|
9108
|
+
{
|
|
9109
|
+
"kind": "TypeNominal",
|
|
9110
|
+
"name": "Bool",
|
|
9111
|
+
"printedName": "Swift.Bool",
|
|
9112
|
+
"hasDefaultArg": true,
|
|
9113
|
+
"usr": "s:Sb"
|
|
9114
|
+
},
|
|
9094
9115
|
{
|
|
9095
9116
|
"kind": "TypeNominal",
|
|
9096
9117
|
"name": "Optional",
|
|
@@ -9192,8 +9213,8 @@
|
|
|
9192
9213
|
}
|
|
9193
9214
|
],
|
|
9194
9215
|
"declKind": "Constructor",
|
|
9195
|
-
"usr": "s:
|
|
9196
|
-
"mangledName": "$
|
|
9216
|
+
"usr": "s:26FootprintNativeCameraSwift0C11CaptureViewV9startSide04autoE018allowGalleryUpload12documentKind10appearance8language7onError0Q8Complete0Q5CloseACSS_S2bSSSgSo20FNCCaptureAppearanceCAMySS_SStcyycyyctcfc",
|
|
9217
|
+
"mangledName": "$s26FootprintNativeCameraSwift0C11CaptureViewV9startSide04autoE018allowGalleryUpload12documentKind10appearance8language7onError0Q8Complete0Q5CloseACSS_S2bSSSgSo20FNCCaptureAppearanceCAMySS_SStcyycyyctcfc",
|
|
9197
9218
|
"moduleName": "FootprintNativeCameraSwift",
|
|
9198
9219
|
"declAttributes": [
|
|
9199
9220
|
"Preconcurrency",
|
|
@@ -12821,17 +12842,31 @@
|
|
|
12821
12842
|
"length": 1,
|
|
12822
12843
|
"value": "0"
|
|
12823
12844
|
},
|
|
12845
|
+
{
|
|
12846
|
+
"filePath": "\/Users\/runner\/work\/monorepo\/monorepo\/mobile\/packages\/footprint-native-camera-module\/FootprintNativeCameraSwift\/Sources\/FootprintNativeCameraSwift\/ViewModel\/CameraCaptureViewModel.swift",
|
|
12847
|
+
"kind": "BooleanLiteral",
|
|
12848
|
+
"offset": 2152,
|
|
12849
|
+
"length": 5,
|
|
12850
|
+
"value": "false"
|
|
12851
|
+
},
|
|
12852
|
+
{
|
|
12853
|
+
"filePath": "\/Users\/runner\/work\/monorepo\/monorepo\/mobile\/packages\/footprint-native-camera-module\/FootprintNativeCameraSwift\/Sources\/FootprintNativeCameraSwift\/ViewModel\/CameraCaptureViewModel.swift",
|
|
12854
|
+
"kind": "BooleanLiteral",
|
|
12855
|
+
"offset": 2343,
|
|
12856
|
+
"length": 4,
|
|
12857
|
+
"value": "true"
|
|
12858
|
+
},
|
|
12824
12859
|
{
|
|
12825
12860
|
"filePath": "\/Users\/runner\/work\/monorepo\/monorepo\/mobile\/packages\/footprint-native-camera-module\/FootprintNativeCameraSwift\/Sources\/FootprintNativeCameraSwift\/ViewModel\/CameraCaptureViewModel.swift",
|
|
12826
12861
|
"kind": "FloatLiteral",
|
|
12827
|
-
"offset":
|
|
12862
|
+
"offset": 8577,
|
|
12828
12863
|
"length": 4,
|
|
12829
12864
|
"value": "50.0"
|
|
12830
12865
|
},
|
|
12831
12866
|
{
|
|
12832
12867
|
"filePath": "\/Users\/runner\/work\/monorepo\/monorepo\/mobile\/packages\/footprint-native-camera-module\/FootprintNativeCameraSwift\/Sources\/FootprintNativeCameraSwift\/ViewModel\/CameraCaptureViewModel.swift",
|
|
12833
12868
|
"kind": "IntegerLiteral",
|
|
12834
|
-
"offset":
|
|
12869
|
+
"offset": 10417,
|
|
12835
12870
|
"length": 4,
|
|
12836
12871
|
"value": "2000"
|
|
12837
12872
|
},
|
|
@@ -12849,6 +12884,20 @@
|
|
|
12849
12884
|
"length": 1,
|
|
12850
12885
|
"value": "2"
|
|
12851
12886
|
},
|
|
12887
|
+
{
|
|
12888
|
+
"filePath": "\/Users\/runner\/work\/monorepo\/monorepo\/mobile\/packages\/footprint-native-camera-module\/FootprintNativeCameraSwift\/Sources\/FootprintNativeCameraSwift\/Views\/CameraCaptureView.swift",
|
|
12889
|
+
"kind": "BooleanLiteral",
|
|
12890
|
+
"offset": 855,
|
|
12891
|
+
"length": 4,
|
|
12892
|
+
"value": "true"
|
|
12893
|
+
},
|
|
12894
|
+
{
|
|
12895
|
+
"filePath": "\/Users\/runner\/work\/monorepo\/monorepo\/mobile\/packages\/footprint-native-camera-module\/FootprintNativeCameraSwift\/Sources\/FootprintNativeCameraSwift\/Views\/CameraCaptureView.swift",
|
|
12896
|
+
"kind": "BooleanLiteral",
|
|
12897
|
+
"offset": 896,
|
|
12898
|
+
"length": 4,
|
|
12899
|
+
"value": "true"
|
|
12900
|
+
},
|
|
12852
12901
|
{
|
|
12853
12902
|
"filePath": "\/Users\/runner\/work\/monorepo\/monorepo\/mobile\/packages\/footprint-native-camera-module\/FootprintNativeCameraSwift\/Sources\/FootprintNativeCameraSwift\/Views\/CaptureButton.swift",
|
|
12854
12903
|
"kind": "BooleanLiteral",
|
|
@@ -312,7 +312,7 @@ final public class CameraCaptureViewModel : Combine.ObservableObject, @unchecked
|
|
|
312
312
|
final public var shouldRunAutocapture: Swift.Bool {
|
|
313
313
|
get
|
|
314
314
|
}
|
|
315
|
-
public init(startSide: Swift.String, onError: @escaping (Swift.String, Swift.String) -> Swift.Void, onComplete: @escaping () -> Swift.Void)
|
|
315
|
+
public init(startSide: Swift.String, autoCapture: Swift.Bool = true, onError: @escaping (Swift.String, Swift.String) -> Swift.Void, onComplete: @escaping () -> Swift.Void)
|
|
316
316
|
final public func onImageCaptured()
|
|
317
317
|
final public func onProcessing()
|
|
318
318
|
final public func onRetakeImage()
|
|
@@ -342,7 +342,7 @@ final public class CameraCaptureViewModel : Combine.ObservableObject, @unchecked
|
|
|
342
342
|
public typealias Body = @_opaqueReturnTypeOf("$s26FootprintNativeCameraSwift15BoxFrameOverlayV4bodyQrvp", 0) __
|
|
343
343
|
}
|
|
344
344
|
@_Concurrency.MainActor @preconcurrency public struct CameraCaptureView : SwiftUICore.View {
|
|
345
|
-
@_Concurrency.MainActor @preconcurrency public init(startSide: Swift.String, documentKind: Swift.String?, appearance: FootprintNativeCamera.CaptureAppearance, language: Swift.String?, onError: @escaping (Swift.String, Swift.String) -> Swift.Void, onComplete: @escaping () -> Swift.Void, onClose: @escaping () -> Swift.Void)
|
|
345
|
+
@_Concurrency.MainActor @preconcurrency public init(startSide: Swift.String, autoCapture: Swift.Bool = true, allowGalleryUpload: Swift.Bool = true, documentKind: Swift.String?, appearance: FootprintNativeCamera.CaptureAppearance, language: Swift.String?, onError: @escaping (Swift.String, Swift.String) -> Swift.Void, onComplete: @escaping () -> Swift.Void, onClose: @escaping () -> Swift.Void)
|
|
346
346
|
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
347
347
|
get
|
|
348
348
|
}
|
|
@@ -312,7 +312,7 @@ final public class CameraCaptureViewModel : Combine.ObservableObject, @unchecked
|
|
|
312
312
|
final public var shouldRunAutocapture: Swift.Bool {
|
|
313
313
|
get
|
|
314
314
|
}
|
|
315
|
-
public init(startSide: Swift.String, onError: @escaping (Swift.String, Swift.String) -> Swift.Void, onComplete: @escaping () -> Swift.Void)
|
|
315
|
+
public init(startSide: Swift.String, autoCapture: Swift.Bool = true, onError: @escaping (Swift.String, Swift.String) -> Swift.Void, onComplete: @escaping () -> Swift.Void)
|
|
316
316
|
final public func onImageCaptured()
|
|
317
317
|
final public func onProcessing()
|
|
318
318
|
final public func onRetakeImage()
|
|
@@ -342,7 +342,7 @@ final public class CameraCaptureViewModel : Combine.ObservableObject, @unchecked
|
|
|
342
342
|
public typealias Body = @_opaqueReturnTypeOf("$s26FootprintNativeCameraSwift15BoxFrameOverlayV4bodyQrvp", 0) __
|
|
343
343
|
}
|
|
344
344
|
@_Concurrency.MainActor @preconcurrency public struct CameraCaptureView : SwiftUICore.View {
|
|
345
|
-
@_Concurrency.MainActor @preconcurrency public init(startSide: Swift.String, documentKind: Swift.String?, appearance: FootprintNativeCamera.CaptureAppearance, language: Swift.String?, onError: @escaping (Swift.String, Swift.String) -> Swift.Void, onComplete: @escaping () -> Swift.Void, onClose: @escaping () -> Swift.Void)
|
|
345
|
+
@_Concurrency.MainActor @preconcurrency public init(startSide: Swift.String, autoCapture: Swift.Bool = true, allowGalleryUpload: Swift.Bool = true, documentKind: Swift.String?, appearance: FootprintNativeCamera.CaptureAppearance, language: Swift.String?, onError: @escaping (Swift.String, Swift.String) -> Swift.Void, onComplete: @escaping () -> Swift.Void, onClose: @escaping () -> Swift.Void)
|
|
346
346
|
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
347
347
|
get
|
|
348
348
|
}
|
|
Binary file
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<dict>
|
|
7
7
|
<key>Assets.car</key>
|
|
8
8
|
<data>
|
|
9
|
-
|
|
9
|
+
oilQ+075PgNRqQ3tASlb4EmnQCE=
|
|
10
10
|
</data>
|
|
11
11
|
</dict>
|
|
12
12
|
<key>files2</key>
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<dict>
|
|
16
16
|
<key>hash2</key>
|
|
17
17
|
<data>
|
|
18
|
-
|
|
18
|
+
uZtyB4QzUgc10n+9ACqq+R+XG5sy7dBnzGPBHLPTLs4=
|
|
19
19
|
</data>
|
|
20
20
|
</dict>
|
|
21
21
|
</dict>
|
|
@@ -8237,7 +8237,7 @@
|
|
|
8237
8237
|
{
|
|
8238
8238
|
"kind": "Constructor",
|
|
8239
8239
|
"name": "init",
|
|
8240
|
-
"printedName": "init(startSide:onError:onComplete:)",
|
|
8240
|
+
"printedName": "init(startSide:autoCapture:onError:onComplete:)",
|
|
8241
8241
|
"children": [
|
|
8242
8242
|
{
|
|
8243
8243
|
"kind": "TypeNominal",
|
|
@@ -8251,6 +8251,13 @@
|
|
|
8251
8251
|
"printedName": "Swift.String",
|
|
8252
8252
|
"usr": "s:SS"
|
|
8253
8253
|
},
|
|
8254
|
+
{
|
|
8255
|
+
"kind": "TypeNominal",
|
|
8256
|
+
"name": "Bool",
|
|
8257
|
+
"printedName": "Swift.Bool",
|
|
8258
|
+
"hasDefaultArg": true,
|
|
8259
|
+
"usr": "s:Sb"
|
|
8260
|
+
},
|
|
8254
8261
|
{
|
|
8255
8262
|
"kind": "TypeFunc",
|
|
8256
8263
|
"name": "Function",
|
|
@@ -8301,8 +8308,8 @@
|
|
|
8301
8308
|
}
|
|
8302
8309
|
],
|
|
8303
8310
|
"declKind": "Constructor",
|
|
8304
|
-
"usr": "s:
|
|
8305
|
-
"mangledName": "$
|
|
8311
|
+
"usr": "s:26FootprintNativeCameraSwift0C16CaptureViewModelC9startSide04autoE07onError0K8CompleteACSS_SbySS_SStcyyctcfc",
|
|
8312
|
+
"mangledName": "$s26FootprintNativeCameraSwift0C16CaptureViewModelC9startSide04autoE07onError0K8CompleteACSS_SbySS_SStcyyctcfc",
|
|
8306
8313
|
"moduleName": "FootprintNativeCameraSwift",
|
|
8307
8314
|
"declAttributes": [
|
|
8308
8315
|
"AccessControl"
|
|
@@ -9077,7 +9084,7 @@
|
|
|
9077
9084
|
{
|
|
9078
9085
|
"kind": "Constructor",
|
|
9079
9086
|
"name": "init",
|
|
9080
|
-
"printedName": "init(startSide:documentKind:appearance:language:onError:onComplete:onClose:)",
|
|
9087
|
+
"printedName": "init(startSide:autoCapture:allowGalleryUpload:documentKind:appearance:language:onError:onComplete:onClose:)",
|
|
9081
9088
|
"children": [
|
|
9082
9089
|
{
|
|
9083
9090
|
"kind": "TypeNominal",
|
|
@@ -9091,6 +9098,20 @@
|
|
|
9091
9098
|
"printedName": "Swift.String",
|
|
9092
9099
|
"usr": "s:SS"
|
|
9093
9100
|
},
|
|
9101
|
+
{
|
|
9102
|
+
"kind": "TypeNominal",
|
|
9103
|
+
"name": "Bool",
|
|
9104
|
+
"printedName": "Swift.Bool",
|
|
9105
|
+
"hasDefaultArg": true,
|
|
9106
|
+
"usr": "s:Sb"
|
|
9107
|
+
},
|
|
9108
|
+
{
|
|
9109
|
+
"kind": "TypeNominal",
|
|
9110
|
+
"name": "Bool",
|
|
9111
|
+
"printedName": "Swift.Bool",
|
|
9112
|
+
"hasDefaultArg": true,
|
|
9113
|
+
"usr": "s:Sb"
|
|
9114
|
+
},
|
|
9094
9115
|
{
|
|
9095
9116
|
"kind": "TypeNominal",
|
|
9096
9117
|
"name": "Optional",
|
|
@@ -9192,8 +9213,8 @@
|
|
|
9192
9213
|
}
|
|
9193
9214
|
],
|
|
9194
9215
|
"declKind": "Constructor",
|
|
9195
|
-
"usr": "s:
|
|
9196
|
-
"mangledName": "$
|
|
9216
|
+
"usr": "s:26FootprintNativeCameraSwift0C11CaptureViewV9startSide04autoE018allowGalleryUpload12documentKind10appearance8language7onError0Q8Complete0Q5CloseACSS_S2bSSSgSo20FNCCaptureAppearanceCAMySS_SStcyycyyctcfc",
|
|
9217
|
+
"mangledName": "$s26FootprintNativeCameraSwift0C11CaptureViewV9startSide04autoE018allowGalleryUpload12documentKind10appearance8language7onError0Q8Complete0Q5CloseACSS_S2bSSSgSo20FNCCaptureAppearanceCAMySS_SStcyycyyctcfc",
|
|
9197
9218
|
"moduleName": "FootprintNativeCameraSwift",
|
|
9198
9219
|
"declAttributes": [
|
|
9199
9220
|
"Preconcurrency",
|
|
@@ -12821,17 +12842,31 @@
|
|
|
12821
12842
|
"length": 1,
|
|
12822
12843
|
"value": "0"
|
|
12823
12844
|
},
|
|
12845
|
+
{
|
|
12846
|
+
"filePath": "\/Users\/runner\/work\/monorepo\/monorepo\/mobile\/packages\/footprint-native-camera-module\/FootprintNativeCameraSwift\/Sources\/FootprintNativeCameraSwift\/ViewModel\/CameraCaptureViewModel.swift",
|
|
12847
|
+
"kind": "BooleanLiteral",
|
|
12848
|
+
"offset": 2152,
|
|
12849
|
+
"length": 5,
|
|
12850
|
+
"value": "false"
|
|
12851
|
+
},
|
|
12852
|
+
{
|
|
12853
|
+
"filePath": "\/Users\/runner\/work\/monorepo\/monorepo\/mobile\/packages\/footprint-native-camera-module\/FootprintNativeCameraSwift\/Sources\/FootprintNativeCameraSwift\/ViewModel\/CameraCaptureViewModel.swift",
|
|
12854
|
+
"kind": "BooleanLiteral",
|
|
12855
|
+
"offset": 2343,
|
|
12856
|
+
"length": 4,
|
|
12857
|
+
"value": "true"
|
|
12858
|
+
},
|
|
12824
12859
|
{
|
|
12825
12860
|
"filePath": "\/Users\/runner\/work\/monorepo\/monorepo\/mobile\/packages\/footprint-native-camera-module\/FootprintNativeCameraSwift\/Sources\/FootprintNativeCameraSwift\/ViewModel\/CameraCaptureViewModel.swift",
|
|
12826
12861
|
"kind": "FloatLiteral",
|
|
12827
|
-
"offset":
|
|
12862
|
+
"offset": 8577,
|
|
12828
12863
|
"length": 4,
|
|
12829
12864
|
"value": "50.0"
|
|
12830
12865
|
},
|
|
12831
12866
|
{
|
|
12832
12867
|
"filePath": "\/Users\/runner\/work\/monorepo\/monorepo\/mobile\/packages\/footprint-native-camera-module\/FootprintNativeCameraSwift\/Sources\/FootprintNativeCameraSwift\/ViewModel\/CameraCaptureViewModel.swift",
|
|
12833
12868
|
"kind": "IntegerLiteral",
|
|
12834
|
-
"offset":
|
|
12869
|
+
"offset": 10417,
|
|
12835
12870
|
"length": 4,
|
|
12836
12871
|
"value": "2000"
|
|
12837
12872
|
},
|
|
@@ -12849,6 +12884,20 @@
|
|
|
12849
12884
|
"length": 1,
|
|
12850
12885
|
"value": "2"
|
|
12851
12886
|
},
|
|
12887
|
+
{
|
|
12888
|
+
"filePath": "\/Users\/runner\/work\/monorepo\/monorepo\/mobile\/packages\/footprint-native-camera-module\/FootprintNativeCameraSwift\/Sources\/FootprintNativeCameraSwift\/Views\/CameraCaptureView.swift",
|
|
12889
|
+
"kind": "BooleanLiteral",
|
|
12890
|
+
"offset": 855,
|
|
12891
|
+
"length": 4,
|
|
12892
|
+
"value": "true"
|
|
12893
|
+
},
|
|
12894
|
+
{
|
|
12895
|
+
"filePath": "\/Users\/runner\/work\/monorepo\/monorepo\/mobile\/packages\/footprint-native-camera-module\/FootprintNativeCameraSwift\/Sources\/FootprintNativeCameraSwift\/Views\/CameraCaptureView.swift",
|
|
12896
|
+
"kind": "BooleanLiteral",
|
|
12897
|
+
"offset": 896,
|
|
12898
|
+
"length": 4,
|
|
12899
|
+
"value": "true"
|
|
12900
|
+
},
|
|
12852
12901
|
{
|
|
12853
12902
|
"filePath": "\/Users\/runner\/work\/monorepo\/monorepo\/mobile\/packages\/footprint-native-camera-module\/FootprintNativeCameraSwift\/Sources\/FootprintNativeCameraSwift\/Views\/CaptureButton.swift",
|
|
12854
12903
|
"kind": "BooleanLiteral",
|
|
@@ -312,7 +312,7 @@ final public class CameraCaptureViewModel : Combine.ObservableObject, @unchecked
|
|
|
312
312
|
final public var shouldRunAutocapture: Swift.Bool {
|
|
313
313
|
get
|
|
314
314
|
}
|
|
315
|
-
public init(startSide: Swift.String, onError: @escaping (Swift.String, Swift.String) -> Swift.Void, onComplete: @escaping () -> Swift.Void)
|
|
315
|
+
public init(startSide: Swift.String, autoCapture: Swift.Bool = true, onError: @escaping (Swift.String, Swift.String) -> Swift.Void, onComplete: @escaping () -> Swift.Void)
|
|
316
316
|
final public func onImageCaptured()
|
|
317
317
|
final public func onProcessing()
|
|
318
318
|
final public func onRetakeImage()
|
|
@@ -342,7 +342,7 @@ final public class CameraCaptureViewModel : Combine.ObservableObject, @unchecked
|
|
|
342
342
|
public typealias Body = @_opaqueReturnTypeOf("$s26FootprintNativeCameraSwift15BoxFrameOverlayV4bodyQrvp", 0) __
|
|
343
343
|
}
|
|
344
344
|
@_Concurrency.MainActor @preconcurrency public struct CameraCaptureView : SwiftUICore.View {
|
|
345
|
-
@_Concurrency.MainActor @preconcurrency public init(startSide: Swift.String, documentKind: Swift.String?, appearance: FootprintNativeCamera.CaptureAppearance, language: Swift.String?, onError: @escaping (Swift.String, Swift.String) -> Swift.Void, onComplete: @escaping () -> Swift.Void, onClose: @escaping () -> Swift.Void)
|
|
345
|
+
@_Concurrency.MainActor @preconcurrency public init(startSide: Swift.String, autoCapture: Swift.Bool = true, allowGalleryUpload: Swift.Bool = true, documentKind: Swift.String?, appearance: FootprintNativeCamera.CaptureAppearance, language: Swift.String?, onError: @escaping (Swift.String, Swift.String) -> Swift.Void, onComplete: @escaping () -> Swift.Void, onClose: @escaping () -> Swift.Void)
|
|
346
346
|
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
347
347
|
get
|
|
348
348
|
}
|
|
@@ -312,7 +312,7 @@ final public class CameraCaptureViewModel : Combine.ObservableObject, @unchecked
|
|
|
312
312
|
final public var shouldRunAutocapture: Swift.Bool {
|
|
313
313
|
get
|
|
314
314
|
}
|
|
315
|
-
public init(startSide: Swift.String, onError: @escaping (Swift.String, Swift.String) -> Swift.Void, onComplete: @escaping () -> Swift.Void)
|
|
315
|
+
public init(startSide: Swift.String, autoCapture: Swift.Bool = true, onError: @escaping (Swift.String, Swift.String) -> Swift.Void, onComplete: @escaping () -> Swift.Void)
|
|
316
316
|
final public func onImageCaptured()
|
|
317
317
|
final public func onProcessing()
|
|
318
318
|
final public func onRetakeImage()
|
|
@@ -342,7 +342,7 @@ final public class CameraCaptureViewModel : Combine.ObservableObject, @unchecked
|
|
|
342
342
|
public typealias Body = @_opaqueReturnTypeOf("$s26FootprintNativeCameraSwift15BoxFrameOverlayV4bodyQrvp", 0) __
|
|
343
343
|
}
|
|
344
344
|
@_Concurrency.MainActor @preconcurrency public struct CameraCaptureView : SwiftUICore.View {
|
|
345
|
-
@_Concurrency.MainActor @preconcurrency public init(startSide: Swift.String, documentKind: Swift.String?, appearance: FootprintNativeCamera.CaptureAppearance, language: Swift.String?, onError: @escaping (Swift.String, Swift.String) -> Swift.Void, onComplete: @escaping () -> Swift.Void, onClose: @escaping () -> Swift.Void)
|
|
345
|
+
@_Concurrency.MainActor @preconcurrency public init(startSide: Swift.String, autoCapture: Swift.Bool = true, allowGalleryUpload: Swift.Bool = true, documentKind: Swift.String?, appearance: FootprintNativeCamera.CaptureAppearance, language: Swift.String?, onError: @escaping (Swift.String, Swift.String) -> Swift.Void, onComplete: @escaping () -> Swift.Void, onClose: @escaping () -> Swift.Void)
|
|
346
346
|
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
347
347
|
get
|
|
348
348
|
}
|
|
@@ -8237,7 +8237,7 @@
|
|
|
8237
8237
|
{
|
|
8238
8238
|
"kind": "Constructor",
|
|
8239
8239
|
"name": "init",
|
|
8240
|
-
"printedName": "init(startSide:onError:onComplete:)",
|
|
8240
|
+
"printedName": "init(startSide:autoCapture:onError:onComplete:)",
|
|
8241
8241
|
"children": [
|
|
8242
8242
|
{
|
|
8243
8243
|
"kind": "TypeNominal",
|
|
@@ -8251,6 +8251,13 @@
|
|
|
8251
8251
|
"printedName": "Swift.String",
|
|
8252
8252
|
"usr": "s:SS"
|
|
8253
8253
|
},
|
|
8254
|
+
{
|
|
8255
|
+
"kind": "TypeNominal",
|
|
8256
|
+
"name": "Bool",
|
|
8257
|
+
"printedName": "Swift.Bool",
|
|
8258
|
+
"hasDefaultArg": true,
|
|
8259
|
+
"usr": "s:Sb"
|
|
8260
|
+
},
|
|
8254
8261
|
{
|
|
8255
8262
|
"kind": "TypeFunc",
|
|
8256
8263
|
"name": "Function",
|
|
@@ -8301,8 +8308,8 @@
|
|
|
8301
8308
|
}
|
|
8302
8309
|
],
|
|
8303
8310
|
"declKind": "Constructor",
|
|
8304
|
-
"usr": "s:
|
|
8305
|
-
"mangledName": "$
|
|
8311
|
+
"usr": "s:26FootprintNativeCameraSwift0C16CaptureViewModelC9startSide04autoE07onError0K8CompleteACSS_SbySS_SStcyyctcfc",
|
|
8312
|
+
"mangledName": "$s26FootprintNativeCameraSwift0C16CaptureViewModelC9startSide04autoE07onError0K8CompleteACSS_SbySS_SStcyyctcfc",
|
|
8306
8313
|
"moduleName": "FootprintNativeCameraSwift",
|
|
8307
8314
|
"declAttributes": [
|
|
8308
8315
|
"AccessControl"
|
|
@@ -9077,7 +9084,7 @@
|
|
|
9077
9084
|
{
|
|
9078
9085
|
"kind": "Constructor",
|
|
9079
9086
|
"name": "init",
|
|
9080
|
-
"printedName": "init(startSide:documentKind:appearance:language:onError:onComplete:onClose:)",
|
|
9087
|
+
"printedName": "init(startSide:autoCapture:allowGalleryUpload:documentKind:appearance:language:onError:onComplete:onClose:)",
|
|
9081
9088
|
"children": [
|
|
9082
9089
|
{
|
|
9083
9090
|
"kind": "TypeNominal",
|
|
@@ -9091,6 +9098,20 @@
|
|
|
9091
9098
|
"printedName": "Swift.String",
|
|
9092
9099
|
"usr": "s:SS"
|
|
9093
9100
|
},
|
|
9101
|
+
{
|
|
9102
|
+
"kind": "TypeNominal",
|
|
9103
|
+
"name": "Bool",
|
|
9104
|
+
"printedName": "Swift.Bool",
|
|
9105
|
+
"hasDefaultArg": true,
|
|
9106
|
+
"usr": "s:Sb"
|
|
9107
|
+
},
|
|
9108
|
+
{
|
|
9109
|
+
"kind": "TypeNominal",
|
|
9110
|
+
"name": "Bool",
|
|
9111
|
+
"printedName": "Swift.Bool",
|
|
9112
|
+
"hasDefaultArg": true,
|
|
9113
|
+
"usr": "s:Sb"
|
|
9114
|
+
},
|
|
9094
9115
|
{
|
|
9095
9116
|
"kind": "TypeNominal",
|
|
9096
9117
|
"name": "Optional",
|
|
@@ -9192,8 +9213,8 @@
|
|
|
9192
9213
|
}
|
|
9193
9214
|
],
|
|
9194
9215
|
"declKind": "Constructor",
|
|
9195
|
-
"usr": "s:
|
|
9196
|
-
"mangledName": "$
|
|
9216
|
+
"usr": "s:26FootprintNativeCameraSwift0C11CaptureViewV9startSide04autoE018allowGalleryUpload12documentKind10appearance8language7onError0Q8Complete0Q5CloseACSS_S2bSSSgSo20FNCCaptureAppearanceCAMySS_SStcyycyyctcfc",
|
|
9217
|
+
"mangledName": "$s26FootprintNativeCameraSwift0C11CaptureViewV9startSide04autoE018allowGalleryUpload12documentKind10appearance8language7onError0Q8Complete0Q5CloseACSS_S2bSSSgSo20FNCCaptureAppearanceCAMySS_SStcyycyyctcfc",
|
|
9197
9218
|
"moduleName": "FootprintNativeCameraSwift",
|
|
9198
9219
|
"declAttributes": [
|
|
9199
9220
|
"Preconcurrency",
|
|
@@ -12821,17 +12842,31 @@
|
|
|
12821
12842
|
"length": 1,
|
|
12822
12843
|
"value": "0"
|
|
12823
12844
|
},
|
|
12845
|
+
{
|
|
12846
|
+
"filePath": "\/Users\/runner\/work\/monorepo\/monorepo\/mobile\/packages\/footprint-native-camera-module\/FootprintNativeCameraSwift\/Sources\/FootprintNativeCameraSwift\/ViewModel\/CameraCaptureViewModel.swift",
|
|
12847
|
+
"kind": "BooleanLiteral",
|
|
12848
|
+
"offset": 2152,
|
|
12849
|
+
"length": 5,
|
|
12850
|
+
"value": "false"
|
|
12851
|
+
},
|
|
12852
|
+
{
|
|
12853
|
+
"filePath": "\/Users\/runner\/work\/monorepo\/monorepo\/mobile\/packages\/footprint-native-camera-module\/FootprintNativeCameraSwift\/Sources\/FootprintNativeCameraSwift\/ViewModel\/CameraCaptureViewModel.swift",
|
|
12854
|
+
"kind": "BooleanLiteral",
|
|
12855
|
+
"offset": 2343,
|
|
12856
|
+
"length": 4,
|
|
12857
|
+
"value": "true"
|
|
12858
|
+
},
|
|
12824
12859
|
{
|
|
12825
12860
|
"filePath": "\/Users\/runner\/work\/monorepo\/monorepo\/mobile\/packages\/footprint-native-camera-module\/FootprintNativeCameraSwift\/Sources\/FootprintNativeCameraSwift\/ViewModel\/CameraCaptureViewModel.swift",
|
|
12826
12861
|
"kind": "FloatLiteral",
|
|
12827
|
-
"offset":
|
|
12862
|
+
"offset": 8577,
|
|
12828
12863
|
"length": 4,
|
|
12829
12864
|
"value": "50.0"
|
|
12830
12865
|
},
|
|
12831
12866
|
{
|
|
12832
12867
|
"filePath": "\/Users\/runner\/work\/monorepo\/monorepo\/mobile\/packages\/footprint-native-camera-module\/FootprintNativeCameraSwift\/Sources\/FootprintNativeCameraSwift\/ViewModel\/CameraCaptureViewModel.swift",
|
|
12833
12868
|
"kind": "IntegerLiteral",
|
|
12834
|
-
"offset":
|
|
12869
|
+
"offset": 10417,
|
|
12835
12870
|
"length": 4,
|
|
12836
12871
|
"value": "2000"
|
|
12837
12872
|
},
|
|
@@ -12849,6 +12884,20 @@
|
|
|
12849
12884
|
"length": 1,
|
|
12850
12885
|
"value": "2"
|
|
12851
12886
|
},
|
|
12887
|
+
{
|
|
12888
|
+
"filePath": "\/Users\/runner\/work\/monorepo\/monorepo\/mobile\/packages\/footprint-native-camera-module\/FootprintNativeCameraSwift\/Sources\/FootprintNativeCameraSwift\/Views\/CameraCaptureView.swift",
|
|
12889
|
+
"kind": "BooleanLiteral",
|
|
12890
|
+
"offset": 855,
|
|
12891
|
+
"length": 4,
|
|
12892
|
+
"value": "true"
|
|
12893
|
+
},
|
|
12894
|
+
{
|
|
12895
|
+
"filePath": "\/Users\/runner\/work\/monorepo\/monorepo\/mobile\/packages\/footprint-native-camera-module\/FootprintNativeCameraSwift\/Sources\/FootprintNativeCameraSwift\/Views\/CameraCaptureView.swift",
|
|
12896
|
+
"kind": "BooleanLiteral",
|
|
12897
|
+
"offset": 896,
|
|
12898
|
+
"length": 4,
|
|
12899
|
+
"value": "true"
|
|
12900
|
+
},
|
|
12852
12901
|
{
|
|
12853
12902
|
"filePath": "\/Users\/runner\/work\/monorepo\/monorepo\/mobile\/packages\/footprint-native-camera-module\/FootprintNativeCameraSwift\/Sources\/FootprintNativeCameraSwift\/Views\/CaptureButton.swift",
|
|
12854
12903
|
"kind": "BooleanLiteral",
|
|
@@ -312,7 +312,7 @@ final public class CameraCaptureViewModel : Combine.ObservableObject, @unchecked
|
|
|
312
312
|
final public var shouldRunAutocapture: Swift.Bool {
|
|
313
313
|
get
|
|
314
314
|
}
|
|
315
|
-
public init(startSide: Swift.String, onError: @escaping (Swift.String, Swift.String) -> Swift.Void, onComplete: @escaping () -> Swift.Void)
|
|
315
|
+
public init(startSide: Swift.String, autoCapture: Swift.Bool = true, onError: @escaping (Swift.String, Swift.String) -> Swift.Void, onComplete: @escaping () -> Swift.Void)
|
|
316
316
|
final public func onImageCaptured()
|
|
317
317
|
final public func onProcessing()
|
|
318
318
|
final public func onRetakeImage()
|
|
@@ -342,7 +342,7 @@ final public class CameraCaptureViewModel : Combine.ObservableObject, @unchecked
|
|
|
342
342
|
public typealias Body = @_opaqueReturnTypeOf("$s26FootprintNativeCameraSwift15BoxFrameOverlayV4bodyQrvp", 0) __
|
|
343
343
|
}
|
|
344
344
|
@_Concurrency.MainActor @preconcurrency public struct CameraCaptureView : SwiftUICore.View {
|
|
345
|
-
@_Concurrency.MainActor @preconcurrency public init(startSide: Swift.String, documentKind: Swift.String?, appearance: FootprintNativeCamera.CaptureAppearance, language: Swift.String?, onError: @escaping (Swift.String, Swift.String) -> Swift.Void, onComplete: @escaping () -> Swift.Void, onClose: @escaping () -> Swift.Void)
|
|
345
|
+
@_Concurrency.MainActor @preconcurrency public init(startSide: Swift.String, autoCapture: Swift.Bool = true, allowGalleryUpload: Swift.Bool = true, documentKind: Swift.String?, appearance: FootprintNativeCamera.CaptureAppearance, language: Swift.String?, onError: @escaping (Swift.String, Swift.String) -> Swift.Void, onComplete: @escaping () -> Swift.Void, onClose: @escaping () -> Swift.Void)
|
|
346
346
|
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
347
347
|
get
|
|
348
348
|
}
|
|
@@ -312,7 +312,7 @@ final public class CameraCaptureViewModel : Combine.ObservableObject, @unchecked
|
|
|
312
312
|
final public var shouldRunAutocapture: Swift.Bool {
|
|
313
313
|
get
|
|
314
314
|
}
|
|
315
|
-
public init(startSide: Swift.String, onError: @escaping (Swift.String, Swift.String) -> Swift.Void, onComplete: @escaping () -> Swift.Void)
|
|
315
|
+
public init(startSide: Swift.String, autoCapture: Swift.Bool = true, onError: @escaping (Swift.String, Swift.String) -> Swift.Void, onComplete: @escaping () -> Swift.Void)
|
|
316
316
|
final public func onImageCaptured()
|
|
317
317
|
final public func onProcessing()
|
|
318
318
|
final public func onRetakeImage()
|
|
@@ -342,7 +342,7 @@ final public class CameraCaptureViewModel : Combine.ObservableObject, @unchecked
|
|
|
342
342
|
public typealias Body = @_opaqueReturnTypeOf("$s26FootprintNativeCameraSwift15BoxFrameOverlayV4bodyQrvp", 0) __
|
|
343
343
|
}
|
|
344
344
|
@_Concurrency.MainActor @preconcurrency public struct CameraCaptureView : SwiftUICore.View {
|
|
345
|
-
@_Concurrency.MainActor @preconcurrency public init(startSide: Swift.String, documentKind: Swift.String?, appearance: FootprintNativeCamera.CaptureAppearance, language: Swift.String?, onError: @escaping (Swift.String, Swift.String) -> Swift.Void, onComplete: @escaping () -> Swift.Void, onClose: @escaping () -> Swift.Void)
|
|
345
|
+
@_Concurrency.MainActor @preconcurrency public init(startSide: Swift.String, autoCapture: Swift.Bool = true, allowGalleryUpload: Swift.Bool = true, documentKind: Swift.String?, appearance: FootprintNativeCamera.CaptureAppearance, language: Swift.String?, onError: @escaping (Swift.String, Swift.String) -> Swift.Void, onComplete: @escaping () -> Swift.Void, onClose: @escaping () -> Swift.Void)
|
|
346
346
|
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
347
347
|
get
|
|
348
348
|
}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onefootprint/footprint-native-camera-module",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Native KMM camera module: detection, autocapture, and document capture UI for iOS + Android. Consumed by @onefootprint/footprint-expo-camera-module (the Expo bridge) and by HandoffSharedLogic.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|