@transfergratis/react-native-sdk 0.1.2
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/README.md +539 -0
- package/android/.gradle/8.9/checksums/checksums.lock +0 -0
- package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
- package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.9/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/config.properties +2 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/.idea/gradle.xml +14 -0
- package/android/.idea/migrations.xml +10 -0
- package/android/.idea/misc.xml +9 -0
- package/android/.idea/runConfigurations.xml +17 -0
- package/android/.idea/vcs.xml +6 -0
- package/android/build/.transforms/7ec900c0f64f5f1a7c88998dd44001b8/results.bin +1 -0
- package/android/build/.transforms/7ec900c0f64f5f1a7c88998dd44001b8/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/results.bin +1 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/BuildConfig.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$1$5$1.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$1$5$2.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$1.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$2.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$3.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$4.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$5.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$6.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$1.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$2.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$3.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$4.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$View$1.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$lambda$4$$inlined$Prop$1.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$lambda$4$$inlined$Prop$2.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkView.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/generated/source/buildConfig/debug/kyc/transfergratis/com/BuildConfig.java +10 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +35 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
- package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
- package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +1 -0
- package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/xml_file_paths.xml.flat +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +2 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
- package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
- package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/transfergratis-sdk_debug.kotlin_module +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/kyc/transfergratis/com/BuildConfig.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +3 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +58 -0
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +35 -0
- package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
- package/android/build/intermediates/packaged_res/debug/packageDebugResources/xml/file_paths.xml +15 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/transfergratis-sdk_debug.kotlin_module +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/BuildConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$1$5$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$1$5$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$3.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$4.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$5.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$6.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$3.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$4.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$View$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$lambda$4$$inlined$Prop$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$lambda$4$$inlined$Prop$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkView.class +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +2 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +63 -0
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/transfergratis-sdk_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$1$5$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$1$5$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$3.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$4.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$5.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$6.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$3.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$4.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$View$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$lambda$4$$inlined$Prop$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$lambda$4$$inlined$Prop$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkView.class +0 -0
- package/android/build.gradle +47 -0
- package/android/local.properties +8 -0
- package/android/src/main/AndroidManifest.xml +28 -0
- package/android/src/main/java/kyc/transfergratis/com/TransfergratisSdkModule.kt +131 -0
- package/android/src/main/java/kyc/transfergratis/com/TransfergratisSdkView.kt +161 -0
- package/android/src/main/res/xml/file_paths.xml +15 -0
- package/build/App.d.ts +3 -0
- package/build/App.d.ts.map +1 -0
- package/build/App.js +9 -0
- package/build/App.js.map +1 -0
- package/build/TransfergratisSdk.types.d.ts +32 -0
- package/build/TransfergratisSdk.types.d.ts.map +1 -0
- package/build/TransfergratisSdk.types.js +2 -0
- package/build/TransfergratisSdk.types.js.map +1 -0
- package/build/TransfergratisSdkModule.d.ts +21 -0
- package/build/TransfergratisSdkModule.d.ts.map +1 -0
- package/build/TransfergratisSdkModule.js +4 -0
- package/build/TransfergratisSdkModule.js.map +1 -0
- package/build/TransfergratisSdkModule.web.d.ts +20 -0
- package/build/TransfergratisSdkModule.web.d.ts.map +1 -0
- package/build/TransfergratisSdkModule.web.js +25 -0
- package/build/TransfergratisSdkModule.web.js.map +1 -0
- package/build/TransfergratisSdkView.d.ts +4 -0
- package/build/TransfergratisSdkView.d.ts.map +1 -0
- package/build/TransfergratisSdkView.js +7 -0
- package/build/TransfergratisSdkView.js.map +1 -0
- package/build/TransfergratisSdkView.web.d.ts +4 -0
- package/build/TransfergratisSdkView.web.d.ts.map +1 -0
- package/build/TransfergratisSdkView.web.js +11 -0
- package/build/TransfergratisSdkView.web.js.map +1 -0
- package/build/components/Camera/index.d.ts +2 -0
- package/build/components/Camera/index.d.ts.map +1 -0
- package/build/components/Camera/index.js +2 -0
- package/build/components/Camera/index.js.map +1 -0
- package/build/components/Camera/index.web.d.ts +2 -0
- package/build/components/Camera/index.web.d.ts.map +1 -0
- package/build/components/Camera/index.web.js +2 -0
- package/build/components/Camera/index.web.js.map +1 -0
- package/build/components/Camera/types.d.ts +2 -0
- package/build/components/Camera/types.d.ts.map +1 -0
- package/build/components/Camera/types.js +2 -0
- package/build/components/Camera/types.js.map +1 -0
- package/build/components/ConfigurableKYCFlow.d.ts +11 -0
- package/build/components/ConfigurableKYCFlow.d.ts.map +1 -0
- package/build/components/ConfigurableKYCFlow.js +257 -0
- package/build/components/ConfigurableKYCFlow.js.map +1 -0
- package/build/components/CustomCameraExample.d.ts +10 -0
- package/build/components/CustomCameraExample.d.ts.map +1 -0
- package/build/components/CustomCameraExample.js +232 -0
- package/build/components/CustomCameraExample.js.map +1 -0
- package/build/components/EnhancedCameraView.d.ts +44 -0
- package/build/components/EnhancedCameraView.d.ts.map +1 -0
- package/build/components/EnhancedCameraView.js +316 -0
- package/build/components/EnhancedCameraView.js.map +1 -0
- package/build/components/EnhancedCameraView.web.d.ts +44 -0
- package/build/components/EnhancedCameraView.web.d.ts.map +1 -0
- package/build/components/EnhancedCameraView.web.js +399 -0
- package/build/components/EnhancedCameraView.web.js.map +1 -0
- package/build/components/FileUpload.d.ts +13 -0
- package/build/components/FileUpload.d.ts.map +1 -0
- package/build/components/FileUpload.js +216 -0
- package/build/components/FileUpload.js.map +1 -0
- package/build/components/KYCElementRenderer.d.ts +14 -0
- package/build/components/KYCElementRenderer.d.ts.map +1 -0
- package/build/components/KYCElementRenderer.js +31 -0
- package/build/components/KYCElementRenderer.js.map +1 -0
- package/build/components/KYCElements/CameraCapture.d.ts +11 -0
- package/build/components/KYCElements/CameraCapture.d.ts.map +1 -0
- package/build/components/KYCElements/CameraCapture.js +218 -0
- package/build/components/KYCElements/CameraCapture.js.map +1 -0
- package/build/components/KYCElements/CompletionStep.d.ts +10 -0
- package/build/components/KYCElements/CompletionStep.d.ts.map +1 -0
- package/build/components/KYCElements/CompletionStep.js +147 -0
- package/build/components/KYCElements/CompletionStep.js.map +1 -0
- package/build/components/KYCElements/CountrySelection.d.ts +11 -0
- package/build/components/KYCElements/CountrySelection.d.ts.map +1 -0
- package/build/components/KYCElements/CountrySelection.js +147 -0
- package/build/components/KYCElements/CountrySelection.js.map +1 -0
- package/build/components/KYCElements/CountrySelectionTemplate.d.ts +12 -0
- package/build/components/KYCElements/CountrySelectionTemplate.d.ts.map +1 -0
- package/build/components/KYCElements/CountrySelectionTemplate.js +245 -0
- package/build/components/KYCElements/CountrySelectionTemplate.js.map +1 -0
- package/build/components/KYCElements/DocumentTypeSelection.d.ts +11 -0
- package/build/components/KYCElements/DocumentTypeSelection.d.ts.map +1 -0
- package/build/components/KYCElements/DocumentTypeSelection.js +143 -0
- package/build/components/KYCElements/DocumentTypeSelection.js.map +1 -0
- package/build/components/KYCElements/FileUpload.d.ts +11 -0
- package/build/components/KYCElements/FileUpload.d.ts.map +1 -0
- package/build/components/KYCElements/FileUpload.js +267 -0
- package/build/components/KYCElements/FileUpload.js.map +1 -0
- package/build/components/KYCElements/FileUploadTemplate.d.ts +12 -0
- package/build/components/KYCElements/FileUploadTemplate.d.ts.map +1 -0
- package/build/components/KYCElements/FileUploadTemplate.js +326 -0
- package/build/components/KYCElements/FileUploadTemplate.js.map +1 -0
- package/build/components/KYCElements/IDCardCapture.d.ts +13 -0
- package/build/components/KYCElements/IDCardCapture.d.ts.map +1 -0
- package/build/components/KYCElements/IDCardCapture.js +421 -0
- package/build/components/KYCElements/IDCardCapture.js.map +1 -0
- package/build/components/KYCElements/LocationCaptureTemplate.d.ts +20 -0
- package/build/components/KYCElements/LocationCaptureTemplate.d.ts.map +1 -0
- package/build/components/KYCElements/LocationCaptureTemplate.js +275 -0
- package/build/components/KYCElements/LocationCaptureTemplate.js.map +1 -0
- package/build/components/KYCElements/OrientationVideoCapture.d.ts +12 -0
- package/build/components/KYCElements/OrientationVideoCapture.d.ts.map +1 -0
- package/build/components/KYCElements/OrientationVideoCapture.js +533 -0
- package/build/components/KYCElements/OrientationVideoCapture.js.map +1 -0
- package/build/components/KYCElements/OrientationVideoCaptureEnhanced.d.ts +12 -0
- package/build/components/KYCElements/OrientationVideoCaptureEnhanced.d.ts.map +1 -0
- package/build/components/KYCElements/OrientationVideoCaptureEnhanced.js +503 -0
- package/build/components/KYCElements/OrientationVideoCaptureEnhanced.js.map +1 -0
- package/build/components/KYCElements/OrientationVideoCaptureFinal.d.ts +12 -0
- package/build/components/KYCElements/OrientationVideoCaptureFinal.d.ts.map +1 -0
- package/build/components/KYCElements/OrientationVideoCaptureFinal.js +429 -0
- package/build/components/KYCElements/OrientationVideoCaptureFinal.js.map +1 -0
- package/build/components/KYCElements/SelfieCapture.d.ts +11 -0
- package/build/components/KYCElements/SelfieCapture.d.ts.map +1 -0
- package/build/components/KYCElements/SelfieCapture.js +235 -0
- package/build/components/KYCElements/SelfieCapture.js.map +1 -0
- package/build/components/KYCElements/SelfieCaptureTemplate.d.ts +12 -0
- package/build/components/KYCElements/SelfieCaptureTemplate.d.ts.map +1 -0
- package/build/components/KYCElements/SelfieCaptureTemplate.js +321 -0
- package/build/components/KYCElements/SelfieCaptureTemplate.js.map +1 -0
- package/build/components/KYCElements/VerificationStep.d.ts +10 -0
- package/build/components/KYCElements/VerificationStep.d.ts.map +1 -0
- package/build/components/KYCElements/VerificationStep.js +199 -0
- package/build/components/KYCElements/VerificationStep.js.map +1 -0
- package/build/components/KYCExample.d.ts +3 -0
- package/build/components/KYCExample.d.ts.map +1 -0
- package/build/components/KYCExample.js +247 -0
- package/build/components/KYCExample.js.map +1 -0
- package/build/components/KYCFlow.d.ts +3 -0
- package/build/components/KYCFlow.d.ts.map +1 -0
- package/build/components/KYCFlow.js +308 -0
- package/build/components/KYCFlow.js.map +1 -0
- package/build/components/NativeCameraView.d.ts +11 -0
- package/build/components/NativeCameraView.d.ts.map +1 -0
- package/build/components/NativeCameraView.js +27 -0
- package/build/components/NativeCameraView.js.map +1 -0
- package/build/components/OverLay/IdCard.d.ts +4 -0
- package/build/components/OverLay/IdCard.d.ts.map +1 -0
- package/build/components/OverLay/IdCard.js +181 -0
- package/build/components/OverLay/IdCard.js.map +1 -0
- package/build/components/OverLay/SelfieOverlay.d.ts +4 -0
- package/build/components/OverLay/SelfieOverlay.d.ts.map +1 -0
- package/build/components/OverLay/SelfieOverlay.js +168 -0
- package/build/components/OverLay/SelfieOverlay.js.map +1 -0
- package/build/components/OverLay/StepOverlay.d.ts +9 -0
- package/build/components/OverLay/StepOverlay.d.ts.map +1 -0
- package/build/components/OverLay/StepOverlay.js +51 -0
- package/build/components/OverLay/StepOverlay.js.map +1 -0
- package/build/components/OverLay/type.d.ts +21 -0
- package/build/components/OverLay/type.d.ts.map +1 -0
- package/build/components/OverLay/type.js +2 -0
- package/build/components/OverLay/type.js.map +1 -0
- package/build/components/ProgressIndicator.d.ts +8 -0
- package/build/components/ProgressIndicator.d.ts.map +1 -0
- package/build/components/ProgressIndicator.js +48 -0
- package/build/components/ProgressIndicator.js.map +1 -0
- package/build/components/SelfieCapture.d.ts +3 -0
- package/build/components/SelfieCapture.d.ts.map +1 -0
- package/build/components/SelfieCapture.js +197 -0
- package/build/components/SelfieCapture.js.map +1 -0
- package/build/components/SimpleExample.d.ts +3 -0
- package/build/components/SimpleExample.d.ts.map +1 -0
- package/build/components/SimpleExample.js +89 -0
- package/build/components/SimpleExample.js.map +1 -0
- package/build/components/Svgs/GpsIcon.d.ts +3 -0
- package/build/components/Svgs/GpsIcon.d.ts.map +1 -0
- package/build/components/Svgs/GpsIcon.js +9 -0
- package/build/components/Svgs/GpsIcon.js.map +1 -0
- package/build/components/Svgs/Schield.d.ts +3 -0
- package/build/components/Svgs/Schield.d.ts.map +1 -0
- package/build/components/Svgs/Schield.js +22 -0
- package/build/components/Svgs/Schield.js.map +1 -0
- package/build/components/Svgs/frontSelfieIcon.d.ts +3 -0
- package/build/components/Svgs/frontSelfieIcon.d.ts.map +1 -0
- package/build/components/Svgs/frontSelfieIcon.js +11 -0
- package/build/components/Svgs/frontSelfieIcon.js.map +1 -0
- package/build/components/Svgs/scanningLine.d.ts +9 -0
- package/build/components/Svgs/scanningLine.d.ts.map +1 -0
- package/build/components/Svgs/scanningLine.js +61 -0
- package/build/components/Svgs/scanningLine.js.map +1 -0
- package/build/components/Svgs/sideSelfieIcon.d.ts +3 -0
- package/build/components/Svgs/sideSelfieIcon.d.ts.map +1 -0
- package/build/components/Svgs/sideSelfieIcon.js +9 -0
- package/build/components/Svgs/sideSelfieIcon.js.map +1 -0
- package/build/components/TemplateKYCExample.d.ts +7 -0
- package/build/components/TemplateKYCExample.d.ts.map +1 -0
- package/build/components/TemplateKYCExample.js +433 -0
- package/build/components/TemplateKYCExample.js.map +1 -0
- package/build/components/TemplateKYCFlowRefactored.d.ts +12 -0
- package/build/components/TemplateKYCFlowRefactored.d.ts.map +1 -0
- package/build/components/TemplateKYCFlowRefactored.js +210 -0
- package/build/components/TemplateKYCFlowRefactored.js.map +1 -0
- package/build/components/VisionCameraView.d.ts +22 -0
- package/build/components/VisionCameraView.d.ts.map +1 -0
- package/build/components/VisionCameraView.js +142 -0
- package/build/components/VisionCameraView.js.map +1 -0
- package/build/components/example/CameraCaptureEx.d.ts +4 -0
- package/build/components/example/CameraCaptureEx.d.ts.map +1 -0
- package/build/components/example/CameraCaptureEx.js +219 -0
- package/build/components/example/CameraCaptureEx.js.map +1 -0
- package/build/components/example/CameraCaptureExAdvanced.d.ts +3 -0
- package/build/components/example/CameraCaptureExAdvanced.d.ts.map +1 -0
- package/build/components/example/CameraCaptureExAdvanced.js +229 -0
- package/build/components/example/CameraCaptureExAdvanced.js.map +1 -0
- package/build/components/example/CameraCaptureExScan.d.ts +3 -0
- package/build/components/example/CameraCaptureExScan.d.ts.map +1 -0
- package/build/components/example/CameraCaptureExScan.js +213 -0
- package/build/components/example/CameraCaptureExScan.js.map +1 -0
- package/build/components/example/CameraCaptureExSimple.d.ts +3 -0
- package/build/components/example/CameraCaptureExSimple.d.ts.map +1 -0
- package/build/components/example/CameraCaptureExSimple.js +138 -0
- package/build/components/example/CameraCaptureExSimple.js.map +1 -0
- package/build/components/example/OrientationVideoExample.d.ts +4 -0
- package/build/components/example/OrientationVideoExample.d.ts.map +1 -0
- package/build/components/example/OrientationVideoExample.js +329 -0
- package/build/components/example/OrientationVideoExample.js.map +1 -0
- package/build/components/example/SelfieCaptureEx.d.ts +4 -0
- package/build/components/example/SelfieCaptureEx.d.ts.map +1 -0
- package/build/components/example/SelfieCaptureEx.js +238 -0
- package/build/components/example/SelfieCaptureEx.js.map +1 -0
- package/build/components/ui/Button.d.ts +37 -0
- package/build/components/ui/Button.d.ts.map +1 -0
- package/build/components/ui/Button.js +194 -0
- package/build/components/ui/Button.js.map +1 -0
- package/build/components/ui/ButtonExample.d.ts +4 -0
- package/build/components/ui/ButtonExample.d.ts.map +1 -0
- package/build/components/ui/ButtonExample.js +209 -0
- package/build/components/ui/ButtonExample.js.map +1 -0
- package/build/components/ui/ButtonStyles.d.ts +521 -0
- package/build/components/ui/ButtonStyles.d.ts.map +1 -0
- package/build/components/ui/ButtonStyles.js +429 -0
- package/build/components/ui/ButtonStyles.js.map +1 -0
- package/build/config/KYCConfigs.d.ts +7 -0
- package/build/config/KYCConfigs.d.ts.map +1 -0
- package/build/config/KYCConfigs.js +516 -0
- package/build/config/KYCConfigs.js.map +1 -0
- package/build/hooks/useKYC.d.ts +15 -0
- package/build/hooks/useKYC.d.ts.map +1 -0
- package/build/hooks/useKYC.js +103 -0
- package/build/hooks/useKYC.js.map +1 -0
- package/build/hooks/useKYCFlow.d.ts +3 -0
- package/build/hooks/useKYCFlow.d.ts.map +1 -0
- package/build/hooks/useKYCFlow.js +221 -0
- package/build/hooks/useKYCFlow.js.map +1 -0
- package/build/hooks/useLocation.d.ts +32 -0
- package/build/hooks/useLocation.d.ts.map +1 -0
- package/build/hooks/useLocation.js +165 -0
- package/build/hooks/useLocation.js.map +1 -0
- package/build/hooks/useOrientationVideo.d.ts +10 -0
- package/build/hooks/useOrientationVideo.d.ts.map +1 -0
- package/build/hooks/useOrientationVideo.js +117 -0
- package/build/hooks/useOrientationVideo.js.map +1 -0
- package/build/hooks/useTemplateKYCFlow.d.ts +28 -0
- package/build/hooks/useTemplateKYCFlow.d.ts.map +1 -0
- package/build/hooks/useTemplateKYCFlow.js +221 -0
- package/build/hooks/useTemplateKYCFlow.js.map +1 -0
- package/build/index.d.ts +34 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +45 -0
- package/build/index.js.map +1 -0
- package/build/modules/api/KYCService.d.ts +35 -0
- package/build/modules/api/KYCService.d.ts.map +1 -0
- package/build/modules/api/KYCService.js +119 -0
- package/build/modules/api/KYCService.js.map +1 -0
- package/build/modules/camera/NativeCameraModule.d.ts +52 -0
- package/build/modules/camera/NativeCameraModule.d.ts.map +1 -0
- package/build/modules/camera/NativeCameraModule.js +149 -0
- package/build/modules/camera/NativeCameraModule.js.map +1 -0
- package/build/modules/camera/UnifiedCameraModule.d.ts +70 -0
- package/build/modules/camera/UnifiedCameraModule.d.ts.map +1 -0
- package/build/modules/camera/UnifiedCameraModule.js +125 -0
- package/build/modules/camera/UnifiedCameraModule.js.map +1 -0
- package/build/modules/camera/VisionCameraModule.d.ts +62 -0
- package/build/modules/camera/VisionCameraModule.d.ts.map +1 -0
- package/build/modules/camera/VisionCameraModule.js +198 -0
- package/build/modules/camera/VisionCameraModule.js.map +1 -0
- package/build/modules/camera/VisionCameraModule.web.d.ts +145 -0
- package/build/modules/camera/VisionCameraModule.web.d.ts.map +1 -0
- package/build/modules/camera/VisionCameraModule.web.js +570 -0
- package/build/modules/camera/VisionCameraModule.web.js.map +1 -0
- package/build/modules/camera/index.d.ts +5 -0
- package/build/modules/camera/index.d.ts.map +1 -0
- package/build/modules/camera/index.js +4 -0
- package/build/modules/camera/index.js.map +1 -0
- package/build/stores/kycStore.d.ts +55 -0
- package/build/stores/kycStore.d.ts.map +1 -0
- package/build/stores/kycStore.js +98 -0
- package/build/stores/kycStore.js.map +1 -0
- package/build/types/KYC.types.d.ts +326 -0
- package/build/types/KYC.types.d.ts.map +1 -0
- package/build/types/KYC.types.js +2 -0
- package/build/types/KYC.types.js.map +1 -0
- package/expo-module.config.json +9 -0
- package/ios/TransfergratisSdk.podspec +31 -0
- package/ios/TransfergratisSdkModule.swift +409 -0
- package/package.json +67 -0
- package/plugin/build/index.d.ts +4 -0
- package/plugin/build/index.js +10 -0
- package/plugin/build/withLocation.d.ts +9 -0
- package/plugin/build/withLocation.js +77 -0
- package/plugin/build/withVisionCamera.d.ts +8 -0
- package/plugin/build/withVisionCamera.js +69 -0
- package/plugin/src/index.ts +4 -0
- package/plugin/src/withLocation.ts +109 -0
- package/plugin/src/withVisionCamera.js +89 -0
- package/plugin/src/withVisionCamera.ts +98 -0
- package/plugin/tsconfig.json +17 -0
- package/plugin/tsconfig.tsbuildinfo +1 -0
- package/plugin.js +14 -0
- package/src/App.tsx +9 -0
- package/src/TransfergratisSdk.types.ts +30 -0
- package/src/TransfergratisSdkModule.ts +16 -0
- package/src/TransfergratisSdkModule.web.ts +31 -0
- package/src/TransfergratisSdkView.tsx +11 -0
- package/src/TransfergratisSdkView.web.tsx +15 -0
- package/src/components/Camera/index.tsx +0 -0
- package/src/components/Camera/index.web.tsx +0 -0
- package/src/components/Camera/types.ts +0 -0
- package/src/components/ConfigurableKYCFlow.tsx +334 -0
- package/src/components/CustomCameraExample.tsx +274 -0
- package/src/components/EnhancedCameraView.tsx +421 -0
- package/src/components/EnhancedCameraView.web.tsx +517 -0
- package/src/components/FileUpload.tsx +249 -0
- package/src/components/KYCElementRenderer.tsx +106 -0
- package/src/components/KYCElements/CameraCapture.tsx +267 -0
- package/src/components/KYCElements/CompletionStep.tsx +161 -0
- package/src/components/KYCElements/CountrySelection.tsx +177 -0
- package/src/components/KYCElements/CountrySelectionTemplate.tsx +282 -0
- package/src/components/KYCElements/DocumentTypeSelection.tsx +173 -0
- package/src/components/KYCElements/FileUpload.tsx +317 -0
- package/src/components/KYCElements/FileUploadTemplate.tsx +388 -0
- package/src/components/KYCElements/IDCardCapture.tsx +519 -0
- package/src/components/KYCElements/LocationCaptureTemplate.tsx +325 -0
- package/src/components/KYCElements/OrientationVideoCapture.tsx +646 -0
- package/src/components/KYCElements/OrientationVideoCaptureEnhanced.tsx +613 -0
- package/src/components/KYCElements/OrientationVideoCaptureFinal.tsx +531 -0
- package/src/components/KYCElements/SelfieCapture.tsx +283 -0
- package/src/components/KYCElements/SelfieCaptureTemplate.tsx +388 -0
- package/src/components/KYCElements/VerificationStep.tsx +234 -0
- package/src/components/KYCExample.tsx +297 -0
- package/src/components/KYCFlow.tsx +377 -0
- package/src/components/NativeCameraView.tsx +47 -0
- package/src/components/OverLay/IdCard.tsx +269 -0
- package/src/components/OverLay/SelfieOverlay.tsx +210 -0
- package/src/components/OverLay/StepOverlay.tsx +62 -0
- package/src/components/OverLay/type.ts +21 -0
- package/src/components/ProgressIndicator.tsx +62 -0
- package/src/components/SelfieCapture.tsx +244 -0
- package/src/components/SimpleExample.tsx +92 -0
- package/src/components/Svgs/GpsIcon.tsx +12 -0
- package/src/components/Svgs/Schield.tsx +26 -0
- package/src/components/Svgs/directionArrow.gif +0 -0
- package/src/components/Svgs/frontSelfieIcon.tsx +13 -0
- package/src/components/Svgs/scanningLine.tsx +88 -0
- package/src/components/Svgs/sideSelfieIcon.tsx +10 -0
- package/src/components/TemplateKYCExample.tsx +447 -0
- package/src/components/TemplateKYCFlowRefactored.tsx +263 -0
- package/src/components/VisionCameraView.tsx +197 -0
- package/src/components/example/CameraCaptureEx.tsx +335 -0
- package/src/components/example/CameraCaptureExAdvanced.tsx +357 -0
- package/src/components/example/CameraCaptureExScan.tsx +336 -0
- package/src/components/example/CameraCaptureExSimple.tsx +215 -0
- package/src/components/example/OrientationVideoExample.tsx +384 -0
- package/src/components/example/SelfieCaptureEx.tsx +358 -0
- package/src/components/ui/Button.tsx +328 -0
- package/src/components/ui/ButtonExample.tsx +318 -0
- package/src/components/ui/ButtonStyles.ts +465 -0
- package/src/config/KYCConfigs.ts +528 -0
- package/src/hooks/useKYC.ts +131 -0
- package/src/hooks/useKYCFlow.ts +248 -0
- package/src/hooks/useLocation.ts +221 -0
- package/src/hooks/useOrientationVideo.ts +148 -0
- package/src/hooks/useTemplateKYCFlow.tsx +292 -0
- package/src/index.ts +72 -0
- package/src/modules/api/KYCService.ts +171 -0
- package/src/modules/camera/NativeCameraModule.ts +170 -0
- package/src/modules/camera/UnifiedCameraModule.ts +160 -0
- package/src/modules/camera/VisionCameraModule.ts +217 -0
- package/src/modules/camera/VisionCameraModule.web.ts +661 -0
- package/src/modules/camera/index.ts +6 -0
- package/src/stores/kycStore.ts +161 -0
- package/src/types/KYC.types.ts +434 -0
- package/src/types/nativewind.d.ts +2 -0
|
@@ -0,0 +1,613 @@
|
|
|
1
|
+
import React, { useState, useRef, useEffect } from 'react';
|
|
2
|
+
import {
|
|
3
|
+
View,
|
|
4
|
+
Text,
|
|
5
|
+
StyleSheet,
|
|
6
|
+
TouchableOpacity,
|
|
7
|
+
Alert,
|
|
8
|
+
ActivityIndicator,
|
|
9
|
+
Animated,
|
|
10
|
+
Dimensions,
|
|
11
|
+
} from 'react-native';
|
|
12
|
+
import Svg, { Rect, Path, Mask, Defs } from 'react-native-svg';
|
|
13
|
+
import { EnhancedCameraView } from '../EnhancedCameraView';
|
|
14
|
+
import { OrientationVideoConfig, OrientationVideoState } from '../../types/KYC.types';
|
|
15
|
+
import KYCService from '../../modules/api/KYCService';
|
|
16
|
+
import FrontSelfieIcon from '../Svgs/frontSelfieIcon';
|
|
17
|
+
import ScanningLine from '../Svgs/scanningLine';
|
|
18
|
+
|
|
19
|
+
interface OrientationVideoCaptureEnhancedProps {
|
|
20
|
+
config?: Partial<OrientationVideoConfig>;
|
|
21
|
+
onComplete: (result: any) => void;
|
|
22
|
+
onError: (error: string) => void;
|
|
23
|
+
kycService: KYCService;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const defaultConfig: OrientationVideoConfig = {
|
|
27
|
+
duration: 10, // 10 seconds
|
|
28
|
+
orientations: ['center', 'left', 'right'],
|
|
29
|
+
instructions: {
|
|
30
|
+
center: 'Look straight ahead at the camera',
|
|
31
|
+
left: 'Turn your head to the left',
|
|
32
|
+
right: 'Turn your head to the right',
|
|
33
|
+
},
|
|
34
|
+
showPreview: true,
|
|
35
|
+
allowRetake: true,
|
|
36
|
+
maxRetakes: 3,
|
|
37
|
+
quality: 0.8,
|
|
38
|
+
aspectRatio: 16 / 9,
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export const OrientationVideoCaptureEnhanced: React.FC<OrientationVideoCaptureEnhancedProps> = ({
|
|
42
|
+
config = {},
|
|
43
|
+
onComplete,
|
|
44
|
+
onError,
|
|
45
|
+
kycService,
|
|
46
|
+
}) => {
|
|
47
|
+
const finalConfig = { ...defaultConfig, ...config };
|
|
48
|
+
const { width: screenWidth, height: screenHeight } = Dimensions.get('window');
|
|
49
|
+
|
|
50
|
+
const bbox = [20, 140, 370, 340]; // [xMin, yMin, xMax, yMax]
|
|
51
|
+
|
|
52
|
+
const [state, setState] = useState<OrientationVideoState>({
|
|
53
|
+
isRecording: false,
|
|
54
|
+
currentOrientation: null,
|
|
55
|
+
recordedVideo: null,
|
|
56
|
+
processingResult: null,
|
|
57
|
+
isProcessing: false,
|
|
58
|
+
error: null,
|
|
59
|
+
retakeCount: 0,
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
const [showCamera, setShowCamera] = useState(true);
|
|
63
|
+
const instructionAnimation = useRef(new Animated.Value(0)).current;
|
|
64
|
+
const recordingTimeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null);
|
|
65
|
+
|
|
66
|
+
useEffect(() => {
|
|
67
|
+
startInstructionAnimation();
|
|
68
|
+
}, []);
|
|
69
|
+
|
|
70
|
+
useEffect(() => {
|
|
71
|
+
return () => {
|
|
72
|
+
if (recordingTimeoutRef.current) {
|
|
73
|
+
clearTimeout(recordingTimeoutRef.current);
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
}, []);
|
|
77
|
+
|
|
78
|
+
const startInstructionAnimation = () => {
|
|
79
|
+
Animated.loop(
|
|
80
|
+
Animated.sequence([
|
|
81
|
+
Animated.timing(instructionAnimation, {
|
|
82
|
+
toValue: 1,
|
|
83
|
+
duration: 1000,
|
|
84
|
+
useNativeDriver: false,
|
|
85
|
+
}),
|
|
86
|
+
Animated.timing(instructionAnimation, {
|
|
87
|
+
toValue: 0.8,
|
|
88
|
+
duration: 1000,
|
|
89
|
+
useNativeDriver: false,
|
|
90
|
+
}),
|
|
91
|
+
])
|
|
92
|
+
).start();
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
const startRecording = async () => {
|
|
96
|
+
if (state.isRecording) return;
|
|
97
|
+
|
|
98
|
+
try {
|
|
99
|
+
setState(prev => ({ ...prev, isRecording: true, error: null }));
|
|
100
|
+
|
|
101
|
+
// Simulate video recording with photo capture
|
|
102
|
+
// In a real implementation, you would need to extend EnhancedCameraView for video
|
|
103
|
+
const mockVideoPath = `video_${Date.now()}.mp4`;
|
|
104
|
+
|
|
105
|
+
// Set timeout to simulate recording duration
|
|
106
|
+
recordingTimeoutRef.current = setTimeout(() => {
|
|
107
|
+
setState(prev => ({
|
|
108
|
+
...prev,
|
|
109
|
+
isRecording: false,
|
|
110
|
+
recordedVideo: mockVideoPath
|
|
111
|
+
}));
|
|
112
|
+
// Process the video immediately
|
|
113
|
+
processVideo(mockVideoPath);
|
|
114
|
+
}, finalConfig.duration * 1000);
|
|
115
|
+
|
|
116
|
+
} catch (error) {
|
|
117
|
+
console.error('Error starting recording:', error);
|
|
118
|
+
setState(prev => ({
|
|
119
|
+
...prev,
|
|
120
|
+
isRecording: false,
|
|
121
|
+
error: 'Failed to start recording'
|
|
122
|
+
}));
|
|
123
|
+
onError('Failed to start recording');
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
const stopRecording = async () => {
|
|
128
|
+
if (!state.isRecording) return;
|
|
129
|
+
|
|
130
|
+
try {
|
|
131
|
+
if (recordingTimeoutRef.current) {
|
|
132
|
+
clearTimeout(recordingTimeoutRef.current);
|
|
133
|
+
recordingTimeoutRef.current = null;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
const mockVideoPath = `video_${Date.now()}.mp4`;
|
|
137
|
+
setState(prev => ({
|
|
138
|
+
...prev,
|
|
139
|
+
isRecording: false,
|
|
140
|
+
recordedVideo: mockVideoPath
|
|
141
|
+
}));
|
|
142
|
+
|
|
143
|
+
// Process the video immediately
|
|
144
|
+
processVideo(mockVideoPath);
|
|
145
|
+
} catch (error) {
|
|
146
|
+
console.error('Error stopping recording:', error);
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
const processVideo = async (videoUri: string) => {
|
|
151
|
+
if (state.isProcessing) return;
|
|
152
|
+
|
|
153
|
+
setState(prev => ({ ...prev, isProcessing: true, error: null }));
|
|
154
|
+
|
|
155
|
+
try {
|
|
156
|
+
const result = await kycService.processOrientationVideo(videoUri);
|
|
157
|
+
|
|
158
|
+
if (result.success && result.data) {
|
|
159
|
+
setState(prev => ({
|
|
160
|
+
...prev,
|
|
161
|
+
processingResult: result.data || null,
|
|
162
|
+
isProcessing: false
|
|
163
|
+
}));
|
|
164
|
+
onComplete(result.data);
|
|
165
|
+
} else {
|
|
166
|
+
setState(prev => ({
|
|
167
|
+
...prev,
|
|
168
|
+
isProcessing: false,
|
|
169
|
+
error: result.message || 'Processing failed'
|
|
170
|
+
}));
|
|
171
|
+
onError(result.message || 'Processing failed');
|
|
172
|
+
}
|
|
173
|
+
} catch (error) {
|
|
174
|
+
console.error('Error processing video:', error);
|
|
175
|
+
setState(prev => ({
|
|
176
|
+
...prev,
|
|
177
|
+
isProcessing: false,
|
|
178
|
+
error: 'Failed to process video'
|
|
179
|
+
}));
|
|
180
|
+
onError('Failed to process video');
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
const retake = () => {
|
|
185
|
+
if (state.retakeCount >= finalConfig.maxRetakes) {
|
|
186
|
+
Alert.alert('Max Retakes Reached', 'You have reached the maximum number of retakes.');
|
|
187
|
+
return;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
setState(prev => ({
|
|
191
|
+
...prev,
|
|
192
|
+
recordedVideo: null,
|
|
193
|
+
processingResult: null,
|
|
194
|
+
error: null,
|
|
195
|
+
retakeCount: prev.retakeCount + 1
|
|
196
|
+
}));
|
|
197
|
+
setShowCamera(true);
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
const reset = () => {
|
|
201
|
+
setState({
|
|
202
|
+
isRecording: false,
|
|
203
|
+
currentOrientation: null,
|
|
204
|
+
recordedVideo: null,
|
|
205
|
+
processingResult: null,
|
|
206
|
+
isProcessing: false,
|
|
207
|
+
error: null,
|
|
208
|
+
retakeCount: 0,
|
|
209
|
+
});
|
|
210
|
+
setShowCamera(true);
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
const handleCapture = (result: { success: boolean; path?: string; error?: string }) => {
|
|
214
|
+
if (result.success && result.path) {
|
|
215
|
+
// For demo purposes, we'll use the photo as a video placeholder
|
|
216
|
+
setState(prev => ({
|
|
217
|
+
...prev,
|
|
218
|
+
recordedVideo: result.path || null
|
|
219
|
+
}));
|
|
220
|
+
setShowCamera(false);
|
|
221
|
+
// Process the video
|
|
222
|
+
processVideo(result.path);
|
|
223
|
+
} else {
|
|
224
|
+
setState(prev => ({
|
|
225
|
+
...prev,
|
|
226
|
+
error: result.error || 'Capture failed'
|
|
227
|
+
}));
|
|
228
|
+
onError(result.error || 'Capture failed');
|
|
229
|
+
}
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
const renderInstructions = () => {
|
|
233
|
+
if (!state.currentOrientation) return null;
|
|
234
|
+
|
|
235
|
+
const instruction = finalConfig.instructions[state.currentOrientation];
|
|
236
|
+
|
|
237
|
+
return (
|
|
238
|
+
<Animated.View
|
|
239
|
+
style={[
|
|
240
|
+
styles.instructionContainer,
|
|
241
|
+
{ opacity: instructionAnimation }
|
|
242
|
+
]}
|
|
243
|
+
>
|
|
244
|
+
<Text style={styles.instructionText}>{instruction}</Text>
|
|
245
|
+
</Animated.View>
|
|
246
|
+
);
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
const renderProcessingResult = () => {
|
|
250
|
+
if (!state.processingResult) return null;
|
|
251
|
+
|
|
252
|
+
const { center, left, right } = state.processingResult;
|
|
253
|
+
const allCaptured = center.captured && left.captured && right.captured;
|
|
254
|
+
|
|
255
|
+
return (
|
|
256
|
+
<View style={styles.resultContainer}>
|
|
257
|
+
<Text style={styles.resultTitle}>
|
|
258
|
+
{allCaptured ? '✅ All orientations captured!' : '⚠️ Some orientations missing'}
|
|
259
|
+
</Text>
|
|
260
|
+
|
|
261
|
+
<View style={styles.orientationResults}>
|
|
262
|
+
<View style={styles.orientationResult}>
|
|
263
|
+
<Text style={styles.orientationLabel}>Center</Text>
|
|
264
|
+
<Text style={[styles.orientationStatus, center.captured && styles.captured]}>
|
|
265
|
+
{center.captured ? '✅' : '❌'}
|
|
266
|
+
</Text>
|
|
267
|
+
{center.captured && (
|
|
268
|
+
<Text style={styles.frameInfo}>Frame: {center.frame}</Text>
|
|
269
|
+
)}
|
|
270
|
+
</View>
|
|
271
|
+
|
|
272
|
+
<View style={styles.orientationResult}>
|
|
273
|
+
<Text style={styles.orientationLabel}>Left</Text>
|
|
274
|
+
<Text style={[styles.orientationStatus, left.captured && styles.captured]}>
|
|
275
|
+
{left.captured ? '✅' : '❌'}
|
|
276
|
+
</Text>
|
|
277
|
+
{left.captured && (
|
|
278
|
+
<Text style={styles.frameInfo}>Frame: {left.frame}</Text>
|
|
279
|
+
)}
|
|
280
|
+
</View>
|
|
281
|
+
|
|
282
|
+
<View style={styles.orientationResult}>
|
|
283
|
+
<Text style={styles.orientationLabel}>Right</Text>
|
|
284
|
+
<Text style={[styles.orientationStatus, right.captured && styles.captured]}>
|
|
285
|
+
{right.captured ? '✅' : '❌'}
|
|
286
|
+
</Text>
|
|
287
|
+
{right.captured && (
|
|
288
|
+
<Text style={styles.frameInfo}>Frame: {right.frame}</Text>
|
|
289
|
+
)}
|
|
290
|
+
</View>
|
|
291
|
+
</View>
|
|
292
|
+
</View>
|
|
293
|
+
);
|
|
294
|
+
};
|
|
295
|
+
|
|
296
|
+
if (state.recordedVideo && finalConfig.showPreview) {
|
|
297
|
+
return (
|
|
298
|
+
<View style={styles.container}>
|
|
299
|
+
<View style={styles.videoPreview}>
|
|
300
|
+
<Text style={styles.previewText}>Video recorded successfully</Text>
|
|
301
|
+
<Text style={styles.previewSubtext}>Path: {state.recordedVideo}</Text>
|
|
302
|
+
</View>
|
|
303
|
+
|
|
304
|
+
{state.isProcessing && (
|
|
305
|
+
<View style={styles.processingOverlay}>
|
|
306
|
+
<ActivityIndicator size="large" color="#007AFF" />
|
|
307
|
+
<Text style={styles.processingText}>Processing video...</Text>
|
|
308
|
+
</View>
|
|
309
|
+
)}
|
|
310
|
+
|
|
311
|
+
{renderProcessingResult()}
|
|
312
|
+
|
|
313
|
+
<View style={styles.buttonContainer}>
|
|
314
|
+
{finalConfig.allowRetake && state.retakeCount < finalConfig.maxRetakes && (
|
|
315
|
+
<TouchableOpacity style={styles.retakeButton} onPress={retake}>
|
|
316
|
+
<Text style={styles.retakeButtonText}>
|
|
317
|
+
Retake ({finalConfig.maxRetakes - state.retakeCount} left)
|
|
318
|
+
</Text>
|
|
319
|
+
</TouchableOpacity>
|
|
320
|
+
)}
|
|
321
|
+
|
|
322
|
+
<TouchableOpacity style={styles.resetButton} onPress={reset}>
|
|
323
|
+
<Text style={styles.resetButtonText}>Start Over</Text>
|
|
324
|
+
</TouchableOpacity>
|
|
325
|
+
</View>
|
|
326
|
+
</View>
|
|
327
|
+
);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
return (
|
|
331
|
+
<View style={styles.container}>
|
|
332
|
+
<EnhancedCameraView
|
|
333
|
+
showCamera={showCamera}
|
|
334
|
+
showSwitchCamera={false}
|
|
335
|
+
cameraType="front"
|
|
336
|
+
bbox={{
|
|
337
|
+
xMin: 150,
|
|
338
|
+
yMin: 210,
|
|
339
|
+
xMax: 350,
|
|
340
|
+
yMax: 410,
|
|
341
|
+
borderColor: "#2DBD60",
|
|
342
|
+
borderWidth: 3,
|
|
343
|
+
cornerRadius: 8
|
|
344
|
+
}}
|
|
345
|
+
onCapture={handleCapture}
|
|
346
|
+
onError={(error) => {
|
|
347
|
+
setState(prev => ({ ...prev, error: error.message }));
|
|
348
|
+
onError(error.message);
|
|
349
|
+
}}
|
|
350
|
+
overlayComponent={
|
|
351
|
+
<View style={styles.overlay}>
|
|
352
|
+
{renderInstructions()}
|
|
353
|
+
|
|
354
|
+
{/* SideSelfieIcon overlay with mask */}
|
|
355
|
+
<View style={styles.iconOverlay}>
|
|
356
|
+
<Svg
|
|
357
|
+
height="100%"
|
|
358
|
+
width="100%"
|
|
359
|
+
style={[StyleSheet.absoluteFill]}
|
|
360
|
+
>
|
|
361
|
+
<Defs>
|
|
362
|
+
<Mask id="faceMask">
|
|
363
|
+
{/* Fond blanc - zone visible (extérieur) */}
|
|
364
|
+
<Rect
|
|
365
|
+
x="0"
|
|
366
|
+
y="0"
|
|
367
|
+
width="100%"
|
|
368
|
+
height="100%"
|
|
369
|
+
fill="white"
|
|
370
|
+
/>
|
|
371
|
+
{/* Zone noire - zone masquée (forme du visage dans le bbox) */}
|
|
372
|
+
<Path
|
|
373
|
+
d="M35.4198 48.9242C38.2153 41.9014 42.5851 35.6693 48.3859 30.8232C61.3601 19.9842 88.1543 1.5 120 1.5C151.846 1.5 178.64 19.9842 191.614 30.8232C197.415 35.6693 201.785 41.9014 204.58 48.9242C210.484 63.7564 220 93.0114 220 127.5C220 168.082 204.19 212.617 198.234 227.954C196.792 231.667 194.971 235.196 192.628 238.417C183.46 251.021 156.313 283.5 120 283.5C83.6867 283.5 56.5401 251.021 47.3723 238.417C45.0294 235.196 43.2081 231.667 41.7663 227.954C35.8102 212.617 20 168.082 20 127.5C20 93.0114 29.5157 63.7564 35.4198 48.9242Z"
|
|
374
|
+
fill="black"
|
|
375
|
+
transform={`translate(${bbox[0] + (bbox[2] - bbox[0]) / 2}, ${bbox[1] + (bbox[3] - bbox[1]) / 2}) scale(1) translate(-120, -142.5)`}
|
|
376
|
+
/>
|
|
377
|
+
</Mask>
|
|
378
|
+
</Defs>
|
|
379
|
+
|
|
380
|
+
{/* Overlay semi-transparent avec masque */}
|
|
381
|
+
<Rect
|
|
382
|
+
x="0"
|
|
383
|
+
y="0"
|
|
384
|
+
width="100%"
|
|
385
|
+
height="100%"
|
|
386
|
+
fill="rgba(0, 0, 0, 0.5)"
|
|
387
|
+
mask="url(#faceMask)"
|
|
388
|
+
/>
|
|
389
|
+
<ScanningLine yMin={140} screenWidth={screenWidth} height={screenHeight} yMax={340}/>
|
|
390
|
+
</Svg>
|
|
391
|
+
|
|
392
|
+
{/* SideSelfieIcon positioned in the bbox */}
|
|
393
|
+
<View style={[styles.iconContainer, {
|
|
394
|
+
left: 20,
|
|
395
|
+
top: 140,
|
|
396
|
+
width: 350,
|
|
397
|
+
height: 200,
|
|
398
|
+
}]}>
|
|
399
|
+
<FrontSelfieIcon/>
|
|
400
|
+
{/* <SideSelfieIcon /> */}
|
|
401
|
+
</View>
|
|
402
|
+
</View>
|
|
403
|
+
|
|
404
|
+
{state.error && (
|
|
405
|
+
<View style={styles.errorContainer}>
|
|
406
|
+
<Text style={styles.errorText}>{state.error}</Text>
|
|
407
|
+
</View>
|
|
408
|
+
)}
|
|
409
|
+
|
|
410
|
+
<View style={styles.controlsContainer}>
|
|
411
|
+
{state.isRecording ? (
|
|
412
|
+
<TouchableOpacity style={styles.stopButton} onPress={stopRecording}>
|
|
413
|
+
<Text style={styles.stopButtonText}>Stop Recording</Text>
|
|
414
|
+
</TouchableOpacity>
|
|
415
|
+
) : (
|
|
416
|
+
<TouchableOpacity
|
|
417
|
+
style={styles.recordButton}
|
|
418
|
+
onPress={startRecording}
|
|
419
|
+
disabled={state.isProcessing}
|
|
420
|
+
>
|
|
421
|
+
<Text style={styles.recordButtonText}>Start Recording</Text>
|
|
422
|
+
</TouchableOpacity>
|
|
423
|
+
)}
|
|
424
|
+
</View>
|
|
425
|
+
</View>
|
|
426
|
+
}
|
|
427
|
+
/>
|
|
428
|
+
</View>
|
|
429
|
+
);
|
|
430
|
+
};
|
|
431
|
+
|
|
432
|
+
const styles = StyleSheet.create({
|
|
433
|
+
container: {
|
|
434
|
+
flex: 1,
|
|
435
|
+
backgroundColor: '#000',
|
|
436
|
+
position: 'relative',
|
|
437
|
+
},
|
|
438
|
+
overlay: {
|
|
439
|
+
position: 'absolute',
|
|
440
|
+
top: 0,
|
|
441
|
+
left: 0,
|
|
442
|
+
flex: 1,
|
|
443
|
+
width: '100%',
|
|
444
|
+
height: '100%',
|
|
445
|
+
},
|
|
446
|
+
instructionContainer: {
|
|
447
|
+
backgroundColor: 'rgba(0, 0, 0, 0.7)',
|
|
448
|
+
padding: 15,
|
|
449
|
+
borderRadius: 10,
|
|
450
|
+
marginTop: 50,
|
|
451
|
+
alignSelf: 'center',
|
|
452
|
+
},
|
|
453
|
+
instructionText: {
|
|
454
|
+
color: '#fff',
|
|
455
|
+
fontSize: 18,
|
|
456
|
+
fontWeight: 'bold',
|
|
457
|
+
textAlign: 'center',
|
|
458
|
+
},
|
|
459
|
+
controlsContainer: {
|
|
460
|
+
alignItems: 'center',
|
|
461
|
+
marginBottom: 50,
|
|
462
|
+
},
|
|
463
|
+
recordButton: {
|
|
464
|
+
backgroundColor: '#FF3B30',
|
|
465
|
+
paddingHorizontal: 30,
|
|
466
|
+
paddingVertical: 15,
|
|
467
|
+
borderRadius: 25,
|
|
468
|
+
minWidth: 150,
|
|
469
|
+
alignItems: 'center',
|
|
470
|
+
},
|
|
471
|
+
recordButtonText: {
|
|
472
|
+
color: '#fff',
|
|
473
|
+
fontSize: 18,
|
|
474
|
+
fontWeight: 'bold',
|
|
475
|
+
},
|
|
476
|
+
stopButton: {
|
|
477
|
+
backgroundColor: '#007AFF',
|
|
478
|
+
paddingHorizontal: 30,
|
|
479
|
+
paddingVertical: 15,
|
|
480
|
+
borderRadius: 25,
|
|
481
|
+
minWidth: 150,
|
|
482
|
+
alignItems: 'center',
|
|
483
|
+
},
|
|
484
|
+
stopButtonText: {
|
|
485
|
+
color: '#fff',
|
|
486
|
+
fontSize: 18,
|
|
487
|
+
fontWeight: 'bold',
|
|
488
|
+
},
|
|
489
|
+
videoPreview: {
|
|
490
|
+
flex: 1,
|
|
491
|
+
justifyContent: 'center',
|
|
492
|
+
alignItems: 'center',
|
|
493
|
+
backgroundColor: '#f0f0f0',
|
|
494
|
+
},
|
|
495
|
+
previewText: {
|
|
496
|
+
fontSize: 18,
|
|
497
|
+
fontWeight: 'bold',
|
|
498
|
+
color: '#333',
|
|
499
|
+
marginBottom: 10,
|
|
500
|
+
},
|
|
501
|
+
previewSubtext: {
|
|
502
|
+
fontSize: 14,
|
|
503
|
+
color: '#666',
|
|
504
|
+
textAlign: 'center',
|
|
505
|
+
paddingHorizontal: 20,
|
|
506
|
+
},
|
|
507
|
+
processingOverlay: {
|
|
508
|
+
position: 'absolute',
|
|
509
|
+
top: 0,
|
|
510
|
+
left: 0,
|
|
511
|
+
right: 0,
|
|
512
|
+
bottom: 0,
|
|
513
|
+
backgroundColor: 'rgba(0, 0, 0, 0.7)',
|
|
514
|
+
justifyContent: 'center',
|
|
515
|
+
alignItems: 'center',
|
|
516
|
+
},
|
|
517
|
+
processingText: {
|
|
518
|
+
color: '#fff',
|
|
519
|
+
fontSize: 16,
|
|
520
|
+
marginTop: 10,
|
|
521
|
+
},
|
|
522
|
+
resultContainer: {
|
|
523
|
+
backgroundColor: 'rgba(255, 255, 255, 0.9)',
|
|
524
|
+
padding: 20,
|
|
525
|
+
borderRadius: 10,
|
|
526
|
+
margin: 20,
|
|
527
|
+
},
|
|
528
|
+
resultTitle: {
|
|
529
|
+
fontSize: 18,
|
|
530
|
+
fontWeight: 'bold',
|
|
531
|
+
textAlign: 'center',
|
|
532
|
+
marginBottom: 15,
|
|
533
|
+
},
|
|
534
|
+
orientationResults: {
|
|
535
|
+
flexDirection: 'row',
|
|
536
|
+
justifyContent: 'space-around',
|
|
537
|
+
},
|
|
538
|
+
orientationResult: {
|
|
539
|
+
alignItems: 'center',
|
|
540
|
+
},
|
|
541
|
+
orientationLabel: {
|
|
542
|
+
fontSize: 14,
|
|
543
|
+
fontWeight: '600',
|
|
544
|
+
marginBottom: 5,
|
|
545
|
+
},
|
|
546
|
+
orientationStatus: {
|
|
547
|
+
fontSize: 20,
|
|
548
|
+
marginBottom: 5,
|
|
549
|
+
},
|
|
550
|
+
captured: {
|
|
551
|
+
color: '#34C759',
|
|
552
|
+
},
|
|
553
|
+
frameInfo: {
|
|
554
|
+
fontSize: 12,
|
|
555
|
+
color: '#666',
|
|
556
|
+
},
|
|
557
|
+
buttonContainer: {
|
|
558
|
+
flexDirection: 'row',
|
|
559
|
+
justifyContent: 'space-around',
|
|
560
|
+
padding: 20,
|
|
561
|
+
},
|
|
562
|
+
retakeButton: {
|
|
563
|
+
backgroundColor: '#FF9500',
|
|
564
|
+
paddingHorizontal: 20,
|
|
565
|
+
paddingVertical: 10,
|
|
566
|
+
borderRadius: 20,
|
|
567
|
+
},
|
|
568
|
+
retakeButtonText: {
|
|
569
|
+
color: '#fff',
|
|
570
|
+
fontSize: 16,
|
|
571
|
+
fontWeight: '600',
|
|
572
|
+
},
|
|
573
|
+
resetButton: {
|
|
574
|
+
backgroundColor: '#007AFF',
|
|
575
|
+
paddingHorizontal: 20,
|
|
576
|
+
paddingVertical: 10,
|
|
577
|
+
borderRadius: 20,
|
|
578
|
+
},
|
|
579
|
+
resetButtonText: {
|
|
580
|
+
color: '#fff',
|
|
581
|
+
fontSize: 16,
|
|
582
|
+
fontWeight: '600',
|
|
583
|
+
},
|
|
584
|
+
errorContainer: {
|
|
585
|
+
backgroundColor: 'rgba(255, 59, 48, 0.8)',
|
|
586
|
+
padding: 15,
|
|
587
|
+
borderRadius: 10,
|
|
588
|
+
margin: 20,
|
|
589
|
+
},
|
|
590
|
+
errorText: {
|
|
591
|
+
color: '#fff',
|
|
592
|
+
fontSize: 16,
|
|
593
|
+
textAlign: 'center',
|
|
594
|
+
},
|
|
595
|
+
iconOverlay: {
|
|
596
|
+
position: 'absolute',
|
|
597
|
+
top: 0,
|
|
598
|
+
left: 0,
|
|
599
|
+
right: 0,
|
|
600
|
+
bottom: 0,
|
|
601
|
+
width: '100%',
|
|
602
|
+
height: '100%',
|
|
603
|
+
justifyContent: 'center',
|
|
604
|
+
alignItems: 'center',
|
|
605
|
+
},
|
|
606
|
+
iconContainer: {
|
|
607
|
+
position: 'absolute',
|
|
608
|
+
justifyContent: 'center',
|
|
609
|
+
alignItems: 'center',
|
|
610
|
+
},
|
|
611
|
+
});
|
|
612
|
+
|
|
613
|
+
export default OrientationVideoCaptureEnhanced;
|