@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,377 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View, Text, TouchableOpacity, ScrollView, StyleSheet, PermissionsAndroid, Platform, Alert } from 'react-native';
|
|
3
|
+
import { useKYCStore } from '../stores/kycStore';
|
|
4
|
+
import { SelfieCapture } from './SelfieCapture';
|
|
5
|
+
import { FileUpload } from './FileUpload';
|
|
6
|
+
|
|
7
|
+
export const KYCFlow: React.FC = () => {
|
|
8
|
+
const {
|
|
9
|
+
currentStep,
|
|
10
|
+
setCurrentStep,
|
|
11
|
+
isProcessing,
|
|
12
|
+
error,
|
|
13
|
+
currentSession,
|
|
14
|
+
initializeSession
|
|
15
|
+
} = useKYCStore();
|
|
16
|
+
|
|
17
|
+
const [hasLocationPermission, setHasLocationPermission] = React.useState<boolean | null>(null);
|
|
18
|
+
|
|
19
|
+
const requestLocationPermission = React.useCallback(async (): Promise<boolean> => {
|
|
20
|
+
if (Platform.OS === 'ios') {
|
|
21
|
+
// iOS prompts automatically via system when needed; assume granted for this demo
|
|
22
|
+
setHasLocationPermission(true);
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
try {
|
|
27
|
+
const granted = await PermissionsAndroid.request(
|
|
28
|
+
PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION,
|
|
29
|
+
{
|
|
30
|
+
title: "Permission de localisation",
|
|
31
|
+
message: "Nous avons besoin de votre localisation pour démarrer la vérification.",
|
|
32
|
+
buttonNeutral: "Plus tard",
|
|
33
|
+
buttonNegative: "Annuler",
|
|
34
|
+
buttonPositive: "OK",
|
|
35
|
+
}
|
|
36
|
+
);
|
|
37
|
+
const isGranted = granted === PermissionsAndroid.RESULTS.GRANTED;
|
|
38
|
+
setHasLocationPermission(isGranted);
|
|
39
|
+
if (!isGranted) {
|
|
40
|
+
Alert.alert('Permission refusée', "La localisation est requise pour continuer.");
|
|
41
|
+
}
|
|
42
|
+
return isGranted;
|
|
43
|
+
} catch (e) {
|
|
44
|
+
setHasLocationPermission(false);
|
|
45
|
+
Alert.alert('Erreur', "Impossible de demander la permission de localisation");
|
|
46
|
+
return false;
|
|
47
|
+
}
|
|
48
|
+
}, []);
|
|
49
|
+
|
|
50
|
+
React.useEffect(() => {
|
|
51
|
+
// Initialiser la session si elle n'existe pas
|
|
52
|
+
if (!currentSession) {
|
|
53
|
+
initializeSession('user-123'); // ID utilisateur temporaire
|
|
54
|
+
}
|
|
55
|
+
}, []);
|
|
56
|
+
|
|
57
|
+
const steps = [
|
|
58
|
+
{ id: 0, title: 'Activer la localisation', description: 'Autorisez l\'accès à votre localisation' },
|
|
59
|
+
{ id: 1, title: 'Bienvenues', description: 'Commençons la vérification' },
|
|
60
|
+
{ id: 2, title: 'Document d\'identité', description: 'Sélectionnez vos documents' },
|
|
61
|
+
{ id: 3, title: 'Selfie', description: 'Prenez une photo de votre visage' },
|
|
62
|
+
{ id: 4, title: 'Vérification', description: 'Validation en cours...' },
|
|
63
|
+
{ id: 5, title: 'Terminé', description: 'Vérification complétée' }
|
|
64
|
+
];
|
|
65
|
+
|
|
66
|
+
// const appStep = [
|
|
67
|
+
// { id: 0, title: 'Which country issued your ID?', description: 'This helps us verify your documents quickly and securely',type:"country", options:["France","Belgique","Luxembourg","Allemagne","Italie","Espagne","Portugal","Autriche","Suisse","Pays-Bas","Autre"] },
|
|
68
|
+
// { id: 1, title: 'What is your ID type?', description: 'This helps us verify your documents quickly and securely',type:"idType", options:["Passport","National ID","Driver's License","Other"] },
|
|
69
|
+
// // camera front id
|
|
70
|
+
// { id: 2, title: 'Take a photo of your From ID', description: 'This helps us verify your documents quickly and securely',type:"cameraFrontId", options:[] },
|
|
71
|
+
// // camera back id
|
|
72
|
+
// { id: 3, title: 'Take a photo of your Back ID', description: 'This helps us verify your documents quickly and securely',type:"cameraBackId", options:[] },
|
|
73
|
+
// // camera selfie
|
|
74
|
+
// { id: 4, title: 'Take a photo of your Front side Selfie', description: 'This helps us verify your documents quickly and securely',type:"cameraSelfie", options:[] },
|
|
75
|
+
// // camera selfie
|
|
76
|
+
// { id: 5, title: 'Take a photo of your Left left side of your ID', description: 'This helps us verify your documents quickly and securely',type:"cameraSelfie", options:[] },
|
|
77
|
+
// // camera selfie
|
|
78
|
+
// { id: 6, title: 'Take a photo of your Right right side of your ID', description: 'This helps us verify your documents quickly and securely',type:"cameraSelfie", options:[] },
|
|
79
|
+
|
|
80
|
+
// ]
|
|
81
|
+
const handleFilesSelected = (files: Array<{ uri: string; path: string; name: string }>) => {
|
|
82
|
+
console.log('Files selected:', files);
|
|
83
|
+
// Ici vous pourriez traiter les fichiers sélectionnés
|
|
84
|
+
// Par exemple, les ajouter au store KYC
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
const renderStep = () => {
|
|
88
|
+
switch (currentStep) {
|
|
89
|
+
case 0:
|
|
90
|
+
return (
|
|
91
|
+
<View style={styles.stepContainer}>
|
|
92
|
+
<Text style={styles.stepTitle}>Autoriser la localisation</Text>
|
|
93
|
+
<Text style={styles.stepDescription}>
|
|
94
|
+
Nous avons besoin de votre localisation (GPS) pour des raisons de conformité.
|
|
95
|
+
</Text>
|
|
96
|
+
{hasLocationPermission ? (
|
|
97
|
+
<Text style={{ color: '#4CAF50', marginBottom: 16 }}>Permission accordée ✓</Text>
|
|
98
|
+
) : null}
|
|
99
|
+
<TouchableOpacity
|
|
100
|
+
style={styles.primaryButton}
|
|
101
|
+
onPress={requestLocationPermission}
|
|
102
|
+
>
|
|
103
|
+
<Text style={styles.primaryButtonText}>Activer la localisation</Text>
|
|
104
|
+
</TouchableOpacity>
|
|
105
|
+
<TouchableOpacity
|
|
106
|
+
style={[styles.secondaryButton, { marginTop: 12, opacity: hasLocationPermission ? 1 : 0.6 }]}
|
|
107
|
+
onPress={() => hasLocationPermission && setCurrentStep(1)}
|
|
108
|
+
disabled={!hasLocationPermission}
|
|
109
|
+
>
|
|
110
|
+
<Text style={styles.secondaryButtonText}>Continuer</Text>
|
|
111
|
+
</TouchableOpacity>
|
|
112
|
+
</View>
|
|
113
|
+
);
|
|
114
|
+
|
|
115
|
+
case 1:
|
|
116
|
+
return (
|
|
117
|
+
// Écran d'accueil après permission
|
|
118
|
+
<View style={styles.stepContainer}>
|
|
119
|
+
<Text style={styles.stepTitle}>
|
|
120
|
+
Vérification d'identité
|
|
121
|
+
</Text>
|
|
122
|
+
<Text style={styles.stepDescription}>
|
|
123
|
+
Nous allons vous guider à travers le processus de vérification d'identité
|
|
124
|
+
</Text>
|
|
125
|
+
<TouchableOpacity
|
|
126
|
+
style={styles.primaryButton}
|
|
127
|
+
onPress={() => setCurrentStep(2)}
|
|
128
|
+
>
|
|
129
|
+
<Text style={styles.primaryButtonText}>
|
|
130
|
+
Commencer
|
|
131
|
+
</Text>
|
|
132
|
+
</TouchableOpacity>
|
|
133
|
+
</View>
|
|
134
|
+
);
|
|
135
|
+
|
|
136
|
+
case 2:
|
|
137
|
+
return (
|
|
138
|
+
<FileUpload
|
|
139
|
+
allowedTypes={['image/*', 'application/pdf']}
|
|
140
|
+
maxFiles={3}
|
|
141
|
+
onFilesSelected={handleFilesSelected}
|
|
142
|
+
/>
|
|
143
|
+
);
|
|
144
|
+
|
|
145
|
+
case 3:
|
|
146
|
+
return <SelfieCapture />;
|
|
147
|
+
|
|
148
|
+
case 4:
|
|
149
|
+
return (
|
|
150
|
+
<View style={styles.stepContainer}>
|
|
151
|
+
<Text style={styles.stepTitle2}>
|
|
152
|
+
Vérification en cours
|
|
153
|
+
</Text>
|
|
154
|
+
<Text style={styles.stepDescription}>
|
|
155
|
+
Veuillez patienter pendant que nous vérifions vos informations
|
|
156
|
+
</Text>
|
|
157
|
+
<View style={styles.loadingIndicator} />
|
|
158
|
+
</View>
|
|
159
|
+
);
|
|
160
|
+
|
|
161
|
+
case 5:
|
|
162
|
+
return (
|
|
163
|
+
<View style={styles.stepContainer}>
|
|
164
|
+
<Text style={styles.successTitle}>
|
|
165
|
+
✅ Terminé !
|
|
166
|
+
</Text>
|
|
167
|
+
<Text style={styles.stepDescription}>
|
|
168
|
+
Votre vérification d'identité a été complétée avec succès
|
|
169
|
+
</Text>
|
|
170
|
+
<TouchableOpacity
|
|
171
|
+
style={styles.primaryButton}
|
|
172
|
+
onPress={() => setCurrentStep(0)}
|
|
173
|
+
>
|
|
174
|
+
<Text style={styles.primaryButtonText}>
|
|
175
|
+
Recommencer
|
|
176
|
+
</Text>
|
|
177
|
+
</TouchableOpacity>
|
|
178
|
+
</View>
|
|
179
|
+
);
|
|
180
|
+
|
|
181
|
+
default:
|
|
182
|
+
return null;
|
|
183
|
+
}
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
return (
|
|
187
|
+
<View style={styles.container}>
|
|
188
|
+
{/* Header avec progression */}
|
|
189
|
+
<View style={styles.header}>
|
|
190
|
+
<View style={styles.progressContainer}>
|
|
191
|
+
<View
|
|
192
|
+
style={[styles.progressBar, { width: `${(currentStep / (steps.length - 1)) * 100}%` }]}
|
|
193
|
+
/>
|
|
194
|
+
</View>
|
|
195
|
+
<Text style={styles.headerTitle}>
|
|
196
|
+
{steps[currentStep]?.title}
|
|
197
|
+
</Text>
|
|
198
|
+
<Text style={styles.headerDescription}>
|
|
199
|
+
{steps[currentStep]?.description}
|
|
200
|
+
</Text>
|
|
201
|
+
</View>
|
|
202
|
+
|
|
203
|
+
{/* Contenu principal */}
|
|
204
|
+
<ScrollView style={styles.scrollView}>
|
|
205
|
+
{error && (
|
|
206
|
+
<View style={styles.errorContainer}>
|
|
207
|
+
<Text style={styles.errorText}>
|
|
208
|
+
Erreur: {error}
|
|
209
|
+
</Text>
|
|
210
|
+
</View>
|
|
211
|
+
)}
|
|
212
|
+
|
|
213
|
+
{renderStep()}
|
|
214
|
+
</ScrollView>
|
|
215
|
+
|
|
216
|
+
{/* Footer avec navigation */}
|
|
217
|
+
{currentStep > 0 && currentStep < 3 && (
|
|
218
|
+
<View style={styles.footer}>
|
|
219
|
+
<TouchableOpacity
|
|
220
|
+
style={styles.secondaryButton}
|
|
221
|
+
onPress={() => setCurrentStep(currentStep - 1)}
|
|
222
|
+
disabled={isProcessing}
|
|
223
|
+
>
|
|
224
|
+
<Text style={styles.secondaryButtonText}>
|
|
225
|
+
Précédent
|
|
226
|
+
</Text>
|
|
227
|
+
</TouchableOpacity>
|
|
228
|
+
|
|
229
|
+
<TouchableOpacity
|
|
230
|
+
style={styles.footerPrimaryButton}
|
|
231
|
+
onPress={() => setCurrentStep(currentStep + 1)}
|
|
232
|
+
disabled={isProcessing}
|
|
233
|
+
>
|
|
234
|
+
<Text style={styles.primaryButtonText}>
|
|
235
|
+
Suivant
|
|
236
|
+
</Text>
|
|
237
|
+
</TouchableOpacity>
|
|
238
|
+
</View>
|
|
239
|
+
)}
|
|
240
|
+
</View>
|
|
241
|
+
);
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
const styles = StyleSheet.create({
|
|
245
|
+
container: {
|
|
246
|
+
flex: 1,
|
|
247
|
+
backgroundColor: '#f8f9fa',
|
|
248
|
+
},
|
|
249
|
+
header: {
|
|
250
|
+
backgroundColor: 'white',
|
|
251
|
+
padding: 16,
|
|
252
|
+
borderBottomWidth: 1,
|
|
253
|
+
borderBottomColor: '#e5e5e5',
|
|
254
|
+
shadowColor: '#000',
|
|
255
|
+
shadowOffset: {
|
|
256
|
+
width: 0,
|
|
257
|
+
height: 2,
|
|
258
|
+
},
|
|
259
|
+
shadowOpacity: 0.1,
|
|
260
|
+
shadowRadius: 3.84,
|
|
261
|
+
elevation: 5,
|
|
262
|
+
},
|
|
263
|
+
progressContainer: {
|
|
264
|
+
width: '100%',
|
|
265
|
+
height: 8,
|
|
266
|
+
backgroundColor: '#e5e5e5',
|
|
267
|
+
borderRadius: 4,
|
|
268
|
+
overflow: 'hidden',
|
|
269
|
+
marginBottom: 8,
|
|
270
|
+
},
|
|
271
|
+
progressBar: {
|
|
272
|
+
height: '100%',
|
|
273
|
+
backgroundColor: '#4CAF50',
|
|
274
|
+
borderRadius: 4,
|
|
275
|
+
},
|
|
276
|
+
headerTitle: {
|
|
277
|
+
fontSize: 18,
|
|
278
|
+
fontWeight: '600',
|
|
279
|
+
color: '#333',
|
|
280
|
+
marginTop: 8,
|
|
281
|
+
},
|
|
282
|
+
headerDescription: {
|
|
283
|
+
fontSize: 14,
|
|
284
|
+
color: '#666',
|
|
285
|
+
},
|
|
286
|
+
scrollView: {
|
|
287
|
+
flex: 1,
|
|
288
|
+
},
|
|
289
|
+
errorContainer: {
|
|
290
|
+
backgroundColor: '#fef2f2',
|
|
291
|
+
borderWidth: 1,
|
|
292
|
+
borderColor: '#fecaca',
|
|
293
|
+
margin: 16,
|
|
294
|
+
padding: 16,
|
|
295
|
+
borderRadius: 8,
|
|
296
|
+
},
|
|
297
|
+
errorText: {
|
|
298
|
+
color: '#dc2626',
|
|
299
|
+
fontWeight: '500',
|
|
300
|
+
},
|
|
301
|
+
stepContainer: {
|
|
302
|
+
flex: 1,
|
|
303
|
+
justifyContent: 'center',
|
|
304
|
+
alignItems: 'center',
|
|
305
|
+
padding: 24,
|
|
306
|
+
},
|
|
307
|
+
stepTitle: {
|
|
308
|
+
fontSize: 30,
|
|
309
|
+
fontWeight: 'bold',
|
|
310
|
+
color: '#333',
|
|
311
|
+
marginBottom: 16,
|
|
312
|
+
textAlign: 'center',
|
|
313
|
+
},
|
|
314
|
+
stepTitle2: {
|
|
315
|
+
fontSize: 24,
|
|
316
|
+
fontWeight: 'bold',
|
|
317
|
+
color: '#333',
|
|
318
|
+
marginBottom: 16,
|
|
319
|
+
textAlign: 'center',
|
|
320
|
+
},
|
|
321
|
+
successTitle: {
|
|
322
|
+
fontSize: 30,
|
|
323
|
+
fontWeight: 'bold',
|
|
324
|
+
color: '#4CAF50',
|
|
325
|
+
marginBottom: 16,
|
|
326
|
+
textAlign: 'center',
|
|
327
|
+
},
|
|
328
|
+
stepDescription: {
|
|
329
|
+
fontSize: 18,
|
|
330
|
+
color: '#666',
|
|
331
|
+
textAlign: 'center',
|
|
332
|
+
marginBottom: 32,
|
|
333
|
+
lineHeight: 24,
|
|
334
|
+
},
|
|
335
|
+
primaryButton: {
|
|
336
|
+
backgroundColor: '#4CAF50',
|
|
337
|
+
paddingHorizontal: 32,
|
|
338
|
+
paddingVertical: 16,
|
|
339
|
+
borderRadius: 8,
|
|
340
|
+
},
|
|
341
|
+
primaryButtonText: {
|
|
342
|
+
color: 'white',
|
|
343
|
+
fontWeight: '600',
|
|
344
|
+
fontSize: 18,
|
|
345
|
+
},
|
|
346
|
+
loadingIndicator: {
|
|
347
|
+
width: 64,
|
|
348
|
+
height: 64,
|
|
349
|
+
backgroundColor: '#4CAF50',
|
|
350
|
+
borderRadius: 32,
|
|
351
|
+
opacity: 0.7,
|
|
352
|
+
},
|
|
353
|
+
footer: {
|
|
354
|
+
backgroundColor: 'white',
|
|
355
|
+
borderTopWidth: 1,
|
|
356
|
+
borderTopColor: '#e5e5e5',
|
|
357
|
+
padding: 16,
|
|
358
|
+
flexDirection: 'row',
|
|
359
|
+
justifyContent: 'space-between',
|
|
360
|
+
},
|
|
361
|
+
secondaryButton: {
|
|
362
|
+
backgroundColor: '#e5e5e5',
|
|
363
|
+
paddingHorizontal: 24,
|
|
364
|
+
paddingVertical: 12,
|
|
365
|
+
borderRadius: 8,
|
|
366
|
+
},
|
|
367
|
+
secondaryButtonText: {
|
|
368
|
+
color: '#333',
|
|
369
|
+
fontWeight: '500',
|
|
370
|
+
},
|
|
371
|
+
footerPrimaryButton: {
|
|
372
|
+
backgroundColor: '#4CAF50',
|
|
373
|
+
paddingHorizontal: 24,
|
|
374
|
+
paddingVertical: 12,
|
|
375
|
+
borderRadius: 8,
|
|
376
|
+
},
|
|
377
|
+
});
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import React, { useEffect } from 'react';
|
|
2
|
+
import { ViewStyle } from 'react-native';
|
|
3
|
+
import { requireNativeViewManager } from 'expo-modules-core';
|
|
4
|
+
|
|
5
|
+
export interface NativeCameraViewProps {
|
|
6
|
+
instructions: string;
|
|
7
|
+
showCamera: boolean;
|
|
8
|
+
style?: ViewStyle;
|
|
9
|
+
onCapture?: (event: any) => void;
|
|
10
|
+
onError?: (event: any) => void;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const NativeCameraViewComponent = requireNativeViewManager('TransfergratisSdk_TransfergratisSdkView');
|
|
14
|
+
|
|
15
|
+
export const NativeCameraView: React.FC<NativeCameraViewProps> = (props) => {
|
|
16
|
+
|
|
17
|
+
useEffect(() => {
|
|
18
|
+
console.log('🟨 [NativeCameraView] Props reçues:', {
|
|
19
|
+
instructions: props.instructions,
|
|
20
|
+
showCamera: props.showCamera,
|
|
21
|
+
hasOnCapture: !!props.onCapture,
|
|
22
|
+
hasOnError: !!props.onError
|
|
23
|
+
});
|
|
24
|
+
}, [props.instructions, props.showCamera, props.onCapture, props.onError]);
|
|
25
|
+
|
|
26
|
+
const handleCapture = (event: any) => {
|
|
27
|
+
console.log('🟨 [NativeCameraView] Événement onCapture reçu:', event);
|
|
28
|
+
if (props.onCapture) {
|
|
29
|
+
props.onCapture(event);
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
const handleError = (event: any) => {
|
|
34
|
+
console.log('🟨 [NativeCameraView] Événement onError reçu:', event);
|
|
35
|
+
if (props.onError) {
|
|
36
|
+
props.onError(event);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
return (
|
|
41
|
+
<NativeCameraViewComponent
|
|
42
|
+
{...props}
|
|
43
|
+
onCapture={handleCapture}
|
|
44
|
+
onError={handleError}
|
|
45
|
+
/>
|
|
46
|
+
);
|
|
47
|
+
};
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
import { Animated, Dimensions, StyleSheet, Text, View } from "react-native";
|
|
2
|
+
import Svg, { Defs, Mask, Rect, Path } from "react-native-svg";
|
|
3
|
+
import ScanningLine from "../Svgs/scanningLine";
|
|
4
|
+
import { IdCardOverlayProps } from "./type";
|
|
5
|
+
import StepOverlay from "./StepOverlay";
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
const IdCardOverlay = ({ xMin: xMinProps, yMin: yMinProps, xMax: xMaxProps, yMax: yMaxProps, cornerOpacity, instructions, cornerColor = "#4CAF50", stepperProps }: IdCardOverlayProps) => {
|
|
11
|
+
const screenWidth = Dimensions.get('window').width;
|
|
12
|
+
const screenHeight = Dimensions.get('window').height;
|
|
13
|
+
|
|
14
|
+
const boxWidth = xMaxProps - xMinProps;
|
|
15
|
+
const boxHeight = yMaxProps - yMinProps;
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
// Calculer les coordonnées pour centrer le cadre
|
|
23
|
+
const xMin = (screenWidth - boxWidth) / 2;
|
|
24
|
+
const yMin = (screenHeight - boxHeight) / 3;
|
|
25
|
+
const xMax = xMin + boxWidth;
|
|
26
|
+
const yMax = yMin + boxHeight;
|
|
27
|
+
|
|
28
|
+
return (
|
|
29
|
+
<View style={StyleSheet.absoluteFill}>
|
|
30
|
+
{stepperProps ? (
|
|
31
|
+
<StepOverlay {...stepperProps} />
|
|
32
|
+
) : null}
|
|
33
|
+
|
|
34
|
+
<Animated.View style={[styles.topIntruction]}>
|
|
35
|
+
<Text style={styles.topIntructionText}>
|
|
36
|
+
💡 {instructions}
|
|
37
|
+
</Text>
|
|
38
|
+
</Animated.View>
|
|
39
|
+
|
|
40
|
+
<Svg
|
|
41
|
+
height={screenHeight}
|
|
42
|
+
width={screenWidth}
|
|
43
|
+
style={styles.svg}
|
|
44
|
+
>
|
|
45
|
+
<Defs>
|
|
46
|
+
<Mask id="cameraMask">
|
|
47
|
+
{/* Fond blanc - zone visible */}
|
|
48
|
+
<Rect
|
|
49
|
+
x="0"
|
|
50
|
+
y="0"
|
|
51
|
+
width={screenWidth}
|
|
52
|
+
height={screenHeight}
|
|
53
|
+
fill="white"
|
|
54
|
+
/>
|
|
55
|
+
{/* Zone noire - zone masquée (transparente) */}
|
|
56
|
+
<Rect
|
|
57
|
+
x={xMin}
|
|
58
|
+
y={yMin}
|
|
59
|
+
width={boxWidth}
|
|
60
|
+
height={boxHeight}
|
|
61
|
+
fill="black"
|
|
62
|
+
/>
|
|
63
|
+
</Mask>
|
|
64
|
+
</Defs>
|
|
65
|
+
|
|
66
|
+
{/* Overlay semi-transparent avec masque */}
|
|
67
|
+
<Rect
|
|
68
|
+
x="0"
|
|
69
|
+
y="0"
|
|
70
|
+
width={screenWidth}
|
|
71
|
+
height={screenHeight}
|
|
72
|
+
fill="rgba(0, 0, 0, 0.5)"
|
|
73
|
+
mask="url(#cameraMask)"
|
|
74
|
+
/>
|
|
75
|
+
|
|
76
|
+
{/* Coins de la zone de capture - arrondis avec animation */}
|
|
77
|
+
{/* Coin supérieur gauche */}
|
|
78
|
+
<Path
|
|
79
|
+
d={`M ${xMin + 15} ${yMin} Q ${xMin} ${yMin} ${xMin} ${yMin + 15} L ${xMin} ${yMin + 20}`}
|
|
80
|
+
stroke={cornerColor}
|
|
81
|
+
strokeWidth="8"
|
|
82
|
+
fill="none"
|
|
83
|
+
opacity={cornerOpacity}
|
|
84
|
+
/>
|
|
85
|
+
<Path
|
|
86
|
+
d={`M ${xMin + 20} ${yMin} L ${xMin + 15} ${yMin}`}
|
|
87
|
+
stroke={cornerColor}
|
|
88
|
+
strokeWidth="8"
|
|
89
|
+
opacity={cornerOpacity}
|
|
90
|
+
/>
|
|
91
|
+
|
|
92
|
+
{/* Coin supérieur droit */}
|
|
93
|
+
<Path
|
|
94
|
+
d={`M ${xMax - 15} ${yMin} Q ${xMax} ${yMin} ${xMax} ${yMin + 15} L ${xMax} ${yMin + 20}`}
|
|
95
|
+
stroke={cornerColor}
|
|
96
|
+
strokeWidth="8"
|
|
97
|
+
fill="none"
|
|
98
|
+
opacity={cornerOpacity}
|
|
99
|
+
/>
|
|
100
|
+
<Path
|
|
101
|
+
d={`M ${xMax - 20} ${yMin} L ${xMax - 15} ${yMin}`}
|
|
102
|
+
stroke={cornerColor}
|
|
103
|
+
strokeWidth="8"
|
|
104
|
+
opacity={cornerOpacity}
|
|
105
|
+
/>
|
|
106
|
+
|
|
107
|
+
{/* Coin inférieur gauche */}
|
|
108
|
+
<Path
|
|
109
|
+
d={`M ${xMin + 15} ${yMax} Q ${xMin} ${yMax} ${xMin} ${yMax - 15} L ${xMin} ${yMax - 20}`}
|
|
110
|
+
stroke={cornerColor}
|
|
111
|
+
strokeWidth="8"
|
|
112
|
+
fill="none"
|
|
113
|
+
opacity={cornerOpacity}
|
|
114
|
+
/>
|
|
115
|
+
<Path
|
|
116
|
+
d={`M ${xMin + 20} ${yMax} L ${xMin + 15} ${yMax}`}
|
|
117
|
+
stroke={cornerColor}
|
|
118
|
+
strokeWidth="8"
|
|
119
|
+
opacity={cornerOpacity}
|
|
120
|
+
/>
|
|
121
|
+
|
|
122
|
+
{/* Coin inférieur droit */}
|
|
123
|
+
<Path
|
|
124
|
+
d={`M ${xMax - 15} ${yMax} Q ${xMax} ${yMax} ${xMax} ${yMax - 15} L ${xMax} ${yMax - 20}`}
|
|
125
|
+
stroke={cornerColor}
|
|
126
|
+
strokeWidth="8"
|
|
127
|
+
fill="none"
|
|
128
|
+
opacity={cornerOpacity}
|
|
129
|
+
/>
|
|
130
|
+
<Path
|
|
131
|
+
d={`M ${xMax - 20} ${yMax} L ${xMax - 15} ${yMax}`}
|
|
132
|
+
stroke={cornerColor}
|
|
133
|
+
strokeWidth="8"
|
|
134
|
+
opacity={cornerOpacity}
|
|
135
|
+
/>
|
|
136
|
+
</Svg>
|
|
137
|
+
|
|
138
|
+
<ScanningLine yMin={yMin} screenWidth={screenWidth} height={screenHeight} yMax={yMax} />
|
|
139
|
+
|
|
140
|
+
<View style={styles.bottomIntruction}>
|
|
141
|
+
<Text style={styles.bottomTitle}>
|
|
142
|
+
Mesurez 100cm de hauteur.
|
|
143
|
+
</Text>
|
|
144
|
+
<Text style={styles.bottomSubtitle}>
|
|
145
|
+
Ne pas déplacer la caméra pendant la capture. • Ne pas déplacer la caméra pendant la capture.
|
|
146
|
+
</Text>
|
|
147
|
+
</View>
|
|
148
|
+
</View>)
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export default IdCardOverlay;
|
|
152
|
+
|
|
153
|
+
const styles = StyleSheet.create({
|
|
154
|
+
overlay: {
|
|
155
|
+
position: 'absolute',
|
|
156
|
+
top: 0,
|
|
157
|
+
left: 0,
|
|
158
|
+
width: '100%',
|
|
159
|
+
height: '50%',
|
|
160
|
+
backgroundColor: 'rgba(0, 0, 0, 0.5)',
|
|
161
|
+
},
|
|
162
|
+
svg: {
|
|
163
|
+
position: 'absolute',
|
|
164
|
+
top: 0,
|
|
165
|
+
left: 0,
|
|
166
|
+
width: '100%',
|
|
167
|
+
height: '100%',
|
|
168
|
+
},
|
|
169
|
+
topIntruction: {
|
|
170
|
+
zIndex: 1000,
|
|
171
|
+
flexDirection: 'row',
|
|
172
|
+
alignItems: 'center',
|
|
173
|
+
justifyContent: 'center',
|
|
174
|
+
paddingVertical: 20,
|
|
175
|
+
paddingHorizontal: 10,
|
|
176
|
+
marginHorizontal: 20,
|
|
177
|
+
marginTop: 10,
|
|
178
|
+
backgroundColor: "#FDE04730",
|
|
179
|
+
borderColor: "#FDE047",
|
|
180
|
+
borderWidth: 1,
|
|
181
|
+
borderRadius: 10,
|
|
182
|
+
gap: 10,
|
|
183
|
+
},
|
|
184
|
+
topIntructionText: {
|
|
185
|
+
color: '#FDE047',
|
|
186
|
+
fontSize: 14,
|
|
187
|
+
fontWeight: 'bold',
|
|
188
|
+
textAlign: 'center',
|
|
189
|
+
},
|
|
190
|
+
bottomIntruction: {
|
|
191
|
+
position: 'absolute',
|
|
192
|
+
bottom: 0,
|
|
193
|
+
left: 0,
|
|
194
|
+
width: '100%',
|
|
195
|
+
height: '35%',
|
|
196
|
+
paddingHorizontal: 20,
|
|
197
|
+
},
|
|
198
|
+
bottomIntructionTextBold: {
|
|
199
|
+
color: 'white',
|
|
200
|
+
fontSize: 16,
|
|
201
|
+
fontWeight: 'bold',
|
|
202
|
+
textAlign: 'center',
|
|
203
|
+
},
|
|
204
|
+
bottomIntructionText: {
|
|
205
|
+
color: 'white',
|
|
206
|
+
fontSize: 14,
|
|
207
|
+
fontWeight: 'bold',
|
|
208
|
+
textAlign: 'center',
|
|
209
|
+
},
|
|
210
|
+
bottomTitle: {
|
|
211
|
+
color: 'white',
|
|
212
|
+
fontSize: 25,
|
|
213
|
+
fontWeight: 'bold',
|
|
214
|
+
textAlign: 'center',
|
|
215
|
+
},
|
|
216
|
+
bottomSubtitle: {
|
|
217
|
+
color: 'white',
|
|
218
|
+
marginTop: 15,
|
|
219
|
+
fontSize: 14,
|
|
220
|
+
fontWeight: '500',
|
|
221
|
+
textAlign: 'center',
|
|
222
|
+
},
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
image: {
|
|
226
|
+
position: 'absolute',
|
|
227
|
+
borderRadius: 10,
|
|
228
|
+
},
|
|
229
|
+
stepperContainer: {
|
|
230
|
+
flexDirection: 'row',
|
|
231
|
+
alignItems: 'center',
|
|
232
|
+
justifyContent: 'space-between',
|
|
233
|
+
paddingHorizontal: 20,
|
|
234
|
+
paddingVertical: 15,
|
|
235
|
+
// backgroundColor: 'rgba(0, 0, 0, 0.5)',
|
|
236
|
+
zIndex: 1000,
|
|
237
|
+
},
|
|
238
|
+
stepperItem: {
|
|
239
|
+
flex: 1,
|
|
240
|
+
alignItems: 'center',
|
|
241
|
+
justifyContent: 'center',
|
|
242
|
+
},
|
|
243
|
+
stepperDetails: {
|
|
244
|
+
|
|
245
|
+
alignItems: 'center',
|
|
246
|
+
justifyContent: 'center',
|
|
247
|
+
},
|
|
248
|
+
stepperItemText: {
|
|
249
|
+
color: 'white',
|
|
250
|
+
fontSize: 20,
|
|
251
|
+
fontWeight: 'bold',
|
|
252
|
+
},
|
|
253
|
+
stepperDetailsText: {
|
|
254
|
+
color: 'white',
|
|
255
|
+
fontSize: 12,
|
|
256
|
+
fontWeight: '500',
|
|
257
|
+
},
|
|
258
|
+
back: {
|
|
259
|
+
// flex: 1,
|
|
260
|
+
alignItems: 'center',
|
|
261
|
+
justifyContent: 'center',
|
|
262
|
+
},
|
|
263
|
+
next: {
|
|
264
|
+
flex: 1,
|
|
265
|
+
alignItems: 'center',
|
|
266
|
+
justifyContent: 'center',
|
|
267
|
+
},
|
|
268
|
+
|
|
269
|
+
})
|