@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,335 @@
|
|
|
1
|
+
import { StyleSheet, View, Dimensions, Text, Animated, Image } from "react-native"
|
|
2
|
+
import { EnhancedCameraView } from "../EnhancedCameraView"
|
|
3
|
+
import Svg, { Rect, Path, Mask, Defs } from 'react-native-svg';
|
|
4
|
+
import React, { useEffect, useRef, useState } from 'react';
|
|
5
|
+
import ScanningLine from "../Svgs/scanningLine";
|
|
6
|
+
|
|
7
|
+
const CameraCaptureEx = () => {
|
|
8
|
+
const { width: screenWidth, height: screenHeight } = Dimensions.get('window');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
const bbox = [20, 140, 370, 340]; // [xMin, yMin, xMax, yMax]
|
|
12
|
+
const [xMin, yMin, xMax, yMax] = bbox;
|
|
13
|
+
const boxWidth = xMax - xMin;
|
|
14
|
+
const boxHeight = yMax - yMin;
|
|
15
|
+
|
|
16
|
+
// Animations
|
|
17
|
+
const instructionAnimation = useRef(new Animated.Value(0)).current;
|
|
18
|
+
|
|
19
|
+
const [cornerOpacity, setCornerOpacity] = useState(0.8);
|
|
20
|
+
|
|
21
|
+
const [imageUrl, setImageUrl] = useState<string | null>(null);
|
|
22
|
+
|
|
23
|
+
const scanY = useRef(new Animated.Value(yMin)).current;
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
useEffect(() => {
|
|
27
|
+
// Animation boucle : descend puis remonte
|
|
28
|
+
Animated.loop(
|
|
29
|
+
Animated.sequence([
|
|
30
|
+
Animated.timing(scanY, {
|
|
31
|
+
toValue: yMax,
|
|
32
|
+
duration: 2000,
|
|
33
|
+
useNativeDriver: false,
|
|
34
|
+
}),
|
|
35
|
+
Animated.timing(scanY, {
|
|
36
|
+
toValue: yMin,
|
|
37
|
+
duration: 2000,
|
|
38
|
+
useNativeDriver: false,
|
|
39
|
+
}),
|
|
40
|
+
])
|
|
41
|
+
).start();
|
|
42
|
+
}, [scanY, yMin, yMax]);
|
|
43
|
+
|
|
44
|
+
useEffect(() => {
|
|
45
|
+
// Animation des instructions
|
|
46
|
+
const instructionSequence = Animated.loop(
|
|
47
|
+
Animated.sequence([
|
|
48
|
+
Animated.timing(instructionAnimation, {
|
|
49
|
+
toValue: 1,
|
|
50
|
+
duration: 600,
|
|
51
|
+
useNativeDriver: false,
|
|
52
|
+
}),
|
|
53
|
+
Animated.timing(instructionAnimation, {
|
|
54
|
+
toValue: 0.95,
|
|
55
|
+
duration: 200,
|
|
56
|
+
useNativeDriver: false,
|
|
57
|
+
}),
|
|
58
|
+
Animated.timing(instructionAnimation, {
|
|
59
|
+
toValue: 1,
|
|
60
|
+
duration: 200,
|
|
61
|
+
useNativeDriver: false,
|
|
62
|
+
}),
|
|
63
|
+
])
|
|
64
|
+
);
|
|
65
|
+
|
|
66
|
+
// Animation des coins avec setState
|
|
67
|
+
const cornerInterval = setInterval(() => {
|
|
68
|
+
setCornerOpacity(prev => prev === 0.8 ? 1 : 0.8);
|
|
69
|
+
}, 800);
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
// Démarrer les animations
|
|
75
|
+
instructionSequence.start();
|
|
76
|
+
|
|
77
|
+
return () => {
|
|
78
|
+
instructionSequence.stop();
|
|
79
|
+
clearInterval(cornerInterval);
|
|
80
|
+
|
|
81
|
+
};
|
|
82
|
+
}, [instructionAnimation, xMin, xMax]);
|
|
83
|
+
|
|
84
|
+
if (imageUrl) {
|
|
85
|
+
return (
|
|
86
|
+
<View style={
|
|
87
|
+
{
|
|
88
|
+
flex: 1,
|
|
89
|
+
justifyContent: 'center',
|
|
90
|
+
alignItems: 'center',
|
|
91
|
+
}
|
|
92
|
+
}>
|
|
93
|
+
|
|
94
|
+
<View style={
|
|
95
|
+
{
|
|
96
|
+
|
|
97
|
+
justifyContent: 'center',
|
|
98
|
+
alignItems: 'center',
|
|
99
|
+
}
|
|
100
|
+
}>
|
|
101
|
+
<Image
|
|
102
|
+
source={{ uri: imageUrl }}
|
|
103
|
+
style={[styles.image,
|
|
104
|
+
{
|
|
105
|
+
width: boxWidth,
|
|
106
|
+
height: boxHeight,
|
|
107
|
+
marginLeft: -xMin,
|
|
108
|
+
marginTop: -yMin,
|
|
109
|
+
|
|
110
|
+
},
|
|
111
|
+
]} />
|
|
112
|
+
</View>
|
|
113
|
+
|
|
114
|
+
</View>
|
|
115
|
+
)
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
return (
|
|
119
|
+
<EnhancedCameraView
|
|
120
|
+
showCamera={true}
|
|
121
|
+
showSwitchCamera={false}
|
|
122
|
+
bbox={{
|
|
123
|
+
xMin: 150,
|
|
124
|
+
yMin: 210,
|
|
125
|
+
xMax: 350,
|
|
126
|
+
yMax: 410,
|
|
127
|
+
borderColor: "#2DBD60",
|
|
128
|
+
borderWidth: 3,
|
|
129
|
+
cornerRadius: 8
|
|
130
|
+
}}
|
|
131
|
+
onCapture={(image) => {
|
|
132
|
+
setImageUrl(image.path ?? null);
|
|
133
|
+
}}
|
|
134
|
+
overlayComponent={
|
|
135
|
+
<View style={StyleSheet.absoluteFill}>
|
|
136
|
+
<Animated.View
|
|
137
|
+
style={[
|
|
138
|
+
styles.topIntruction,
|
|
139
|
+
|
|
140
|
+
]}
|
|
141
|
+
>
|
|
142
|
+
<Text style={styles.topIntructionText}>
|
|
143
|
+
💡 Alignez le code QR avec la zone de capture • déplacez la caméra pour ajuster la zone de capture • mesurez 100cm de hauteur.
|
|
144
|
+
</Text>
|
|
145
|
+
</Animated.View>
|
|
146
|
+
|
|
147
|
+
<Svg
|
|
148
|
+
height={screenHeight}
|
|
149
|
+
width={screenWidth}
|
|
150
|
+
style={styles.svg}
|
|
151
|
+
>
|
|
152
|
+
<Defs>
|
|
153
|
+
<Mask id="cameraMask">
|
|
154
|
+
{/* Fond blanc - zone visible */}
|
|
155
|
+
<Rect
|
|
156
|
+
x="0"
|
|
157
|
+
y="0"
|
|
158
|
+
width={screenWidth}
|
|
159
|
+
height={screenHeight}
|
|
160
|
+
fill="white"
|
|
161
|
+
/>
|
|
162
|
+
{/* Zone noire - zone masquée (transparente) */}
|
|
163
|
+
<Rect
|
|
164
|
+
x={xMin}
|
|
165
|
+
y={yMin}
|
|
166
|
+
width={boxWidth}
|
|
167
|
+
height={boxHeight}
|
|
168
|
+
fill="black"
|
|
169
|
+
/>
|
|
170
|
+
</Mask>
|
|
171
|
+
</Defs>
|
|
172
|
+
|
|
173
|
+
{/* Overlay semi-transparent avec masque */}
|
|
174
|
+
<Rect
|
|
175
|
+
x="0"
|
|
176
|
+
y="0"
|
|
177
|
+
width={screenWidth}
|
|
178
|
+
height={screenHeight}
|
|
179
|
+
fill="rgba(0, 0, 0, 0.5)"
|
|
180
|
+
mask="url(#cameraMask)"
|
|
181
|
+
/>
|
|
182
|
+
|
|
183
|
+
{/* Coins de la zone de capture - arrondis avec animation */}
|
|
184
|
+
<Path
|
|
185
|
+
d={`M ${xMin + 15} ${yMin} Q ${xMin} ${yMin} ${xMin} ${yMin + 15} L ${xMin} ${yMin + 20}`}
|
|
186
|
+
stroke="#4CAF50"
|
|
187
|
+
strokeWidth="8"
|
|
188
|
+
fill="none"
|
|
189
|
+
opacity={cornerOpacity}
|
|
190
|
+
/>
|
|
191
|
+
<Path
|
|
192
|
+
d={`M ${xMin + 20} ${yMin} L ${xMin + 15} ${yMin}`}
|
|
193
|
+
stroke="#4CAF50"
|
|
194
|
+
strokeWidth="8"
|
|
195
|
+
opacity={cornerOpacity}
|
|
196
|
+
/>
|
|
197
|
+
|
|
198
|
+
<Path
|
|
199
|
+
d={`M ${xMax - 15} ${yMin} Q ${xMax} ${yMin} ${xMax} ${yMin + 15} L ${xMax} ${yMin + 20}`}
|
|
200
|
+
stroke="#4CAF50"
|
|
201
|
+
strokeWidth="8"
|
|
202
|
+
fill="none"
|
|
203
|
+
opacity={cornerOpacity}
|
|
204
|
+
/>
|
|
205
|
+
<Path
|
|
206
|
+
d={`M ${xMax - 20} ${yMin} L ${xMax - 15} ${yMin}`}
|
|
207
|
+
stroke="#4CAF50"
|
|
208
|
+
strokeWidth="8"
|
|
209
|
+
opacity={cornerOpacity}
|
|
210
|
+
/>
|
|
211
|
+
|
|
212
|
+
<Path
|
|
213
|
+
d={`M ${xMin + 15} ${yMax} Q ${xMin} ${yMax} ${xMin} ${yMax - 15} L ${xMin} ${yMax - 20}`}
|
|
214
|
+
stroke="#4CAF50"
|
|
215
|
+
strokeWidth="8"
|
|
216
|
+
fill="none"
|
|
217
|
+
opacity={cornerOpacity}
|
|
218
|
+
/>
|
|
219
|
+
<Path
|
|
220
|
+
d={`M ${xMin + 20} ${yMax} L ${xMin + 15} ${yMax}`}
|
|
221
|
+
stroke="#4CAF50"
|
|
222
|
+
strokeWidth="8"
|
|
223
|
+
opacity={cornerOpacity}
|
|
224
|
+
/>
|
|
225
|
+
|
|
226
|
+
<Path
|
|
227
|
+
d={`M ${xMax - 15} ${yMax} Q ${xMax} ${yMax} ${xMax} ${yMax - 15} L ${xMax} ${yMax - 20}`}
|
|
228
|
+
stroke="#4CAF50"
|
|
229
|
+
strokeWidth="8"
|
|
230
|
+
fill="none"
|
|
231
|
+
opacity={cornerOpacity}
|
|
232
|
+
/>
|
|
233
|
+
<Path
|
|
234
|
+
d={`M ${xMax - 20} ${yMax} L ${xMax - 15} ${yMax}`}
|
|
235
|
+
stroke="#4CAF50"
|
|
236
|
+
strokeWidth="8"
|
|
237
|
+
opacity={cornerOpacity}
|
|
238
|
+
/>
|
|
239
|
+
|
|
240
|
+
</Svg>
|
|
241
|
+
<ScanningLine yMin={yMin} screenWidth={screenWidth} height={screenHeight} yMax={yMax} />
|
|
242
|
+
|
|
243
|
+
<View style={styles.bottomIntruction}>
|
|
244
|
+
<Text style={styles.bottomTitle}>
|
|
245
|
+
Mesurez 100cm de hauteur.
|
|
246
|
+
</Text>
|
|
247
|
+
<Text style={styles.bottomSubtitle}>
|
|
248
|
+
Ne pas déplacer la caméra pendant la capture. • Ne pas déplacer la caméra pendant la capture.
|
|
249
|
+
</Text>
|
|
250
|
+
</View>
|
|
251
|
+
</View>
|
|
252
|
+
}
|
|
253
|
+
/>
|
|
254
|
+
)
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
const styles = StyleSheet.create({
|
|
258
|
+
overlay: {
|
|
259
|
+
position: 'absolute',
|
|
260
|
+
top: 0,
|
|
261
|
+
left: 0,
|
|
262
|
+
width: '100%',
|
|
263
|
+
height: '50%',
|
|
264
|
+
backgroundColor: 'rgba(0, 0, 0, 0.5)',
|
|
265
|
+
},
|
|
266
|
+
svg: {
|
|
267
|
+
position: 'absolute',
|
|
268
|
+
top: 0,
|
|
269
|
+
left: 0,
|
|
270
|
+
width: '100%',
|
|
271
|
+
height: '100%',
|
|
272
|
+
},
|
|
273
|
+
topIntruction: {
|
|
274
|
+
zIndex: 1000,
|
|
275
|
+
flexDirection: 'row',
|
|
276
|
+
alignItems: 'center',
|
|
277
|
+
justifyContent: 'center',
|
|
278
|
+
paddingVertical: 20,
|
|
279
|
+
paddingHorizontal: 10,
|
|
280
|
+
marginHorizontal: 20,
|
|
281
|
+
marginTop: 10,
|
|
282
|
+
backgroundColor: "#FDE04730",
|
|
283
|
+
borderColor: "#FDE047",
|
|
284
|
+
borderWidth: 1,
|
|
285
|
+
borderRadius: 10,
|
|
286
|
+
gap: 10,
|
|
287
|
+
},
|
|
288
|
+
topIntructionText: {
|
|
289
|
+
color: '#FDE047',
|
|
290
|
+
fontSize: 14,
|
|
291
|
+
fontWeight: 'bold',
|
|
292
|
+
textAlign: 'center',
|
|
293
|
+
},
|
|
294
|
+
bottomIntruction: {
|
|
295
|
+
position: 'absolute',
|
|
296
|
+
bottom: 0,
|
|
297
|
+
left: 0,
|
|
298
|
+
width: '100%',
|
|
299
|
+
height: '35%',
|
|
300
|
+
paddingHorizontal: 20,
|
|
301
|
+
},
|
|
302
|
+
bottomIntructionTextBold: {
|
|
303
|
+
color: 'white',
|
|
304
|
+
fontSize: 16,
|
|
305
|
+
fontWeight: 'bold',
|
|
306
|
+
textAlign: 'center',
|
|
307
|
+
},
|
|
308
|
+
bottomIntructionText: {
|
|
309
|
+
color: 'white',
|
|
310
|
+
fontSize: 14,
|
|
311
|
+
fontWeight: 'bold',
|
|
312
|
+
textAlign: 'center',
|
|
313
|
+
},
|
|
314
|
+
bottomTitle: {
|
|
315
|
+
color: 'white',
|
|
316
|
+
fontSize: 25,
|
|
317
|
+
fontWeight: 'bold',
|
|
318
|
+
textAlign: 'center',
|
|
319
|
+
},
|
|
320
|
+
bottomSubtitle: {
|
|
321
|
+
color: 'white',
|
|
322
|
+
marginTop: 15,
|
|
323
|
+
fontSize: 14,
|
|
324
|
+
fontWeight: '500',
|
|
325
|
+
textAlign: 'center',
|
|
326
|
+
},
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
image: {
|
|
330
|
+
position: 'absolute',
|
|
331
|
+
borderRadius: 10,
|
|
332
|
+
},
|
|
333
|
+
})
|
|
334
|
+
|
|
335
|
+
export default CameraCaptureEx
|
|
@@ -0,0 +1,357 @@
|
|
|
1
|
+
import { StyleSheet, View, Dimensions, Text, Animated } from "react-native"
|
|
2
|
+
import { EnhancedCameraView } from "../EnhancedCameraView"
|
|
3
|
+
import Svg, { Circle, Rect, Path, Mask, Defs, LinearGradient, Stop } from 'react-native-svg';
|
|
4
|
+
import { useEffect, useRef, useState } from 'react';
|
|
5
|
+
|
|
6
|
+
const CameraCaptureExAdvanced = () => {
|
|
7
|
+
const { width: screenWidth, height: screenHeight } = Dimensions.get('window');
|
|
8
|
+
|
|
9
|
+
const bbox = [20, 140, 370, 340]; // [xMin, yMin, xMax, yMax]
|
|
10
|
+
const [xMin, yMin, xMax, yMax] = bbox;
|
|
11
|
+
const boxWidth = xMax - xMin;
|
|
12
|
+
const boxHeight = yMax - yMin;
|
|
13
|
+
|
|
14
|
+
// Animations
|
|
15
|
+
const instructionAnimation = useRef(new Animated.Value(0)).current;
|
|
16
|
+
const scanLineAnimation = useRef(new Animated.Value(0)).current;
|
|
17
|
+
const pulseAnimation = useRef(new Animated.Value(1)).current;
|
|
18
|
+
const [cornerOpacity, setCornerOpacity] = useState(0.8);
|
|
19
|
+
const [scanLineY, setScanLineY] = useState(yMin);
|
|
20
|
+
|
|
21
|
+
useEffect(() => {
|
|
22
|
+
// Animation des instructions avec effet de pulsation
|
|
23
|
+
const instructionSequence = Animated.loop(
|
|
24
|
+
Animated.sequence([
|
|
25
|
+
Animated.timing(instructionAnimation, {
|
|
26
|
+
toValue: 1,
|
|
27
|
+
duration: 800,
|
|
28
|
+
useNativeDriver: false,
|
|
29
|
+
}),
|
|
30
|
+
Animated.timing(instructionAnimation, {
|
|
31
|
+
toValue: 0.9,
|
|
32
|
+
duration: 200,
|
|
33
|
+
useNativeDriver: false,
|
|
34
|
+
}),
|
|
35
|
+
Animated.timing(instructionAnimation, {
|
|
36
|
+
toValue: 1,
|
|
37
|
+
duration: 200,
|
|
38
|
+
useNativeDriver: false,
|
|
39
|
+
}),
|
|
40
|
+
Animated.delay(2000), // Pause de 2 secondes
|
|
41
|
+
])
|
|
42
|
+
);
|
|
43
|
+
|
|
44
|
+
// Animation de pulsation générale
|
|
45
|
+
const pulseLoop = Animated.loop(
|
|
46
|
+
Animated.sequence([
|
|
47
|
+
Animated.timing(pulseAnimation, {
|
|
48
|
+
toValue: 1.1,
|
|
49
|
+
duration: 1500,
|
|
50
|
+
useNativeDriver: false,
|
|
51
|
+
}),
|
|
52
|
+
Animated.timing(pulseAnimation, {
|
|
53
|
+
toValue: 1,
|
|
54
|
+
duration: 1500,
|
|
55
|
+
useNativeDriver: false,
|
|
56
|
+
}),
|
|
57
|
+
])
|
|
58
|
+
);
|
|
59
|
+
|
|
60
|
+
// Animation de la ligne de scan
|
|
61
|
+
const scanLineLoop = Animated.loop(
|
|
62
|
+
Animated.timing(scanLineAnimation, {
|
|
63
|
+
toValue: 1,
|
|
64
|
+
duration: 3000,
|
|
65
|
+
useNativeDriver: false,
|
|
66
|
+
})
|
|
67
|
+
);
|
|
68
|
+
|
|
69
|
+
// Animation des coins avec setState
|
|
70
|
+
const cornerInterval = setInterval(() => {
|
|
71
|
+
setCornerOpacity(prev => prev === 0.8 ? 1 : 0.8);
|
|
72
|
+
}, 600);
|
|
73
|
+
|
|
74
|
+
// Animation de la ligne de scan avec setState
|
|
75
|
+
const scanLineInterval = setInterval(() => {
|
|
76
|
+
setScanLineY(prev => {
|
|
77
|
+
const newY = prev + 2;
|
|
78
|
+
return newY > yMax ? yMin : newY;
|
|
79
|
+
});
|
|
80
|
+
}, 50);
|
|
81
|
+
|
|
82
|
+
// Démarrer les animations
|
|
83
|
+
instructionSequence.start();
|
|
84
|
+
pulseLoop.start();
|
|
85
|
+
scanLineLoop.start();
|
|
86
|
+
|
|
87
|
+
return () => {
|
|
88
|
+
instructionSequence.stop();
|
|
89
|
+
pulseLoop.stop();
|
|
90
|
+
scanLineLoop.stop();
|
|
91
|
+
clearInterval(cornerInterval);
|
|
92
|
+
clearInterval(scanLineInterval);
|
|
93
|
+
};
|
|
94
|
+
}, [instructionAnimation, scanLineAnimation, pulseAnimation, yMin, yMax]);
|
|
95
|
+
|
|
96
|
+
return (
|
|
97
|
+
<EnhancedCameraView
|
|
98
|
+
showCamera={true}
|
|
99
|
+
showSwitchCamera={false}
|
|
100
|
+
bbox={{
|
|
101
|
+
xMin: 150,
|
|
102
|
+
yMin: 210,
|
|
103
|
+
xMax: 350,
|
|
104
|
+
yMax: 410,
|
|
105
|
+
borderColor: "#2DBD60",
|
|
106
|
+
borderWidth: 3,
|
|
107
|
+
cornerRadius: 8
|
|
108
|
+
}}
|
|
109
|
+
overlayComponent={
|
|
110
|
+
<View style={StyleSheet.absoluteFill}>
|
|
111
|
+
<Animated.View
|
|
112
|
+
style={[
|
|
113
|
+
styles.topIntruction,
|
|
114
|
+
{
|
|
115
|
+
opacity: instructionAnimation,
|
|
116
|
+
transform: [{ scale: instructionAnimation }]
|
|
117
|
+
}
|
|
118
|
+
]}
|
|
119
|
+
>
|
|
120
|
+
<Text style={styles.topIntructionText}>
|
|
121
|
+
💡 Alignez le code QR avec la zone de capture • déplacez la caméra pour ajuster la zone de capture • mesurez 100cm de hauteur.
|
|
122
|
+
</Text>
|
|
123
|
+
</Animated.View>
|
|
124
|
+
|
|
125
|
+
<Svg
|
|
126
|
+
height={screenHeight}
|
|
127
|
+
width={screenWidth}
|
|
128
|
+
style={styles.svg}
|
|
129
|
+
>
|
|
130
|
+
<Defs>
|
|
131
|
+
<Mask id="cameraMask">
|
|
132
|
+
{/* Fond blanc - zone visible */}
|
|
133
|
+
<Rect
|
|
134
|
+
x="0"
|
|
135
|
+
y="0"
|
|
136
|
+
width={screenWidth}
|
|
137
|
+
height={screenHeight}
|
|
138
|
+
fill="white"
|
|
139
|
+
/>
|
|
140
|
+
{/* Zone noire - zone masquée (transparente) */}
|
|
141
|
+
<Rect
|
|
142
|
+
x={xMin}
|
|
143
|
+
y={yMin}
|
|
144
|
+
width={boxWidth}
|
|
145
|
+
height={boxHeight}
|
|
146
|
+
fill="black"
|
|
147
|
+
/>
|
|
148
|
+
</Mask>
|
|
149
|
+
|
|
150
|
+
{/* Gradient pour les coins */}
|
|
151
|
+
<LinearGradient id="cornerGradient" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
152
|
+
<Stop offset="0%" stopColor="#4CAF50" stopOpacity="1" />
|
|
153
|
+
<Stop offset="100%" stopColor="#00FF00" stopOpacity="1" />
|
|
154
|
+
</LinearGradient>
|
|
155
|
+
</Defs>
|
|
156
|
+
|
|
157
|
+
{/* Overlay semi-transparent avec masque */}
|
|
158
|
+
<Rect
|
|
159
|
+
x="0"
|
|
160
|
+
y="0"
|
|
161
|
+
width={screenWidth}
|
|
162
|
+
height={screenHeight}
|
|
163
|
+
fill="rgba(0, 0, 0, 0.6)"
|
|
164
|
+
mask="url(#cameraMask)"
|
|
165
|
+
/>
|
|
166
|
+
|
|
167
|
+
{/* Coins de la zone de capture - arrondis avec animation et gradient */}
|
|
168
|
+
<Path
|
|
169
|
+
d={`M ${xMin + 15} ${yMin} Q ${xMin} ${yMin} ${xMin} ${yMin + 15} L ${xMin} ${yMin + 20}`}
|
|
170
|
+
stroke="url(#cornerGradient)"
|
|
171
|
+
strokeWidth="8"
|
|
172
|
+
fill="none"
|
|
173
|
+
opacity={cornerOpacity}
|
|
174
|
+
/>
|
|
175
|
+
<Path
|
|
176
|
+
d={`M ${xMin + 20} ${yMin} L ${xMin + 15} ${yMin}`}
|
|
177
|
+
stroke="url(#cornerGradient)"
|
|
178
|
+
strokeWidth="8"
|
|
179
|
+
opacity={cornerOpacity}
|
|
180
|
+
/>
|
|
181
|
+
|
|
182
|
+
<Path
|
|
183
|
+
d={`M ${xMax - 15} ${yMin} Q ${xMax} ${yMin} ${xMax} ${yMin + 15} L ${xMax} ${yMin + 20}`}
|
|
184
|
+
stroke="url(#cornerGradient)"
|
|
185
|
+
strokeWidth="8"
|
|
186
|
+
fill="none"
|
|
187
|
+
opacity={cornerOpacity}
|
|
188
|
+
/>
|
|
189
|
+
<Path
|
|
190
|
+
d={`M ${xMax - 20} ${yMin} L ${xMax - 15} ${yMin}`}
|
|
191
|
+
stroke="url(#cornerGradient)"
|
|
192
|
+
strokeWidth="8"
|
|
193
|
+
opacity={cornerOpacity}
|
|
194
|
+
/>
|
|
195
|
+
|
|
196
|
+
<Path
|
|
197
|
+
d={`M ${xMin + 15} ${yMax} Q ${xMin} ${yMax} ${xMin} ${yMax - 15} L ${xMin} ${yMax - 20}`}
|
|
198
|
+
stroke="url(#cornerGradient)"
|
|
199
|
+
strokeWidth="8"
|
|
200
|
+
fill="none"
|
|
201
|
+
opacity={cornerOpacity}
|
|
202
|
+
/>
|
|
203
|
+
<Path
|
|
204
|
+
d={`M ${xMin + 20} ${yMax} L ${xMin + 15} ${yMax}`}
|
|
205
|
+
stroke="url(#cornerGradient)"
|
|
206
|
+
strokeWidth="8"
|
|
207
|
+
opacity={cornerOpacity}
|
|
208
|
+
/>
|
|
209
|
+
|
|
210
|
+
<Path
|
|
211
|
+
d={`M ${xMax - 15} ${yMax} Q ${xMax} ${yMax} ${xMax} ${yMax - 15} L ${xMax} ${yMax - 20}`}
|
|
212
|
+
stroke="url(#cornerGradient)"
|
|
213
|
+
strokeWidth="8"
|
|
214
|
+
fill="none"
|
|
215
|
+
opacity={cornerOpacity}
|
|
216
|
+
/>
|
|
217
|
+
<Path
|
|
218
|
+
d={`M ${xMax - 20} ${yMax} L ${xMax - 15} ${yMax}`}
|
|
219
|
+
stroke="url(#cornerGradient)"
|
|
220
|
+
strokeWidth="8"
|
|
221
|
+
opacity={cornerOpacity}
|
|
222
|
+
/>
|
|
223
|
+
|
|
224
|
+
{/* Ligne de scan animée */}
|
|
225
|
+
<Path
|
|
226
|
+
d={`M ${xMin} ${scanLineY} L ${xMax} ${scanLineY}`}
|
|
227
|
+
stroke="#00FF00"
|
|
228
|
+
strokeWidth="3"
|
|
229
|
+
strokeDasharray="15,10"
|
|
230
|
+
opacity={0.8}
|
|
231
|
+
/>
|
|
232
|
+
|
|
233
|
+
{/* Points de guidage animés */}
|
|
234
|
+
<Circle
|
|
235
|
+
cx={xMin + boxWidth * 0.25}
|
|
236
|
+
cy={yMin + boxHeight * 0.25}
|
|
237
|
+
r="3"
|
|
238
|
+
fill="#FF5722"
|
|
239
|
+
opacity={cornerOpacity}
|
|
240
|
+
/>
|
|
241
|
+
<Circle
|
|
242
|
+
cx={xMin + boxWidth * 0.75}
|
|
243
|
+
cy={yMin + boxHeight * 0.25}
|
|
244
|
+
r="3"
|
|
245
|
+
fill="#FF5722"
|
|
246
|
+
opacity={cornerOpacity}
|
|
247
|
+
/>
|
|
248
|
+
<Circle
|
|
249
|
+
cx={xMin + boxWidth * 0.25}
|
|
250
|
+
cy={yMin + boxHeight * 0.75}
|
|
251
|
+
r="3"
|
|
252
|
+
fill="#FF5722"
|
|
253
|
+
opacity={cornerOpacity}
|
|
254
|
+
/>
|
|
255
|
+
<Circle
|
|
256
|
+
cx={xMin + boxWidth * 0.75}
|
|
257
|
+
cy={yMin + boxHeight * 0.75}
|
|
258
|
+
r="3"
|
|
259
|
+
fill="#FF5722"
|
|
260
|
+
opacity={cornerOpacity}
|
|
261
|
+
/>
|
|
262
|
+
</Svg>
|
|
263
|
+
|
|
264
|
+
<Animated.View
|
|
265
|
+
style={[
|
|
266
|
+
styles.bottomIntruction,
|
|
267
|
+
{
|
|
268
|
+
transform: [{ scale: pulseAnimation }]
|
|
269
|
+
}
|
|
270
|
+
]}
|
|
271
|
+
>
|
|
272
|
+
<Text style={styles.bottomTitle}>
|
|
273
|
+
Mesurez 100cm de hauteur.
|
|
274
|
+
</Text>
|
|
275
|
+
<Text style={styles.bottomSubtitle}>
|
|
276
|
+
Ne pas déplacer la caméra pendant la capture. • Ne pas déplacer la caméra pendant la capture.
|
|
277
|
+
</Text>
|
|
278
|
+
</Animated.View>
|
|
279
|
+
</View>
|
|
280
|
+
}
|
|
281
|
+
/>
|
|
282
|
+
)
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
const styles = StyleSheet.create({
|
|
286
|
+
overlay: {
|
|
287
|
+
position: 'absolute',
|
|
288
|
+
top: 0,
|
|
289
|
+
left: 0,
|
|
290
|
+
width: '100%',
|
|
291
|
+
height: '50%',
|
|
292
|
+
backgroundColor: 'rgba(0, 0, 0, 0.5)',
|
|
293
|
+
},
|
|
294
|
+
svg: {
|
|
295
|
+
position: 'absolute',
|
|
296
|
+
top: 0,
|
|
297
|
+
left: 0,
|
|
298
|
+
width: '100%',
|
|
299
|
+
height: '100%',
|
|
300
|
+
},
|
|
301
|
+
topIntruction: {
|
|
302
|
+
zIndex: 1000,
|
|
303
|
+
flexDirection: 'row',
|
|
304
|
+
alignItems: 'center',
|
|
305
|
+
justifyContent: 'center',
|
|
306
|
+
paddingVertical: 20,
|
|
307
|
+
paddingHorizontal: 10,
|
|
308
|
+
marginHorizontal: 20,
|
|
309
|
+
marginTop: 10,
|
|
310
|
+
backgroundColor: "#FDE04730",
|
|
311
|
+
borderColor: "#FDE047",
|
|
312
|
+
borderWidth: 1,
|
|
313
|
+
borderRadius: 10,
|
|
314
|
+
gap: 10,
|
|
315
|
+
},
|
|
316
|
+
topIntructionText: {
|
|
317
|
+
color: '#FDE047',
|
|
318
|
+
fontSize: 14,
|
|
319
|
+
fontWeight: 'bold',
|
|
320
|
+
textAlign: 'center',
|
|
321
|
+
},
|
|
322
|
+
bottomIntruction: {
|
|
323
|
+
position: 'absolute',
|
|
324
|
+
bottom: 0,
|
|
325
|
+
left: 0,
|
|
326
|
+
width: '100%',
|
|
327
|
+
height: '35%',
|
|
328
|
+
paddingHorizontal: 20,
|
|
329
|
+
},
|
|
330
|
+
bottomIntructionTextBold: {
|
|
331
|
+
color: 'white',
|
|
332
|
+
fontSize: 16,
|
|
333
|
+
fontWeight: 'bold',
|
|
334
|
+
textAlign: 'center',
|
|
335
|
+
},
|
|
336
|
+
bottomIntructionText: {
|
|
337
|
+
color: 'white',
|
|
338
|
+
fontSize: 14,
|
|
339
|
+
fontWeight: 'bold',
|
|
340
|
+
textAlign: 'center',
|
|
341
|
+
},
|
|
342
|
+
bottomTitle: {
|
|
343
|
+
color: 'white',
|
|
344
|
+
fontSize: 25,
|
|
345
|
+
fontWeight: 'bold',
|
|
346
|
+
textAlign: 'center',
|
|
347
|
+
},
|
|
348
|
+
bottomSubtitle: {
|
|
349
|
+
color: 'white',
|
|
350
|
+
marginTop: 15,
|
|
351
|
+
fontSize: 14,
|
|
352
|
+
fontWeight: '500',
|
|
353
|
+
textAlign: 'center',
|
|
354
|
+
},
|
|
355
|
+
})
|
|
356
|
+
|
|
357
|
+
export default CameraCaptureExAdvanced
|