react-native-plaid-link-sdk 12.0.0-beta.2 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -5
- package/android/.gradle/8.1.1/checksums/checksums.lock +0 -0
- package/android/.gradle/8.1.1/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/8.1.1/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/8.1.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/{build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i → .gradle/8.1.1/executionHistory/executionHistory.bin} +0 -0
- package/android/.gradle/8.1.1/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/{7.4.2/checksums/md5-checksums.bin → 8.1.1/fileHashes/fileHashes.bin} +0 -0
- package/android/.gradle/8.1.1/fileHashes/fileHashes.lock +0 -0
- package/android/{build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i → .gradle/8.1.1/fileHashes/resourceHashesCache.bin} +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/android/.gradle/file-system.probe +0 -0
- package/android/build/generated/source/buildConfig/debug/com/plaid/BuildConfig.java +2 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml +1 -1
- package/android/build/intermediates/default_proguard_files/global/proguard-android-optimize.txt-8.1.1 +117 -0
- package/android/build/intermediates/default_proguard_files/global/proguard-android.txt-8.1.1 +116 -0
- package/android/build/intermediates/default_proguard_files/global/proguard-defaults.txt-8.1.1 +117 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +2 -2
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +1 -1
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +1 -1
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +1 -1
- package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +1 -1
- package/android/build/intermediates/lint_model_metadata/debug/lint-model-metadata.properties +2 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +5 -5
- package/android/build/intermediates/merged_manifest/debug/AndroidManifest.xml +1 -1
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +14 -14
- package/android/build.gradle +5 -5
- package/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/android/src/main/java/com/plaid/PlaidModule.kt +9 -0
- package/android/src/paper/java/com/plaid/NativePlaidLinkModuleAndroidSpec.java +4 -0
- package/android/src/paper/java/com/plaid/NativePlaidLinkModuleiOSSpec.java +4 -0
- package/dist/PlaidLink.d.ts +2 -10
- package/dist/PlaidLink.js +10 -64
- package/dist/Types.d.ts +35 -19
- package/dist/Types.js +33 -19
- package/dist/fabric/EmbeddedLinkViewNativeComponent.d.ts +2 -0
- package/dist/fabric/NativePlaidLinkModuleAndroid.d.ts +1 -0
- package/dist/fabric/NativePlaidLinkModuleiOS.d.ts +1 -0
- package/dist/index.d.ts +2 -3
- package/dist/index.js +3 -3
- package/ios/PLKEmbeddedViewComponentView.h +14 -1
- package/ios/PLKEmbeddedViewComponentView.mm +6 -0
- package/ios/PLKFabricHelpers.h +44 -0
- package/ios/RNLinksdk.mm +35 -0
- package/package.json +4 -4
- package/react-native-plaid-link-sdk.podspec +8 -1
- package/src/PlaidLink.tsx +11 -84
- package/src/Types.ts +39 -21
- package/src/fabric/NativePlaidLinkModuleAndroid.ts +1 -0
- package/src/fabric/NativePlaidLinkModuleiOS.ts +1 -0
- package/src/index.ts +4 -8
- package/android/.gradle/7.4.2/checksums/checksums.lock +0 -0
- package/android/.gradle/7.4.2/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/7.4.2/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/7.4.2/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/checksums/checksums.lock +0 -0
- package/android/.gradle/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/checksums/sha1-checksums.bin +0 -0
- package/android/.idea/gradle.xml +0 -14
- package/android/.idea/misc.xml +0 -9
- package/android/.idea/vcs.xml +0 -6
- package/android/build/.transforms/0092a8c5b3b8d53158c0e0c6e375b898/results.bin +0 -1
- package/android/build/.transforms/0e66951af81b9922b7c63ed7fb3562cc/results.bin +0 -1
- package/android/build/.transforms/2a69d4f121d6026d8ba38d8c933d64ea/results.bin +0 -1
- package/android/build/.transforms/31ad915e2c12a33a2c3357d365e48061/results.bin +0 -1
- package/android/build/.transforms/31ad915e2c12a33a2c3357d365e48061/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/54b66a1d24606f57982d3ac7cc23f7b6/results.bin +0 -1
- package/android/build/.transforms/e120374f3edbd92ab79f3951d62fa50f/results.bin +0 -1
- package/android/build/.transforms/e120374f3edbd92ab79f3951d62fa50f/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/generated/source/buildConfig/release/com/plaid/BuildConfig.java +0 -10
- package/android/build/generated/source/codegen/java/com/plaid/NativePlaidLinkModuleSpec.java +0 -62
- package/android/build/generated/source/codegen/jni/CMakeLists.txt +0 -46
- package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/ComponentDescriptors.h +0 -22
- package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/EventEmitters.cpp +0 -18
- package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/EventEmitters.h +0 -19
- package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/Props.cpp +0 -21
- package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/Props.h +0 -20
- package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/ShadowNodes.cpp +0 -19
- package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/ShadowNodes.h +0 -25
- package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/States.cpp +0 -18
- package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/States.h +0 -23
- package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/rnplaidlinkJSI-generated.cpp +0 -84
- package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/rnplaidlinkJSI.h +0 -119
- package/android/build/generated/source/codegen/jni/rnplaidlink-generated.cpp +0 -70
- package/android/build/generated/source/codegen/jni/rnplaidlink.h +0 -33
- package/android/build/generated/source/codegen/schema.json +0 -243
- package/android/build/intermediates/aapt_friendly_merged_manifests/release/aapt/AndroidManifest.xml +0 -13
- package/android/build/intermediates/aapt_friendly_merged_manifests/release/aapt/output-metadata.json +0 -18
- package/android/build/intermediates/aar_metadata/release/aar-metadata.properties +0 -5
- package/android/build/intermediates/annotation_processor_list/release/annotationProcessors.json +0 -1
- package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/compile_library_classes_jar/release/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/release/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/release/R.txt +0 -2
- package/android/build/intermediates/compiled_local_resources/debug/out/layout_plk_embedded_view.xml.flat +0 -0
- package/android/build/intermediates/compiled_local_resources/release/out/layout_plk_embedded_view.xml.flat +0 -0
- package/android/build/intermediates/incremental/mergeReleaseJniLibFolders/merger.xml +0 -2
- package/android/build/intermediates/incremental/mergeReleaseShaders/merger.xml +0 -2
- package/android/build/intermediates/incremental/packageReleaseAssets/merger.xml +0 -2
- package/android/build/intermediates/incremental/release/packageReleaseResources/compile-file-map.properties +0 -2
- package/android/build/intermediates/incremental/release/packageReleaseResources/merger.xml +0 -2
- package/android/build/intermediates/java_res/debug/out/META-INF/react-native-plaid-link-sdk_debug.kotlin_module +0 -0
- package/android/build/intermediates/java_res/release/out/META-INF/react-native-plaid-link-sdk_release.kotlin_module +0 -0
- package/android/build/intermediates/javac/debug/classes/com/plaid/ActivityResultHandler.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/plaid/ActivityResultManager.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/plaid/BuildConfig.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/plaid/NativePlaidLinkModuleSpec.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/plaid/PlaidPackage$1.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/plaid/PlaidPackage.class +0 -0
- package/android/build/intermediates/javac/release/classes/com/plaid/ActivityResultHandler.class +0 -0
- package/android/build/intermediates/javac/release/classes/com/plaid/ActivityResultManager.class +0 -0
- package/android/build/intermediates/javac/release/classes/com/plaid/BuildConfig.class +0 -0
- package/android/build/intermediates/javac/release/classes/com/plaid/NativePlaidLinkModuleSpec.class +0 -0
- package/android/build/intermediates/javac/release/classes/com/plaid/PlaidPackage$1.class +0 -0
- package/android/build/intermediates/javac/release/classes/com/plaid/PlaidPackage.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/release/R-def.txt +0 -4
- package/android/build/intermediates/manifest_merge_blame_file/release/manifest-merger-blame-release-report.txt +0 -17
- package/android/build/intermediates/merged_manifest/release/AndroidManifest.xml +0 -13
- package/android/build/intermediates/navigation_json/debug/navigation.json +0 -1
- package/android/build/intermediates/navigation_json/release/navigation.json +0 -1
- package/android/build/intermediates/packaged_res/release/layout/plk_embedded_view.xml +0 -5
- package/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/release/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/release/package-aware-r.txt +0 -3
- 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.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.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.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/java-sources-proto-map.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.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 +0 -2
- 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/local-state/build-history.bin +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/counters.tab +0 -2
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileReleaseKotlin/local-state/build-history.bin +0 -0
- package/android/build/outputs/logs/manifest-merger-release-report.txt +0 -25
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/compileReleaseJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/react-native-plaid-link-sdk_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/plaid/GlobalFunctionsKt.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/plaid/PLKEmbeddedView$createEmbedded$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/plaid/PLKEmbeddedView$createEmbedded$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/plaid/PLKEmbeddedView$setupOnEventListener$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/plaid/PLKEmbeddedView.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/plaid/PLKEmbeddedViewManager$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/plaid/PLKEmbeddedViewManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/plaid/PlaidModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/plaid/PlaidModule$jsonConverter$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/plaid/PlaidModule$mActivityResultManager$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/plaid/PlaidModule$onActivityResult$linkHandler$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/plaid/PlaidModule$onActivityResult$linkHandler$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/plaid/PlaidModule$startLinkActivityForResult$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/plaid/PlaidModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/plaid/gson/PlaidJsonConverter$gson$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/plaid/gson/PlaidJsonConverter.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/plaid/gson/RNAccountAdapter.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/plaid/gson/RNLinkInstitutionAdapter.class +0 -0
- package/android/build/tmp/kotlin-classes/release/META-INF/react-native-plaid-link-sdk_release.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/release/com/plaid/GlobalFunctionsKt.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/plaid/PLKEmbeddedView$createEmbedded$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/plaid/PLKEmbeddedView$createEmbedded$2.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/plaid/PLKEmbeddedView$setupOnEventListener$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/plaid/PLKEmbeddedView.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/plaid/PLKEmbeddedViewManager$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/plaid/PLKEmbeddedViewManager.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/plaid/PlaidModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/plaid/PlaidModule$jsonConverter$2.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/plaid/PlaidModule$mActivityResultManager$2.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/plaid/PlaidModule$onActivityResult$linkHandler$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/plaid/PlaidModule$onActivityResult$linkHandler$2.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/plaid/PlaidModule$startLinkActivityForResult$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/plaid/PlaidModule.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/plaid/gson/PlaidJsonConverter$gson$2.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/plaid/gson/PlaidJsonConverter.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/plaid/gson/RNAccountAdapter.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/plaid/gson/RNLinkInstitutionAdapter.class +0 -0
- package/android/local.properties +0 -8
- package/ios/RNLinksdk.xcodeproj/project.pbxproj +0 -300
- package/ios/RNLinksdk.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
- package/ios/RNLinksdk.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/ios/RNLinksdk.xcodeproj/project.xcworkspace/xcuserdata/dtroupe.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/RNLinksdk.xcodeproj/xcuserdata/dtroupe.xcuserdatad/xcschemes/xcschememanagement.plist +0 -19
- package/ios/RNLinksdk.xcworkspace/contents.xcworkspacedata +0 -10
- package/ios/RNLinksdk.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/ios/RNLinksdk.xcworkspace/xcuserdata/dtroupe.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- /package/android/.gradle/{7.4.2 → 8.1.1}/dependencies-accessors/gc.properties +0 -0
- /package/android/.gradle/{7.4.2 → 8.1.1}/fileChanges/last-build.bin +0 -0
- /package/android/.gradle/{7.4.2 → 8.1.1}/gc.properties +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#Thu Nov 09 09:41:09 PST 2023
|
|
2
2
|
distributionBase=GRADLE_USER_HOME
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-
|
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-all.zip
|
|
4
4
|
distributionPath=wrapper/dists
|
|
5
5
|
zipStorePath=wrapper/dists
|
|
6
6
|
zipStoreBase=GRADLE_USER_HOME
|
|
@@ -19,6 +19,7 @@ import com.plaid.link.configuration.LinkTokenConfiguration
|
|
|
19
19
|
import com.plaid.link.event.LinkEvent
|
|
20
20
|
import com.plaid.link.exception.LinkException
|
|
21
21
|
import com.plaid.link.result.LinkResultHandler
|
|
22
|
+
import com.plaid.link.SubmissionData
|
|
22
23
|
import org.json.JSONException
|
|
23
24
|
import org.json.JSONObject
|
|
24
25
|
|
|
@@ -76,6 +77,14 @@ class PlaidModule internal constructor(reactContext: ReactApplicationContext) :
|
|
|
76
77
|
return builder.build()
|
|
77
78
|
}
|
|
78
79
|
|
|
80
|
+
@ReactMethod
|
|
81
|
+
override fun submit(phoneNumber: String?) {
|
|
82
|
+
if (plaidHandler != null) {
|
|
83
|
+
val submissionData = SubmissionData(phoneNumber = phoneNumber)
|
|
84
|
+
plaidHandler?.submit(submissionData)
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
79
88
|
@ReactMethod
|
|
80
89
|
override fun create(
|
|
81
90
|
token: String,
|
|
@@ -44,6 +44,10 @@ public abstract class NativePlaidLinkModuleAndroidSpec extends ReactContextBaseJ
|
|
|
44
44
|
@DoNotStrip
|
|
45
45
|
public abstract void startLinkActivityForResult(String token, boolean noLoadingState, String logLevel, Callback onSuccessCallback, Callback onExitCallback);
|
|
46
46
|
|
|
47
|
+
@ReactMethod
|
|
48
|
+
@DoNotStrip
|
|
49
|
+
public abstract void submit(String phoneNumber);
|
|
50
|
+
|
|
47
51
|
@ReactMethod
|
|
48
52
|
@DoNotStrip
|
|
49
53
|
public abstract void addListener(String eventName);
|
|
@@ -44,6 +44,10 @@ public abstract class NativePlaidLinkModuleiOSSpec extends ReactContextBaseJavaM
|
|
|
44
44
|
@DoNotStrip
|
|
45
45
|
public abstract void dismiss();
|
|
46
46
|
|
|
47
|
+
@ReactMethod
|
|
48
|
+
@DoNotStrip
|
|
49
|
+
public abstract void submit(String phoneNumber);
|
|
50
|
+
|
|
47
51
|
@ReactMethod
|
|
48
52
|
@DoNotStrip
|
|
49
53
|
public abstract void addListener(String eventName);
|
package/dist/PlaidLink.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { LinkEventListener, LinkOpenProps, LinkTokenConfiguration, PlaidLinkComponentProps, PlaidLinkProps, FinanceKitError } from './Types';
|
|
1
|
+
import { LinkEventListener, LinkOpenProps, LinkTokenConfiguration, FinanceKitError, SubmissionData } from './Types';
|
|
3
2
|
/**
|
|
4
3
|
* A hook that registers a listener on the Plaid emitter for the 'onEvent' type.
|
|
5
4
|
* The listener is cleaned up when this view is unmounted
|
|
@@ -10,6 +9,7 @@ export declare const usePlaidEmitter: (linkEventListener: LinkEventListener) =>
|
|
|
10
9
|
export declare const create: (props: LinkTokenConfiguration) => void;
|
|
11
10
|
export declare const open: (props: LinkOpenProps) => Promise<void>;
|
|
12
11
|
export declare const dismissLink: () => void;
|
|
12
|
+
export declare const submit: (data: SubmissionData) => void;
|
|
13
13
|
/**
|
|
14
14
|
* Function to sync the user's transactions from their Apple card.
|
|
15
15
|
*
|
|
@@ -25,11 +25,3 @@ export declare const dismissLink: () => void;
|
|
|
25
25
|
* @warning This method requires that your app has been granted FinanceKit access from Apple.
|
|
26
26
|
*/
|
|
27
27
|
export declare const syncFinanceKit: (token: string, requestAuthorizationIfNeeded: boolean, completion: (error?: FinanceKitError) => void) => void;
|
|
28
|
-
/**
|
|
29
|
-
* @deprecated This component is deprecated. Create your own component and use the create & open methods.
|
|
30
|
-
*/
|
|
31
|
-
export declare const PlaidLink: (props: PlaidLinkComponentProps) => React.JSX.Element;
|
|
32
|
-
/**
|
|
33
|
-
* @deprecated This method is deprecated. For faster loading use the create & open methods.
|
|
34
|
-
*/
|
|
35
|
-
export declare const openLink: (props: PlaidLinkProps) => Promise<void>;
|
package/dist/PlaidLink.js
CHANGED
|
@@ -8,8 +8,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
var _a;
|
|
11
|
-
import
|
|
12
|
-
import { NativeEventEmitter, Platform
|
|
11
|
+
import { useEffect } from 'react';
|
|
12
|
+
import { NativeEventEmitter, Platform } from 'react-native';
|
|
13
13
|
import { LinkIOSPresentationStyle, LinkLogLevel, FinanceKitErrorType, } from './Types';
|
|
14
14
|
import RNLinksdkAndroid from './fabric/NativePlaidLinkModuleAndroid';
|
|
15
15
|
import RNLinksdkiOS from './fabric/NativePlaidLinkModuleiOS';
|
|
@@ -82,6 +82,14 @@ export const dismissLink = () => {
|
|
|
82
82
|
RNLinksdkiOS === null || RNLinksdkiOS === void 0 ? void 0 : RNLinksdkiOS.dismiss();
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
|
+
export const submit = (data) => {
|
|
86
|
+
if (Platform.OS === 'android') {
|
|
87
|
+
RNLinksdkAndroid === null || RNLinksdkAndroid === void 0 ? void 0 : RNLinksdkAndroid.submit(data.phoneNumber);
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
RNLinksdkiOS === null || RNLinksdkiOS === void 0 ? void 0 : RNLinksdkiOS.submit(data.phoneNumber);
|
|
91
|
+
}
|
|
92
|
+
};
|
|
85
93
|
/**
|
|
86
94
|
* Function to sync the user's transactions from their Apple card.
|
|
87
95
|
*
|
|
@@ -114,65 +122,3 @@ export const syncFinanceKit = (token, requestAuthorizationIfNeeded, completion)
|
|
|
114
122
|
});
|
|
115
123
|
}
|
|
116
124
|
};
|
|
117
|
-
/**
|
|
118
|
-
* @deprecated This component is deprecated. Create your own component and use the create & open methods.
|
|
119
|
-
*/
|
|
120
|
-
export const PlaidLink = (props) => {
|
|
121
|
-
function onPress() {
|
|
122
|
-
var _a;
|
|
123
|
-
// Create a handler.
|
|
124
|
-
create(props.tokenConfig);
|
|
125
|
-
(_a = props.onPress) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
126
|
-
const openProps = {
|
|
127
|
-
onSuccess: props.onSuccess,
|
|
128
|
-
onExit: props.onExit,
|
|
129
|
-
iOSPresentationStyle: props.iOSPresentationStyle,
|
|
130
|
-
logLevel: props.logLevel,
|
|
131
|
-
};
|
|
132
|
-
open(openProps);
|
|
133
|
-
}
|
|
134
|
-
return (<TouchableOpacity onPress={onPress}>{props.children}</TouchableOpacity>);
|
|
135
|
-
};
|
|
136
|
-
/**
|
|
137
|
-
* @deprecated This method is deprecated. For faster loading use the create & open methods.
|
|
138
|
-
*/
|
|
139
|
-
export const openLink = (props) => __awaiter(void 0, void 0, void 0, function* () {
|
|
140
|
-
var _b, _c;
|
|
141
|
-
let config = props.tokenConfig;
|
|
142
|
-
let noLoadingState = (_b = config.noLoadingState) !== null && _b !== void 0 ? _b : false;
|
|
143
|
-
if (Platform.OS === 'android') {
|
|
144
|
-
RNLinksdkAndroid === null || RNLinksdkAndroid === void 0 ? void 0 : RNLinksdkAndroid.startLinkActivityForResult(config.token, noLoadingState, (_c = config.logLevel) !== null && _c !== void 0 ? _c : LinkLogLevel.ERROR, (result) => {
|
|
145
|
-
if (props.onSuccess != null) {
|
|
146
|
-
props.onSuccess(result);
|
|
147
|
-
}
|
|
148
|
-
}, (result) => {
|
|
149
|
-
if (props.onExit != null) {
|
|
150
|
-
if (result.error != null && result.error.displayMessage != null) {
|
|
151
|
-
//TODO(RNSDK-118): Remove errorDisplayMessage field in next major update.
|
|
152
|
-
result.error.errorDisplayMessage = result.error.displayMessage;
|
|
153
|
-
}
|
|
154
|
-
props.onExit(result);
|
|
155
|
-
}
|
|
156
|
-
});
|
|
157
|
-
}
|
|
158
|
-
else {
|
|
159
|
-
RNLinksdkiOS === null || RNLinksdkiOS === void 0 ? void 0 : RNLinksdkiOS.create(config.token, noLoadingState);
|
|
160
|
-
let presentFullScreen = props.iOSPresentationStyle == LinkIOSPresentationStyle.FULL_SCREEN;
|
|
161
|
-
RNLinksdkiOS === null || RNLinksdkiOS === void 0 ? void 0 : RNLinksdkiOS.open(presentFullScreen, (result) => {
|
|
162
|
-
if (props.onSuccess != null) {
|
|
163
|
-
props.onSuccess(result);
|
|
164
|
-
}
|
|
165
|
-
}, (error, result) => {
|
|
166
|
-
if (props.onExit != null) {
|
|
167
|
-
if (error) {
|
|
168
|
-
var data = result || {};
|
|
169
|
-
data.error = error;
|
|
170
|
-
props.onExit(data);
|
|
171
|
-
}
|
|
172
|
-
else {
|
|
173
|
-
props.onExit(result);
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
|
-
});
|
package/dist/Types.d.ts
CHANGED
|
@@ -385,52 +385,63 @@ export interface LinkEventMetadata {
|
|
|
385
385
|
timestamp: string;
|
|
386
386
|
}
|
|
387
387
|
export declare enum LinkEventName {
|
|
388
|
+
AUTO_SELECT_SAVED_INSTITUTION = "AUTO_SELECT_SAVED_INSTITUTION",
|
|
388
389
|
BANK_INCOME_INSIGHTS_COMPLETED = "BANK_INCOME_INSIGHTS_COMPLETED",
|
|
389
390
|
CLOSE_OAUTH = "CLOSE_OAUTH",
|
|
391
|
+
CONNECT_NEW_INSTITUTION = "CONNECT_NEW_INSTITUTION",
|
|
390
392
|
ERROR = "ERROR",
|
|
391
393
|
EXIT = "EXIT",
|
|
392
394
|
FAIL_OAUTH = "FAIL_OAUTH",
|
|
393
395
|
HANDOFF = "HANDOFF",
|
|
394
|
-
|
|
395
|
-
IDENTITY_VERIFICATION_PASS_STEP = "IDENTITY_VERIFICATION_PASS_STEP",
|
|
396
|
-
IDENTITY_VERIFICATION_FAIL_STEP = "IDENTITY_VERIFICATION_FAIL_STEP",
|
|
397
|
-
IDENTITY_VERIFICATION_PENDING_REVIEW_STEP = "IDENTITY_VERIFICATION_PENDING_REVIEW_STEP",
|
|
398
|
-
IDENTITY_VERIFICATION_PENDING_REVIEW_SESSION = "IDENTITY_VERIFICATION_PENDING_REVIEW_SESSION",
|
|
396
|
+
IDENTITY_VERIFICATION_CLOSE_UI = "IDENTITY_VERIFICATION_CLOSE_UI",
|
|
399
397
|
IDENTITY_VERIFICATION_CREATE_SESSION = "IDENTITY_VERIFICATION_CREATE_SESSION",
|
|
400
|
-
IDENTITY_VERIFICATION_RESUME_SESSION = "IDENTITY_VERIFICATION_RESUME_SESSION",
|
|
401
|
-
IDENTITY_VERIFICATION_PASS_SESSION = "IDENTITY_VERIFICATION_PASS_SESSION",
|
|
402
398
|
IDENTITY_VERIFICATION_FAIL_SESSION = "IDENTITY_VERIFICATION_FAIL_SESSION",
|
|
399
|
+
IDENTITY_VERIFICATION_FAIL_STEP = "IDENTITY_VERIFICATION_FAIL_STEP",
|
|
403
400
|
IDENTITY_VERIFICATION_OPEN_UI = "IDENTITY_VERIFICATION_OPEN_UI",
|
|
401
|
+
IDENTITY_VERIFICATION_PASS_SESSION = "IDENTITY_VERIFICATION_PASS_SESSION",
|
|
402
|
+
IDENTITY_VERIFICATION_PASS_STEP = "IDENTITY_VERIFICATION_PASS_STEP",
|
|
403
|
+
IDENTITY_VERIFICATION_PENDING_REVIEW_SESSION = "IDENTITY_VERIFICATION_PENDING_REVIEW_SESSION",
|
|
404
|
+
IDENTITY_VERIFICATION_PENDING_REVIEW_STEP = "IDENTITY_VERIFICATION_PENDING_REVIEW_STEP",
|
|
405
|
+
IDENTITY_VERIFICATION_RESUME_SESSION = "IDENTITY_VERIFICATION_RESUME_SESSION",
|
|
404
406
|
IDENTITY_VERIFICATION_RESUME_UI = "IDENTITY_VERIFICATION_RESUME_UI",
|
|
405
|
-
|
|
407
|
+
IDENTITY_VERIFICATION_START_STEP = "IDENTITY_VERIFICATION_START_STEP",
|
|
408
|
+
LAYER_NOT_AVAILABLE = "LAYER_NOT_AVAILABLE",
|
|
409
|
+
LAYER_READY = "LAYER_READY",
|
|
406
410
|
MATCHED_CONSENT = "MATCHED_CONSENT",
|
|
407
411
|
MATCHED_SELECT_INSTITUTION = "MATCHED_SELECT_INSTITUTION",
|
|
408
412
|
MATCHED_SELECT_VERIFY_METHOD = "MATCHED_SELECT_VERIFY_METHOD",
|
|
409
413
|
OPEN = "OPEN",
|
|
410
414
|
OPEN_MY_PLAID = "OPEN_MY_PLAID",
|
|
411
415
|
OPEN_OAUTH = "OPEN_OAUTH",
|
|
412
|
-
|
|
416
|
+
PLAID_CHECK_PANE = "PLAID_CHECK_PANE",
|
|
413
417
|
PROFILE_ELIGIBILITY_CHECK_ERROR = "PROFILE_ELIGIBILITY_CHECK_ERROR",
|
|
418
|
+
PROFILE_ELIGIBILITY_CHECK_READY = "PROFILE_ELIGIBILITY_CHECK_READY",
|
|
419
|
+
REMEMBER_ME_DISABLED = "REMEMBER_ME_DISABLED",
|
|
420
|
+
REMEMBER_ME_ENABLED = "REMEMBER_ME_ENABLED",
|
|
421
|
+
REMEMBER_ME_HOLDOUT = "REMEMBER_ME_HOLDOUT",
|
|
414
422
|
SEARCH_INSTITUTION = "SEARCH_INSTITUTION",
|
|
423
|
+
SELECT_AUTH_TYPE = "SELECT_AUTH_TYPE",
|
|
424
|
+
SELECT_BRAND = "SELECT_BRAND",
|
|
415
425
|
SELECT_DEGRADED_INSTITUTION = "SELECT_DEGRADED_INSTITUTION",
|
|
416
426
|
SELECT_DOWN_INSTITUTION = "SELECT_DOWN_INSTITUTION",
|
|
417
427
|
SELECT_FILTERED_INSTITUTION = "SELECT_FILTERED_INSTITUTION",
|
|
418
428
|
SELECT_INSTITUTION = "SELECT_INSTITUTION",
|
|
419
|
-
|
|
420
|
-
|
|
429
|
+
SELECT_SAVED_ACCOUNT = "SELECT_SAVED_ACCOUNT",
|
|
430
|
+
SELECT_SAVED_INSTITUTION = "SELECT_SAVED_INSTITUTION",
|
|
431
|
+
SKIP_SUBMIT_EMAIL = "SKIP_SUBMIT_EMAIL",
|
|
432
|
+
SKIP_SUBMIT_PHONE = "SKIP_SUBMIT_PHONE",
|
|
421
433
|
SUBMIT_ACCOUNT_NUMBER = "SUBMIT_ACCOUNT_NUMBER",
|
|
434
|
+
SUBMIT_CREDENTIALS = "SUBMIT_CREDENTIALS",
|
|
422
435
|
SUBMIT_DOCUMENTS = "SUBMIT_DOCUMENTS",
|
|
423
|
-
SUBMIT_DOCUMENTS_SUCCESS = "SUBMIT_DOCUMENTS_SUCCESS",
|
|
424
436
|
SUBMIT_DOCUMENTS_ERROR = "SUBMIT_DOCUMENTS_ERROR",
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
SUBMIT_PHONE = "SUBMIT_PHONE",
|
|
428
|
-
SKIP_SUBMIT_PHONE = "SKIP_SUBMIT_PHONE",
|
|
429
|
-
VERIFY_PHONE = "VERIFY_PHONE",
|
|
430
|
-
SUBMIT_CREDENTIALS = "SUBMIT_CREDENTIALS",
|
|
437
|
+
SUBMIT_DOCUMENTS_SUCCESS = "SUBMIT_DOCUMENTS_SUCCESS",
|
|
438
|
+
SUBMIT_EMAIL = "SUBMIT_EMAIL",
|
|
431
439
|
SUBMIT_MFA = "SUBMIT_MFA",
|
|
440
|
+
SUBMIT_PHONE = "SUBMIT_PHONE",
|
|
441
|
+
SUBMIT_ROUTING_NUMBER = "SUBMIT_ROUTING_NUMBER",
|
|
432
442
|
TRANSITION_VIEW = "TRANSITION_VIEW",
|
|
433
|
-
|
|
443
|
+
VERIFY_PHONE = "VERIFY_PHONE",
|
|
444
|
+
VIEW_DATA_TYPES = "VIEW_DATA_TYPES"
|
|
434
445
|
}
|
|
435
446
|
export declare enum LinkEventViewName {
|
|
436
447
|
ACCEPT_TOS = "ACCEPT_TOS",
|
|
@@ -457,6 +468,7 @@ export declare enum LinkEventViewName {
|
|
|
457
468
|
SCREENING = "SCREENING",
|
|
458
469
|
SELECT_ACCOUNT = "SELECT_ACCOUNT",
|
|
459
470
|
SELECT_AUTH_TYPE = "SELECT_AUTH_TYPE",
|
|
471
|
+
SUBMIT_EMAIL = "SUBMIT_EMAIL",
|
|
460
472
|
SUBMIT_PHONE = "SUBMIT_PHONE",
|
|
461
473
|
VERIFY_PHONE = "VERIFY_PHONE",
|
|
462
474
|
SELECT_SAVED_INSTITUTION = "SELECT_SAVED_INSTITUTION",
|
|
@@ -467,6 +479,7 @@ export declare enum LinkEventViewName {
|
|
|
467
479
|
SUBMIT_DOCUMENTS_SUCCESS = "SUBMIT_DOCUMENTS_SUCCESS",
|
|
468
480
|
SUBMIT_DOCUMENTS_ERROR = "SUBMIT_DOCUMENTS_ERROR",
|
|
469
481
|
UPLOAD_DOCUMENTS = "UPLOAD_DOCUMENTS",
|
|
482
|
+
VERIFY_EMAIL = "VERIFY_EMAIL",
|
|
470
483
|
VERIFY_SMS = "VERIFY_SMS"
|
|
471
484
|
}
|
|
472
485
|
export declare enum LinkIOSPresentationStyle {
|
|
@@ -521,4 +534,7 @@ interface UnknownError {
|
|
|
521
534
|
message: string;
|
|
522
535
|
}
|
|
523
536
|
export type FinanceKitError = InvalidTokenError | PermissionError | LinkApiError | PermissionAccessError | UnknownError;
|
|
537
|
+
export interface SubmissionData {
|
|
538
|
+
phoneNumber?: string;
|
|
539
|
+
}
|
|
524
540
|
export {};
|
package/dist/Types.js
CHANGED
|
@@ -337,52 +337,63 @@ export var LinkErrorType;
|
|
|
337
337
|
})(LinkErrorType || (LinkErrorType = {}));
|
|
338
338
|
export var LinkEventName;
|
|
339
339
|
(function (LinkEventName) {
|
|
340
|
+
LinkEventName["AUTO_SELECT_SAVED_INSTITUTION"] = "AUTO_SELECT_SAVED_INSTITUTION";
|
|
340
341
|
LinkEventName["BANK_INCOME_INSIGHTS_COMPLETED"] = "BANK_INCOME_INSIGHTS_COMPLETED";
|
|
341
342
|
LinkEventName["CLOSE_OAUTH"] = "CLOSE_OAUTH";
|
|
343
|
+
LinkEventName["CONNECT_NEW_INSTITUTION"] = "CONNECT_NEW_INSTITUTION";
|
|
342
344
|
LinkEventName["ERROR"] = "ERROR";
|
|
343
345
|
LinkEventName["EXIT"] = "EXIT";
|
|
344
346
|
LinkEventName["FAIL_OAUTH"] = "FAIL_OAUTH";
|
|
345
347
|
LinkEventName["HANDOFF"] = "HANDOFF";
|
|
346
|
-
LinkEventName["
|
|
347
|
-
LinkEventName["IDENTITY_VERIFICATION_PASS_STEP"] = "IDENTITY_VERIFICATION_PASS_STEP";
|
|
348
|
-
LinkEventName["IDENTITY_VERIFICATION_FAIL_STEP"] = "IDENTITY_VERIFICATION_FAIL_STEP";
|
|
349
|
-
LinkEventName["IDENTITY_VERIFICATION_PENDING_REVIEW_STEP"] = "IDENTITY_VERIFICATION_PENDING_REVIEW_STEP";
|
|
350
|
-
LinkEventName["IDENTITY_VERIFICATION_PENDING_REVIEW_SESSION"] = "IDENTITY_VERIFICATION_PENDING_REVIEW_SESSION";
|
|
348
|
+
LinkEventName["IDENTITY_VERIFICATION_CLOSE_UI"] = "IDENTITY_VERIFICATION_CLOSE_UI";
|
|
351
349
|
LinkEventName["IDENTITY_VERIFICATION_CREATE_SESSION"] = "IDENTITY_VERIFICATION_CREATE_SESSION";
|
|
352
|
-
LinkEventName["IDENTITY_VERIFICATION_RESUME_SESSION"] = "IDENTITY_VERIFICATION_RESUME_SESSION";
|
|
353
|
-
LinkEventName["IDENTITY_VERIFICATION_PASS_SESSION"] = "IDENTITY_VERIFICATION_PASS_SESSION";
|
|
354
350
|
LinkEventName["IDENTITY_VERIFICATION_FAIL_SESSION"] = "IDENTITY_VERIFICATION_FAIL_SESSION";
|
|
351
|
+
LinkEventName["IDENTITY_VERIFICATION_FAIL_STEP"] = "IDENTITY_VERIFICATION_FAIL_STEP";
|
|
355
352
|
LinkEventName["IDENTITY_VERIFICATION_OPEN_UI"] = "IDENTITY_VERIFICATION_OPEN_UI";
|
|
353
|
+
LinkEventName["IDENTITY_VERIFICATION_PASS_SESSION"] = "IDENTITY_VERIFICATION_PASS_SESSION";
|
|
354
|
+
LinkEventName["IDENTITY_VERIFICATION_PASS_STEP"] = "IDENTITY_VERIFICATION_PASS_STEP";
|
|
355
|
+
LinkEventName["IDENTITY_VERIFICATION_PENDING_REVIEW_SESSION"] = "IDENTITY_VERIFICATION_PENDING_REVIEW_SESSION";
|
|
356
|
+
LinkEventName["IDENTITY_VERIFICATION_PENDING_REVIEW_STEP"] = "IDENTITY_VERIFICATION_PENDING_REVIEW_STEP";
|
|
357
|
+
LinkEventName["IDENTITY_VERIFICATION_RESUME_SESSION"] = "IDENTITY_VERIFICATION_RESUME_SESSION";
|
|
356
358
|
LinkEventName["IDENTITY_VERIFICATION_RESUME_UI"] = "IDENTITY_VERIFICATION_RESUME_UI";
|
|
357
|
-
LinkEventName["
|
|
359
|
+
LinkEventName["IDENTITY_VERIFICATION_START_STEP"] = "IDENTITY_VERIFICATION_START_STEP";
|
|
360
|
+
LinkEventName["LAYER_NOT_AVAILABLE"] = "LAYER_NOT_AVAILABLE";
|
|
361
|
+
LinkEventName["LAYER_READY"] = "LAYER_READY";
|
|
358
362
|
LinkEventName["MATCHED_CONSENT"] = "MATCHED_CONSENT";
|
|
359
363
|
LinkEventName["MATCHED_SELECT_INSTITUTION"] = "MATCHED_SELECT_INSTITUTION";
|
|
360
364
|
LinkEventName["MATCHED_SELECT_VERIFY_METHOD"] = "MATCHED_SELECT_VERIFY_METHOD";
|
|
361
365
|
LinkEventName["OPEN"] = "OPEN";
|
|
362
366
|
LinkEventName["OPEN_MY_PLAID"] = "OPEN_MY_PLAID";
|
|
363
367
|
LinkEventName["OPEN_OAUTH"] = "OPEN_OAUTH";
|
|
364
|
-
LinkEventName["
|
|
368
|
+
LinkEventName["PLAID_CHECK_PANE"] = "PLAID_CHECK_PANE";
|
|
365
369
|
LinkEventName["PROFILE_ELIGIBILITY_CHECK_ERROR"] = "PROFILE_ELIGIBILITY_CHECK_ERROR";
|
|
370
|
+
LinkEventName["PROFILE_ELIGIBILITY_CHECK_READY"] = "PROFILE_ELIGIBILITY_CHECK_READY";
|
|
371
|
+
LinkEventName["REMEMBER_ME_DISABLED"] = "REMEMBER_ME_DISABLED";
|
|
372
|
+
LinkEventName["REMEMBER_ME_ENABLED"] = "REMEMBER_ME_ENABLED";
|
|
373
|
+
LinkEventName["REMEMBER_ME_HOLDOUT"] = "REMEMBER_ME_HOLDOUT";
|
|
366
374
|
LinkEventName["SEARCH_INSTITUTION"] = "SEARCH_INSTITUTION";
|
|
375
|
+
LinkEventName["SELECT_AUTH_TYPE"] = "SELECT_AUTH_TYPE";
|
|
376
|
+
LinkEventName["SELECT_BRAND"] = "SELECT_BRAND";
|
|
367
377
|
LinkEventName["SELECT_DEGRADED_INSTITUTION"] = "SELECT_DEGRADED_INSTITUTION";
|
|
368
378
|
LinkEventName["SELECT_DOWN_INSTITUTION"] = "SELECT_DOWN_INSTITUTION";
|
|
369
379
|
LinkEventName["SELECT_FILTERED_INSTITUTION"] = "SELECT_FILTERED_INSTITUTION";
|
|
370
380
|
LinkEventName["SELECT_INSTITUTION"] = "SELECT_INSTITUTION";
|
|
371
|
-
LinkEventName["
|
|
372
|
-
LinkEventName["
|
|
381
|
+
LinkEventName["SELECT_SAVED_ACCOUNT"] = "SELECT_SAVED_ACCOUNT";
|
|
382
|
+
LinkEventName["SELECT_SAVED_INSTITUTION"] = "SELECT_SAVED_INSTITUTION";
|
|
383
|
+
LinkEventName["SKIP_SUBMIT_EMAIL"] = "SKIP_SUBMIT_EMAIL";
|
|
384
|
+
LinkEventName["SKIP_SUBMIT_PHONE"] = "SKIP_SUBMIT_PHONE";
|
|
373
385
|
LinkEventName["SUBMIT_ACCOUNT_NUMBER"] = "SUBMIT_ACCOUNT_NUMBER";
|
|
386
|
+
LinkEventName["SUBMIT_CREDENTIALS"] = "SUBMIT_CREDENTIALS";
|
|
374
387
|
LinkEventName["SUBMIT_DOCUMENTS"] = "SUBMIT_DOCUMENTS";
|
|
375
|
-
LinkEventName["SUBMIT_DOCUMENTS_SUCCESS"] = "SUBMIT_DOCUMENTS_SUCCESS";
|
|
376
388
|
LinkEventName["SUBMIT_DOCUMENTS_ERROR"] = "SUBMIT_DOCUMENTS_ERROR";
|
|
377
|
-
LinkEventName["
|
|
378
|
-
LinkEventName["
|
|
379
|
-
LinkEventName["SUBMIT_PHONE"] = "SUBMIT_PHONE";
|
|
380
|
-
LinkEventName["SKIP_SUBMIT_PHONE"] = "SKIP_SUBMIT_PHONE";
|
|
381
|
-
LinkEventName["VERIFY_PHONE"] = "VERIFY_PHONE";
|
|
382
|
-
LinkEventName["SUBMIT_CREDENTIALS"] = "SUBMIT_CREDENTIALS";
|
|
389
|
+
LinkEventName["SUBMIT_DOCUMENTS_SUCCESS"] = "SUBMIT_DOCUMENTS_SUCCESS";
|
|
390
|
+
LinkEventName["SUBMIT_EMAIL"] = "SUBMIT_EMAIL";
|
|
383
391
|
LinkEventName["SUBMIT_MFA"] = "SUBMIT_MFA";
|
|
392
|
+
LinkEventName["SUBMIT_PHONE"] = "SUBMIT_PHONE";
|
|
393
|
+
LinkEventName["SUBMIT_ROUTING_NUMBER"] = "SUBMIT_ROUTING_NUMBER";
|
|
384
394
|
LinkEventName["TRANSITION_VIEW"] = "TRANSITION_VIEW";
|
|
385
|
-
LinkEventName["
|
|
395
|
+
LinkEventName["VERIFY_PHONE"] = "VERIFY_PHONE";
|
|
396
|
+
LinkEventName["VIEW_DATA_TYPES"] = "VIEW_DATA_TYPES";
|
|
386
397
|
})(LinkEventName || (LinkEventName = {}));
|
|
387
398
|
export var LinkEventViewName;
|
|
388
399
|
(function (LinkEventViewName) {
|
|
@@ -410,6 +421,7 @@ export var LinkEventViewName;
|
|
|
410
421
|
LinkEventViewName["SCREENING"] = "SCREENING";
|
|
411
422
|
LinkEventViewName["SELECT_ACCOUNT"] = "SELECT_ACCOUNT";
|
|
412
423
|
LinkEventViewName["SELECT_AUTH_TYPE"] = "SELECT_AUTH_TYPE";
|
|
424
|
+
LinkEventViewName["SUBMIT_EMAIL"] = "SUBMIT_EMAIL";
|
|
413
425
|
LinkEventViewName["SUBMIT_PHONE"] = "SUBMIT_PHONE";
|
|
414
426
|
LinkEventViewName["VERIFY_PHONE"] = "VERIFY_PHONE";
|
|
415
427
|
LinkEventViewName["SELECT_SAVED_INSTITUTION"] = "SELECT_SAVED_INSTITUTION";
|
|
@@ -420,6 +432,7 @@ export var LinkEventViewName;
|
|
|
420
432
|
LinkEventViewName["SUBMIT_DOCUMENTS_SUCCESS"] = "SUBMIT_DOCUMENTS_SUCCESS";
|
|
421
433
|
LinkEventViewName["SUBMIT_DOCUMENTS_ERROR"] = "SUBMIT_DOCUMENTS_ERROR";
|
|
422
434
|
LinkEventViewName["UPLOAD_DOCUMENTS"] = "UPLOAD_DOCUMENTS";
|
|
435
|
+
LinkEventViewName["VERIFY_EMAIL"] = "VERIFY_EMAIL";
|
|
423
436
|
LinkEventViewName["VERIFY_SMS"] = "VERIFY_SMS";
|
|
424
437
|
})(LinkEventViewName || (LinkEventViewName = {}));
|
|
425
438
|
/// Methods to present Link on iOS.
|
|
@@ -438,3 +451,4 @@ export var FinanceKitErrorType;
|
|
|
438
451
|
FinanceKitErrorType[FinanceKitErrorType["PermissionAccessError"] = 3] = "PermissionAccessError";
|
|
439
452
|
FinanceKitErrorType[FinanceKitErrorType["Unknown"] = 4] = "Unknown";
|
|
440
453
|
})(FinanceKitErrorType || (FinanceKitErrorType = {}));
|
|
454
|
+
;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference types="react-native/types/modules/codegen" />
|
|
2
|
+
/// <reference types="react-native/modules/codegen" />
|
|
1
3
|
import type { ViewProps } from 'react-native';
|
|
2
4
|
import { DirectEventHandler, UnsafeMixed } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
5
|
export interface NativeProps extends ViewProps {
|
|
@@ -6,6 +6,7 @@ export interface Spec extends TurboModule {
|
|
|
6
6
|
create(token: string, noLoadingState: boolean, logLevel: string): void;
|
|
7
7
|
open(onSuccess: (result: UnsafeObject<LinkSuccess>) => void, onExit: (result: UnsafeObject<LinkExit>) => void): void;
|
|
8
8
|
startLinkActivityForResult(token: string, noLoadingState: boolean, logLevel: string, onSuccessCallback: (result: UnsafeObject<LinkSuccess>) => void, onExitCallback: (result: UnsafeObject<LinkExit>) => void): void;
|
|
9
|
+
submit(phoneNumber: string | undefined): void;
|
|
9
10
|
addListener(eventName: string): void;
|
|
10
11
|
removeListeners(count: Double): void;
|
|
11
12
|
}
|
|
@@ -6,6 +6,7 @@ export interface Spec extends TurboModule {
|
|
|
6
6
|
create(token: string, noLoadingState: boolean): void;
|
|
7
7
|
open(fullScreen: boolean, onSuccess: (result: UnsafeObject<LinkSuccess>) => void, onExit: (error: UnsafeObject<LinkError>, result: UnsafeObject<LinkExit>) => void): void;
|
|
8
8
|
dismiss(): void;
|
|
9
|
+
submit(phoneNumber: string | undefined): void;
|
|
9
10
|
addListener(eventName: string): void;
|
|
10
11
|
removeListeners(count: Int32): void;
|
|
11
12
|
syncFinanceKit(token: string, requestAuthorizationIfNeeded: boolean, onSuccess: (success: void) => void, onError: (error: FinanceKitError) => void): void;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { create, open, dismissLink, usePlaidEmitter, syncFinanceKit, submit } from './PlaidLink';
|
|
2
2
|
export * from './Types';
|
|
3
|
-
export
|
|
4
|
-
export { PlaidLink, openLink, create, open, dismissLink, usePlaidEmitter, syncFinanceKit };
|
|
3
|
+
export { create, open, dismissLink, usePlaidEmitter, syncFinanceKit, submit, };
|
|
5
4
|
export { EmbeddedLinkView } from './EmbeddedLink/EmbeddedLinkView';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
// qwe clean this up...
|
|
2
|
+
import { create, open, dismissLink, usePlaidEmitter, syncFinanceKit, submit, } from './PlaidLink';
|
|
2
3
|
export * from './Types';
|
|
3
|
-
export
|
|
4
|
-
export { PlaidLink, openLink, create, open, dismissLink, usePlaidEmitter, syncFinanceKit };
|
|
4
|
+
export { create, open, dismissLink, usePlaidEmitter, syncFinanceKit, submit, };
|
|
5
5
|
// Components
|
|
6
6
|
export { EmbeddedLinkView } from './EmbeddedLink/EmbeddedLinkView';
|
|
@@ -1,12 +1,25 @@
|
|
|
1
1
|
#ifdef RCT_NEW_ARCH_ENABLED
|
|
2
2
|
|
|
3
3
|
#import <UIKit/UIKit.h>
|
|
4
|
-
|
|
5
4
|
#import <React/RCTUIManager.h>
|
|
6
5
|
#import <React/RCTViewComponentView.h>
|
|
7
6
|
|
|
8
7
|
NS_ASSUME_NONNULL_BEGIN
|
|
9
8
|
|
|
9
|
+
/**
|
|
10
|
+
* This file is required for compatibility with React Native's New Architecture (Fabric Renderer).
|
|
11
|
+
*
|
|
12
|
+
* - PLKEmbeddedViewComponentView extends `RCTViewComponentView` to define a custom native view
|
|
13
|
+
* that works with the Fabric rendering system, improving UI performance and concurrency.
|
|
14
|
+
* - The `#ifdef RCT_NEW_ARCH_ENABLED` directive ensures this code is only compiled when the
|
|
15
|
+
* New Architecture is enabled, avoiding compatibility issues with older architectures.
|
|
16
|
+
* - Custom native views like this are essential when integrating UIKit-based components into
|
|
17
|
+
* React Native apps under the New Architecture.
|
|
18
|
+
* - `RCTUIManager` handles the interaction between the native view and the React Native bridge,
|
|
19
|
+
* enabling updates and commands from the JavaScript side.
|
|
20
|
+
*
|
|
21
|
+
* Ref - https://github.com/reactwg/react-native-new-architecture/blob/main/docs/backwards-compat-turbo-modules.md
|
|
22
|
+
*/
|
|
10
23
|
@interface PLKEmbeddedViewComponentView : RCTViewComponentView
|
|
11
24
|
@end
|
|
12
25
|
|
|
@@ -18,6 +18,12 @@ using namespace facebook::react;
|
|
|
18
18
|
PLKEmbeddedView *_view;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
22
|
+
+ (void)load
|
|
23
|
+
{
|
|
24
|
+
[super load];
|
|
25
|
+
}
|
|
26
|
+
|
|
21
27
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
22
28
|
{
|
|
23
29
|
if (self = [super initWithFrame:frame]) {
|
package/ios/PLKFabricHelpers.h
CHANGED
|
@@ -2,11 +2,55 @@
|
|
|
2
2
|
#import <folly/dynamic.h>
|
|
3
3
|
#import <objc/runtime.h>
|
|
4
4
|
|
|
5
|
+
// This block checks for the appropriate header file inclusion for the Plaid Link SDK.
|
|
6
|
+
// It handles various project configurations such as the presence of `USE_FRAMEWORKS`
|
|
7
|
+
// and whether the new architecture (`RCT_NEW_ARCH_ENABLED`) is enabled.
|
|
8
|
+
|
|
5
9
|
#if __has_include(<rnplaidlink/react_native_plaid_link_sdk-Swift.h>)
|
|
10
|
+
// If the header file is available under the rnplaidlink module, include it.
|
|
11
|
+
// This is typically the case when the module is structured with this specific header path.
|
|
6
12
|
#import <rnplaidlink/react_native_plaid_link_sdk-Swift.h>
|
|
13
|
+
|
|
14
|
+
#else
|
|
15
|
+
// If the header is not found at the above path, check for other configurations.
|
|
16
|
+
#if defined(RCT_NEW_ARCH_ENABLED) && defined(USE_FRAMEWORKS)
|
|
17
|
+
// Include the header for projects with the new React Native architecture and `use_frameworks!` enabled.
|
|
18
|
+
// This path supports modular builds with frameworks.
|
|
19
|
+
#import <react_native_plaid_link_sdk/react_native_plaid_link_sdk-Swift.h>
|
|
20
|
+
|
|
7
21
|
#else
|
|
22
|
+
#ifdef USE_FRAMEWORKS
|
|
23
|
+
// Include the header for projects using frameworks (`use_frameworks!` in the Podfile).
|
|
24
|
+
#import <react_native_plaid_link_sdk/react_native_plaid_link_sdk-Swift.h>
|
|
25
|
+
|
|
26
|
+
#else
|
|
27
|
+
// Default to including the header directly for non-framework builds.
|
|
8
28
|
#import <react_native_plaid_link_sdk-Swift.h>
|
|
9
29
|
#endif
|
|
30
|
+
#endif
|
|
31
|
+
#endif
|
|
32
|
+
|
|
33
|
+
/*
|
|
34
|
+
|
|
35
|
+
### Notes for Developers: If you experience a compiler error above!
|
|
36
|
+
|
|
37
|
+
1. If you're using frameworks - Ensure your pods are installed with the `USE_FRAMEWORKS=1` environment variable:
|
|
38
|
+
USE_FRAMEWORKS=1 bundle exec pod install
|
|
39
|
+
|
|
40
|
+
2. Verify that your `Podfile` includes either:
|
|
41
|
+
use_frameworks! :linkage => :dynamic
|
|
42
|
+
or
|
|
43
|
+
use_frameworks! :linkage => :static
|
|
44
|
+
|
|
45
|
+
3. Refer to these GitHub issues for more details:
|
|
46
|
+
- https://github.com/plaid/react-native-plaid-link-sdk/issues/713
|
|
47
|
+
- https://github.com/plaid/react-native-plaid-link-sdk/issues/732
|
|
48
|
+
|
|
49
|
+
### Troubleshooting:
|
|
50
|
+
- If `USE_FRAMEWORKS` is not working, ensure it is correctly passed as a preprocessor macro in your Xcode build settings.
|
|
51
|
+
- For new architecture projects, confirm `RCT_NEW_ARCH_ENABLED` is properly set in your environment.
|
|
52
|
+
*/
|
|
53
|
+
|
|
10
54
|
|
|
11
55
|
// copied from RCTFollyConvert
|
|
12
56
|
folly::dynamic PLKConvertIdToFollyDynamic(id json)
|
package/ios/RNLinksdk.mm
CHANGED
|
@@ -202,6 +202,15 @@ RCT_EXPORT_METHOD(syncFinanceKit:(NSString *)token
|
|
|
202
202
|
}
|
|
203
203
|
];
|
|
204
204
|
}
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
RCT_EXPORT_METHOD(submit:(NSString * _Nullable)phoneNumber) {
|
|
208
|
+
if (self.linkHandler) {
|
|
209
|
+
PLKSubmissionData *submissionData = [[PLKSubmissionData alloc] init];
|
|
210
|
+
submissionData.phoneNumber = phoneNumber;
|
|
211
|
+
[self.linkHandler submit: submissionData];
|
|
212
|
+
}
|
|
213
|
+
}
|
|
205
214
|
|
|
206
215
|
#pragma mark - Bridging
|
|
207
216
|
|
|
@@ -495,6 +504,28 @@ RCT_EXPORT_METHOD(syncFinanceKit:(NSString *)token
|
|
|
495
504
|
return @"CONNECT_NEW_INSTITUTION";
|
|
496
505
|
case PLKEventNameValueSubmitOTP:
|
|
497
506
|
return @"SUBMIT_OTP";
|
|
507
|
+
case PLKEventNameValueLayerReady:
|
|
508
|
+
return @"LAYER_READY";
|
|
509
|
+
case PLKEventNameValueLayerNotAvailable:
|
|
510
|
+
return @"LAYER_NOT_AVAILABLE";
|
|
511
|
+
case PLKEventNameValueSubmitEmail:
|
|
512
|
+
return @"SUBMIT_EMAIL";
|
|
513
|
+
case PLKEventNameValueSkipSubmitEmail:
|
|
514
|
+
return @"SKIP_SUBMIT_EMAIL";
|
|
515
|
+
case PLKEventNameValueRememberMeEnabled:
|
|
516
|
+
return @"REMEMBER_ME_ENABLED";
|
|
517
|
+
case PLKEventNameValueRememberMeDisabled:
|
|
518
|
+
return @"REMEMBER_ME_DISABLED";
|
|
519
|
+
case PLKEventNameValueRememberMeHoldout:
|
|
520
|
+
return @"REMEMBER_ME_HOLDOUT";
|
|
521
|
+
case PLKEventNameValueSelectSavedInstitution:
|
|
522
|
+
return @"SELECT_SAVED_INSTITUTION";
|
|
523
|
+
case PLKEventNameValueSelectSavedAccount:
|
|
524
|
+
return @"SELECT_SAVED_ACCOUNT";
|
|
525
|
+
case PLKEventNameValueAutoSelectSavedInstitution:
|
|
526
|
+
return @"AUTO_SELECT_SAVED_INSTITUTION";
|
|
527
|
+
case PLKEventNameValuePlaidCheckPane:
|
|
528
|
+
return @"PLAID_CHECK_PANE";
|
|
498
529
|
}
|
|
499
530
|
return @"unknown";
|
|
500
531
|
}
|
|
@@ -642,6 +673,10 @@ RCT_EXPORT_METHOD(syncFinanceKit:(NSString *)token
|
|
|
642
673
|
return @"SELECT_SAVED_ACCOUNT";
|
|
643
674
|
case PLKViewNameValueProfileDataReview:
|
|
644
675
|
return @"PROFILE_DATA_REVIEW";
|
|
676
|
+
case PLKViewNameValueSubmitEmail:
|
|
677
|
+
return @"SUBMIT_EMAIL";
|
|
678
|
+
case PLKViewNameValueVerifyEmail:
|
|
679
|
+
return @"VERIFY_EMAIL";
|
|
645
680
|
}
|
|
646
681
|
|
|
647
682
|
return @"unknown";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-plaid-link-sdk",
|
|
3
|
-
"version": "12.0.0
|
|
3
|
+
"version": "12.0.0",
|
|
4
4
|
"description": "React Native Plaid Link SDK",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@react-native-community/eslint-plugin": "^1.1.0",
|
|
50
50
|
"@types/jest": "^26.0.14",
|
|
51
|
-
"@types/react": "^
|
|
51
|
+
"@types/react": "^18.2.6",
|
|
52
52
|
"@types/react-native": "^0.71.3",
|
|
53
53
|
"@types/react-test-renderer": "^16.9.3",
|
|
54
54
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
"jest": "^29.6.1",
|
|
62
62
|
"lint-staged": "^9.4.2",
|
|
63
63
|
"prettier": "^1.18.2",
|
|
64
|
-
"react": "18.
|
|
65
|
-
"react-native": "0.
|
|
64
|
+
"react": "18.2.0",
|
|
65
|
+
"react-native": "0.74.3",
|
|
66
66
|
"typescript": "^4.9.5"
|
|
67
67
|
},
|
|
68
68
|
"codegenConfig": {
|
|
@@ -21,6 +21,13 @@ Pod::Spec.new do |s|
|
|
|
21
21
|
# we don't want this to be seen by Swift
|
|
22
22
|
s.private_header_files = 'ios/PLKFabricHelpers.h'
|
|
23
23
|
|
|
24
|
+
if ENV['USE_FRAMEWORKS'] == '1'
|
|
25
|
+
s.pod_target_xcconfig = {
|
|
26
|
+
"OTHER_CFLAGS" => "$(inherited) -DUSE_FRAMEWORKS",
|
|
27
|
+
"OTHER_CPLUSPLUSFLAGS" => "$(inherited) -DUSE_FRAMEWORKS",
|
|
28
|
+
}
|
|
29
|
+
end
|
|
30
|
+
|
|
24
31
|
if fabric_enabled
|
|
25
32
|
install_modules_dependencies(s)
|
|
26
33
|
else
|
|
@@ -28,5 +35,5 @@ Pod::Spec.new do |s|
|
|
|
28
35
|
end
|
|
29
36
|
|
|
30
37
|
s.dependency 'React-Core'
|
|
31
|
-
s.dependency 'Plaid', '~> 6.0.0
|
|
38
|
+
s.dependency 'Plaid', '~> 6.0.0'
|
|
32
39
|
end
|