react-native-plaid-link-sdk 12.7.0 → 12.8.1
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 +4 -2
- package/android/build.gradle +1 -1
- package/android/src/main/AndroidManifest.xml +1 -1
- package/android/src/main/java/com/plaid/PlaidModule.kt +10 -2
- package/android/src/paper/java/com/plaid/NativePlaidLinkModuleAndroidSpec.java +2 -1
- package/android/src/paper/java/com/plaid/NativePlaidLinkModuleiOSSpec.java +2 -1
- package/dist/PlaidLink.js +2 -2
- package/dist/Types.d.ts +2 -0
- package/dist/Types.js +8 -4
- package/dist/fabric/EmbeddedLinkViewNativeComponent.d.ts +2 -0
- package/dist/fabric/NativePlaidLinkModuleAndroid.d.ts +1 -1
- package/dist/fabric/NativePlaidLinkModuleiOS.d.ts +1 -1
- package/ios/RNLinksdk.mm +5 -2
- package/package.json +2 -2
- package/react-native-plaid-link-sdk.podspec +1 -1
- package/src/PlaidLink.tsx +2 -2
- package/src/Types.ts +1 -0
- package/src/fabric/NativePlaidLinkModuleAndroid.ts +2 -1
- package/src/fabric/NativePlaidLinkModuleiOS.ts +2 -1
- 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/.gradle/8.1.1/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/8.1.1/executionHistory/executionHistory.bin +0 -0
- package/android/.gradle/8.1.1/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/8.1.1/fileChanges/last-build.bin +0 -0
- package/android/.gradle/8.1.1/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/8.1.1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.1.1/fileHashes/resourceHashesCache.bin +0 -0
- package/android/.gradle/8.1.1/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/android/.gradle/file-system.probe +0 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/build/.transforms/102278d013f9769e7703ddf5e4f97b8e/results.bin +0 -1
- package/android/build/.transforms/102278d013f9769e7703ddf5e4f97b8e/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/81ada3d60f135f1cf4a07fb88708ada3/results.bin +0 -1
- package/android/build/.transforms/81ada3d60f135f1cf4a07fb88708ada3/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/react/viewmanagers/PLKEmbeddedViewManagerDelegate.dex +0 -0
- package/android/build/.transforms/81ada3d60f135f1cf4a07fb88708ada3/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/react/viewmanagers/PLKEmbeddedViewManagerInterface.dex +0 -0
- package/android/build/.transforms/81ada3d60f135f1cf4a07fb88708ada3/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/plaid/ActivityResultHandler.dex +0 -0
- package/android/build/.transforms/81ada3d60f135f1cf4a07fb88708ada3/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/plaid/ActivityResultManager.dex +0 -0
- package/android/build/.transforms/81ada3d60f135f1cf4a07fb88708ada3/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/plaid/BuildConfig.dex +0 -0
- package/android/build/.transforms/81ada3d60f135f1cf4a07fb88708ada3/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/plaid/GlobalFunctionsKt.dex +0 -0
- package/android/build/.transforms/81ada3d60f135f1cf4a07fb88708ada3/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/plaid/NativePlaidLinkModuleAndroidSpec.dex +0 -0
- package/android/build/.transforms/81ada3d60f135f1cf4a07fb88708ada3/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/plaid/NativePlaidLinkModuleiOSSpec.dex +0 -0
- package/android/build/.transforms/81ada3d60f135f1cf4a07fb88708ada3/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/plaid/PLKEmbeddedView.dex +0 -0
- package/android/build/.transforms/81ada3d60f135f1cf4a07fb88708ada3/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/plaid/PLKEmbeddedViewManager$Companion.dex +0 -0
- package/android/build/.transforms/81ada3d60f135f1cf4a07fb88708ada3/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/plaid/PLKEmbeddedViewManager.dex +0 -0
- package/android/build/.transforms/81ada3d60f135f1cf4a07fb88708ada3/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/plaid/PlaidModule$Companion.dex +0 -0
- package/android/build/.transforms/81ada3d60f135f1cf4a07fb88708ada3/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/plaid/PlaidModule.dex +0 -0
- package/android/build/.transforms/81ada3d60f135f1cf4a07fb88708ada3/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/plaid/PlaidPackage$1.dex +0 -0
- package/android/build/.transforms/81ada3d60f135f1cf4a07fb88708ada3/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/plaid/PlaidPackage$2.dex +0 -0
- package/android/build/.transforms/81ada3d60f135f1cf4a07fb88708ada3/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/plaid/PlaidPackage.dex +0 -0
- package/android/build/.transforms/81ada3d60f135f1cf4a07fb88708ada3/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/plaid/gson/PlaidJsonConverter.dex +0 -0
- package/android/build/.transforms/81ada3d60f135f1cf4a07fb88708ada3/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/plaid/gson/RNAccountAdapter.dex +0 -0
- package/android/build/.transforms/81ada3d60f135f1cf4a07fb88708ada3/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/plaid/gson/RNEventMetadataAdapter.dex +0 -0
- package/android/build/.transforms/81ada3d60f135f1cf4a07fb88708ada3/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/plaid/gson/RNLinkInstitutionAdapter.dex +0 -0
- package/android/build/.transforms/81ada3d60f135f1cf4a07fb88708ada3/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/generated/source/buildConfig/debug/com/plaid/BuildConfig.java +0 -12
- package/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/PLKEmbeddedViewManagerDelegate.java +0 -35
- package/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/PLKEmbeddedViewManagerInterface.java +0 -19
- package/android/build/generated/source/codegen/java/com/plaid/NativePlaidLinkModuleAndroidSpec.java +0 -64
- package/android/build/generated/source/codegen/java/com/plaid/NativePlaidLinkModuleiOSSpec.java +0 -63
- package/android/build/generated/source/codegen/jni/CMakeLists.txt +0 -28
- package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/ComponentDescriptors.cpp +0 -22
- package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/ComponentDescriptors.h +0 -24
- package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/EventEmitters.cpp +0 -28
- package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/EventEmitters.h +0 -29
- package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/Props.cpp +0 -52
- package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/Props.h +0 -34
- package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/ShadowNodes.cpp +0 -17
- package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/ShadowNodes.h +0 -32
- package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/States.cpp +0 -16
- package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/States.h +0 -20
- package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/rnplaidlinkJSI-generated.cpp +0 -149
- package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/rnplaidlinkJSI.h +0 -233
- package/android/build/generated/source/codegen/jni/rnplaidlink-generated.cpp +0 -116
- package/android/build/generated/source/codegen/jni/rnplaidlink.h +0 -39
- package/android/build/generated/source/codegen/schema.json +0 -1
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -13
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
- package/android/build/intermediates/aar_main_jar/debug/syncDebugLibJars/classes.jar +0 -0
- package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
- package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
- package/android/build/intermediates/annotations_typedef_file/debug/extractDebugAnnotations/typedefs.txt +0 -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 +0 -2
- package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/layout_plk_embedded_view.xml.flat +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -2
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
- package/android/build/intermediates/incremental/debug-mergeJavaRes/merge-state +0 -0
- package/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +0 -2
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
- package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/react-native-plaid-link-sdk_debug.kotlin_module +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/PLKEmbeddedViewManagerDelegate.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/PLKEmbeddedViewManagerInterface.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/plaid/ActivityResultHandler.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/plaid/ActivityResultManager.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/plaid/BuildConfig.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/plaid/NativePlaidLinkModuleAndroidSpec.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/plaid/NativePlaidLinkModuleiOSSpec.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/plaid/PlaidPackage$1.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/plaid/PlaidPackage$2.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/plaid/PlaidPackage.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -4
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -17
- package/android/build/intermediates/merged_java_res/debug/mergeDebugJavaResource/feature-react-native-plaid-link-sdk.jar +0 -0
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -13
- package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
- package/android/build/intermediates/packaged_res/debug/packageDebugResources/layout/plk_embedded_view.xml +0 -5
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/react-native-plaid-link-sdk_debug.kotlin_module +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/PLKEmbeddedViewManagerDelegate.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/PLKEmbeddedViewManagerInterface.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/plaid/ActivityResultHandler.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/plaid/ActivityResultManager.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/plaid/BuildConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/plaid/GlobalFunctionsKt.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/plaid/NativePlaidLinkModuleAndroidSpec.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/plaid/NativePlaidLinkModuleiOSSpec.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/plaid/PLKEmbeddedView.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/plaid/PLKEmbeddedViewManager$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/plaid/PLKEmbeddedViewManager.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/plaid/PlaidModule$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/plaid/PlaidModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/plaid/PlaidPackage$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/plaid/PlaidPackage$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/plaid/PlaidPackage.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/plaid/gson/PlaidJsonConverter.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/plaid/gson/RNAccountAdapter.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/plaid/gson/RNEventMetadataAdapter.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/plaid/gson/RNLinkInstitutionAdapter.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 +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 +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/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/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/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
- package/android/build/outputs/aar/react-native-plaid-link-sdk-debug.aar +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -25
- package/android/build/tmp/compileDebugJavaWithJavac/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.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.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/RNEventMetadataAdapter.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/plaid/gson/RNLinkInstitutionAdapter.class +0 -0
- package/dist/exampleRN76/App.d.ts +0 -3
- package/dist/exampleRN76/App.js +0 -129
- package/dist/exampleRN76/Styles.d.ts +0 -63
- package/dist/exampleRN76/Styles.js +0 -47
- package/dist/exampleRN76/__tests__/App.test.d.ts +0 -4
- package/dist/exampleRN76/__tests__/App.test.js +0 -13
- package/dist/exampleRN76/babel.config.d.ts +0 -1
- package/dist/exampleRN76/babel.config.js +0 -4
- package/dist/exampleRN76/index.d.ts +0 -1
- package/dist/exampleRN76/index.js +0 -7
- package/dist/exampleRN76/jest.config.d.ts +0 -1
- package/dist/exampleRN76/jest.config.js +0 -4
- package/dist/exampleRN76/metro.config.d.ts +0 -2
- package/dist/exampleRN76/metro.config.js +0 -10
- package/dist/exampleReactNative76/App.d.ts +0 -2
- package/dist/exampleReactNative76/App.js +0 -134
- package/dist/exampleReactNative76/Styles.d.ts +0 -69
- package/dist/exampleReactNative76/Styles.js +0 -51
- package/dist/exampleReactNative76/__tests__/App.test.d.ts +0 -4
- package/dist/exampleReactNative76/__tests__/App.test.js +0 -13
- package/dist/exampleReactNative76/babel.config.d.ts +0 -1
- package/dist/exampleReactNative76/babel.config.js +0 -4
- package/dist/exampleReactNative76/index.d.ts +0 -1
- package/dist/exampleReactNative76/index.js +0 -7
- package/dist/exampleReactNative76/jest.config.d.ts +0 -1
- package/dist/exampleReactNative76/jest.config.js +0 -4
- package/dist/exampleReactNative76/metro.config.d.ts +0 -2
- package/dist/exampleReactNative76/metro.config.js +0 -10
- package/dist/src/EmbeddedLink/EmbeddedLinkView.d.ts +0 -13
- package/dist/src/EmbeddedLink/EmbeddedLinkView.js +0 -55
- package/dist/src/EmbeddedLink/EmbeddedLinkView.web.d.ts +0 -1
- package/dist/src/EmbeddedLink/EmbeddedLinkView.web.js +0 -1
- package/dist/src/EmbeddedLink/NativeEmbeddedLinkView.d.ts +0 -2
- package/dist/src/EmbeddedLink/NativeEmbeddedLinkView.js +0 -2
- package/dist/src/PlaidLink.d.ts +0 -27
- package/dist/src/PlaidLink.js +0 -124
- package/dist/src/Types.d.ts +0 -540
- package/dist/src/Types.js +0 -454
- package/dist/src/__tests__/Types.tests.d.ts +0 -1
- package/dist/src/__tests__/Types.tests.js +0 -14
- package/dist/src/fabric/EmbeddedLinkViewNativeComponent.d.ts +0 -17
- package/dist/src/fabric/EmbeddedLinkViewNativeComponent.js +0 -2
- package/dist/src/fabric/NativePlaidLinkModuleAndroid.d.ts +0 -14
- package/dist/src/fabric/NativePlaidLinkModuleAndroid.js +0 -4
- package/dist/src/fabric/NativePlaidLinkModuleiOS.d.ts +0 -15
- package/dist/src/fabric/NativePlaidLinkModuleiOS.js +0 -4
- package/dist/src/fabric/fabricUtils.d.ts +0 -1
- package/dist/src/fabric/fabricUtils.js +0 -1
- package/dist/src/index.d.ts +0 -4
- package/dist/src/index.js +0 -6
package/README.md
CHANGED
|
@@ -151,9 +151,9 @@ For iOS OAuth to work, specific requirements must be met.
|
|
|
151
151
|
|
|
152
152
|
##### Link Token OAuth Requirements
|
|
153
153
|
|
|
154
|
-
- On iOS you must configure your `link_token` with a [redirect_uri](https://plaid.com/docs/api/
|
|
154
|
+
- On iOS you must configure your `link_token` with a [redirect_uri](https://plaid.com/docs/api/link/#link-token-create-request-redirect-uri) to support OAuth. When creating a `link_token` for initializing Link on Android, `android_package_name` must be specified and `redirect_uri` must be left blank.
|
|
155
155
|
|
|
156
|
-
- On Android you must configure your `link_token` with an [android_package_name](https://plaid.com/docs/api/
|
|
156
|
+
- On Android you must configure your `link_token` with an [android_package_name](https://plaid.com/docs/api/link/#link-token-create-request-android-package-name) to support OAuth. When creating a `link_token` for initializing Link on iOS, `android_package_name` must be left blank and `redirect_uri` should be used instead.
|
|
157
157
|
|
|
158
158
|
|
|
159
159
|
#### To receive onEvent callbacks:
|
|
@@ -215,6 +215,8 @@ If migrating from older versions, see the [docs](https://plaid.com/docs/link/rea
|
|
|
215
215
|
|
|
216
216
|
| Plaid SDK Version | Min React Native Version | Android SDK | Android Min Version | Android Compile Version| iOS SDK | iOS Min Version | Status |
|
|
217
217
|
|-------------------|--------------------------|-------------|---------------------|------------------------|---------|-----------------|-------------------------------|
|
|
218
|
+
| 12.8.1 | * | [5.5.2+] | 21 | 34 | >=6.4.3 | 14.0 | Active, supports Xcode 16.1.0 |
|
|
219
|
+
| 12.8.0 | * | [5.5.1+] | 21 | 34 | >=6.4.3 | 14.0 | Active, supports Xcode 16.1.0 |
|
|
218
220
|
| 12.7.0 | * | [5.5.0+] | 21 | 34 | >=6.4.2 | 14.0 | Active, supports Xcode 16.1.0 |
|
|
219
221
|
| 12.6.1 | * | [5.4.0+] | 21 | 34 | >=6.4.2 | 14.0 | Active, supports Xcode 16.1.0 |
|
|
220
222
|
| 12.6.0 | * | [5.4.0+] | 21 | 34 | >=6.4.1 | 14.0 | Active, supports Xcode 16.1.0 |
|
package/android/build.gradle
CHANGED
|
@@ -106,6 +106,6 @@ repositories {
|
|
|
106
106
|
|
|
107
107
|
dependencies {
|
|
108
108
|
implementation "com.facebook.react:react-native:+"
|
|
109
|
-
implementation "com.plaid.link:sdk-core:5.5.
|
|
109
|
+
implementation "com.plaid.link:sdk-core:5.5.2"
|
|
110
110
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
111
111
|
}
|
|
@@ -12,6 +12,7 @@ import com.facebook.react.bridge.Callback
|
|
|
12
12
|
import com.facebook.react.bridge.Promise
|
|
13
13
|
import com.facebook.react.bridge.ReactApplicationContext
|
|
14
14
|
import com.facebook.react.bridge.ReactMethod
|
|
15
|
+
import com.facebook.react.bridge.ReadableMap
|
|
15
16
|
import com.facebook.react.module.annotations.ReactModule
|
|
16
17
|
import com.facebook.react.modules.core.DeviceEventManagerModule
|
|
17
18
|
import com.plaid.gson.PlaidJsonConverter
|
|
@@ -84,11 +85,18 @@ class PlaidModule internal constructor(reactContext: ReactApplicationContext) :
|
|
|
84
85
|
}
|
|
85
86
|
|
|
86
87
|
@ReactMethod
|
|
87
|
-
override fun submit(phoneNumber: String?, dateOfBirth: String?) {
|
|
88
|
+
override fun submit(phoneNumber: String?, dateOfBirth: String?, params: ReadableMap?) {
|
|
88
89
|
if (plaidHandler != null) {
|
|
90
|
+
val paramsMap: Map<String, String>? = params?.let { map ->
|
|
91
|
+
map.toHashMap().mapNotNull { (key, value) ->
|
|
92
|
+
if (value is String) key to value else null
|
|
93
|
+
}.toMap()
|
|
94
|
+
}
|
|
95
|
+
|
|
89
96
|
val submissionData = SubmissionData(
|
|
90
97
|
phoneNumber = phoneNumber,
|
|
91
|
-
dateOfBirth = dateOfBirth
|
|
98
|
+
dateOfBirth = dateOfBirth,
|
|
99
|
+
params = paramsMap
|
|
92
100
|
)
|
|
93
101
|
plaidHandler?.submit(submissionData)
|
|
94
102
|
}
|
|
@@ -18,6 +18,7 @@ import com.facebook.react.bridge.Promise;
|
|
|
18
18
|
import com.facebook.react.bridge.ReactApplicationContext;
|
|
19
19
|
import com.facebook.react.bridge.ReactContextBaseJavaModule;
|
|
20
20
|
import com.facebook.react.bridge.ReactMethod;
|
|
21
|
+
import com.facebook.react.bridge.ReadableMap;
|
|
21
22
|
import com.facebook.react.turbomodule.core.interfaces.TurboModule;
|
|
22
23
|
import javax.annotation.Nonnull;
|
|
23
24
|
|
|
@@ -51,7 +52,7 @@ public abstract class NativePlaidLinkModuleAndroidSpec extends ReactContextBaseJ
|
|
|
51
52
|
|
|
52
53
|
@ReactMethod
|
|
53
54
|
@DoNotStrip
|
|
54
|
-
public abstract void submit(String phoneNumber, String dateOfBirth);
|
|
55
|
+
public abstract void submit(String phoneNumber, String dateOfBirth, ReadableMap params);
|
|
55
56
|
|
|
56
57
|
@ReactMethod
|
|
57
58
|
@DoNotStrip
|
|
@@ -17,6 +17,7 @@ import com.facebook.react.bridge.Callback;
|
|
|
17
17
|
import com.facebook.react.bridge.ReactApplicationContext;
|
|
18
18
|
import com.facebook.react.bridge.ReactContextBaseJavaModule;
|
|
19
19
|
import com.facebook.react.bridge.ReactMethod;
|
|
20
|
+
import com.facebook.react.bridge.ReadableMap;
|
|
20
21
|
import com.facebook.react.turbomodule.core.interfaces.TurboModule;
|
|
21
22
|
import javax.annotation.Nonnull;
|
|
22
23
|
|
|
@@ -46,7 +47,7 @@ public abstract class NativePlaidLinkModuleiOSSpec extends ReactContextBaseJavaM
|
|
|
46
47
|
|
|
47
48
|
@ReactMethod
|
|
48
49
|
@DoNotStrip
|
|
49
|
-
public abstract void submit(String phoneNumber);
|
|
50
|
+
public abstract void submit(String phoneNumber, String dateOfBirth, ReadableMap params);
|
|
50
51
|
|
|
51
52
|
@ReactMethod
|
|
52
53
|
@DoNotStrip
|
package/dist/PlaidLink.js
CHANGED
|
@@ -96,10 +96,10 @@ export const dismissLink = () => {
|
|
|
96
96
|
};
|
|
97
97
|
export const submit = (data) => {
|
|
98
98
|
if (Platform.OS === 'android') {
|
|
99
|
-
RNLinksdkAndroid === null || RNLinksdkAndroid === void 0 ? void 0 : RNLinksdkAndroid.submit(data.phoneNumber, data.dateOfBirth);
|
|
99
|
+
RNLinksdkAndroid === null || RNLinksdkAndroid === void 0 ? void 0 : RNLinksdkAndroid.submit(data.phoneNumber, data.dateOfBirth, data.params);
|
|
100
100
|
}
|
|
101
101
|
else {
|
|
102
|
-
RNLinksdkiOS === null || RNLinksdkiOS === void 0 ? void 0 : RNLinksdkiOS.submit(data.phoneNumber, data.dateOfBirth);
|
|
102
|
+
RNLinksdkiOS === null || RNLinksdkiOS === void 0 ? void 0 : RNLinksdkiOS.submit(data.phoneNumber, data.dateOfBirth, data.params);
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
/**
|
package/dist/Types.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
interface CommonPlaidLinkOptions {
|
|
2
3
|
logLevel?: LinkLogLevel;
|
|
3
4
|
extras?: Record<string, any>;
|
|
@@ -548,5 +549,6 @@ export type FinanceKitError = InvalidTokenError | PermissionError | LinkApiError
|
|
|
548
549
|
export interface SubmissionData {
|
|
549
550
|
phoneNumber?: string;
|
|
550
551
|
dateOfBirth?: string;
|
|
552
|
+
params?: Record<string, string>;
|
|
551
553
|
}
|
|
552
554
|
export {};
|
package/dist/Types.js
CHANGED
|
@@ -100,7 +100,7 @@ export var LinkAccountSubtypes;
|
|
|
100
100
|
LinkAccountSubtypes["UTMA"] = "utma";
|
|
101
101
|
LinkAccountSubtypes["VARIABLE_ANNUITY"] = "variable annuity";
|
|
102
102
|
})(LinkAccountSubtypes || (LinkAccountSubtypes = {}));
|
|
103
|
-
|
|
103
|
+
class LinkAccountSubtypeCredit {
|
|
104
104
|
constructor(type, subtype) {
|
|
105
105
|
this.type = type;
|
|
106
106
|
this.subtype = subtype;
|
|
@@ -109,7 +109,8 @@ export class LinkAccountSubtypeCredit {
|
|
|
109
109
|
LinkAccountSubtypeCredit.ALL = new LinkAccountSubtypeCredit(LinkAccountType.CREDIT, LinkAccountSubtypes.ALL);
|
|
110
110
|
LinkAccountSubtypeCredit.CREDIT_CARD = new LinkAccountSubtypeCredit(LinkAccountType.CREDIT, LinkAccountSubtypes.CREDIT_CARD);
|
|
111
111
|
LinkAccountSubtypeCredit.PAYPAL = new LinkAccountSubtypeCredit(LinkAccountType.CREDIT, LinkAccountSubtypes.PAYPAL);
|
|
112
|
-
export
|
|
112
|
+
export { LinkAccountSubtypeCredit };
|
|
113
|
+
class LinkAccountSubtypeDepository {
|
|
113
114
|
constructor(type, subtype) {
|
|
114
115
|
this.type = type;
|
|
115
116
|
this.subtype = subtype;
|
|
@@ -125,7 +126,8 @@ LinkAccountSubtypeDepository.MONEY_MARKET = new LinkAccountSubtypeDepository(Lin
|
|
|
125
126
|
LinkAccountSubtypeDepository.PAYPAL = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.PAYPAL);
|
|
126
127
|
LinkAccountSubtypeDepository.PREPAID = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.PREPAID);
|
|
127
128
|
LinkAccountSubtypeDepository.SAVINGS = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.SAVINGS);
|
|
128
|
-
export
|
|
129
|
+
export { LinkAccountSubtypeDepository };
|
|
130
|
+
class LinkAccountSubtypeInvestment {
|
|
129
131
|
constructor(type, subtype) {
|
|
130
132
|
this.type = type;
|
|
131
133
|
this.subtype = subtype;
|
|
@@ -176,7 +178,8 @@ LinkAccountSubtypeInvestment.TRUST = new LinkAccountSubtypeInvestment(LinkAccoun
|
|
|
176
178
|
LinkAccountSubtypeInvestment.UGMA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.UGMA);
|
|
177
179
|
LinkAccountSubtypeInvestment.UTMA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.UTMA);
|
|
178
180
|
LinkAccountSubtypeInvestment.VARIABLE_ANNUITY = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.VARIABLE_ANNUITY);
|
|
179
|
-
export
|
|
181
|
+
export { LinkAccountSubtypeInvestment };
|
|
182
|
+
class LinkAccountSubtypeLoan {
|
|
180
183
|
constructor(type, subtype) {
|
|
181
184
|
this.type = type;
|
|
182
185
|
this.subtype = subtype;
|
|
@@ -194,6 +197,7 @@ LinkAccountSubtypeLoan.LOAN = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT,
|
|
|
194
197
|
LinkAccountSubtypeLoan.MORTGAGE = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.MORTGAGE);
|
|
195
198
|
LinkAccountSubtypeLoan.OVERDRAFT = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.OVERDRAFT);
|
|
196
199
|
LinkAccountSubtypeLoan.STUDENT = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.STUDENT);
|
|
200
|
+
export { LinkAccountSubtypeLoan };
|
|
197
201
|
export class LinkAccountSubtypeUnknown {
|
|
198
202
|
constructor(type, subtype) {
|
|
199
203
|
this.type = type;
|
|
@@ -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 {
|
|
@@ -7,7 +7,7 @@ export interface Spec extends TurboModule {
|
|
|
7
7
|
open(onSuccess: (result: UnsafeObject<LinkSuccess>) => void, onExit: (result: UnsafeObject<LinkExit>) => void): void;
|
|
8
8
|
destroy(): Promise<void>;
|
|
9
9
|
startLinkActivityForResult(token: string, noLoadingState: boolean, logLevel: string, onSuccessCallback: (result: UnsafeObject<LinkSuccess>) => void, onExitCallback: (result: UnsafeObject<LinkExit>) => void): void;
|
|
10
|
-
submit(phoneNumber: string | undefined, dateOfBirth: string | undefined): void;
|
|
10
|
+
submit(phoneNumber: string | undefined, dateOfBirth: string | undefined, params: UnsafeObject<Record<string, string>> | undefined): void;
|
|
11
11
|
addListener(eventName: string): void;
|
|
12
12
|
removeListeners(count: Double): void;
|
|
13
13
|
}
|
|
@@ -6,7 +6,7 @@ export interface Spec extends TurboModule {
|
|
|
6
6
|
createPlaidLink(token: string, noLoadingState: boolean, onLoad: () => void): 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, dateOfBirth: string | undefined): void;
|
|
9
|
+
submit(phoneNumber: string | undefined, dateOfBirth: string | undefined, params: UnsafeObject<Record<string, string>> | undefined): void;
|
|
10
10
|
addListener(eventName: string): void;
|
|
11
11
|
removeListeners(count: Int32): void;
|
|
12
12
|
syncFinanceKit(token: string, requestAuthorizationIfNeeded: boolean, simulatedBehavior: boolean, onSuccess: (success: boolean) => void, onError: (error: UnsafeObject<FinanceKitError>) => void): void;
|
package/ios/RNLinksdk.mm
CHANGED
|
@@ -28,7 +28,7 @@ static NSString* const kRNLinkKitVersionConstant = @"version";
|
|
|
28
28
|
RCT_EXPORT_MODULE();
|
|
29
29
|
|
|
30
30
|
+ (NSString*)sdkVersion {
|
|
31
|
-
return @"12.
|
|
31
|
+
return @"12.8.1"; // SDK_VERSION
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
+ (NSString*)objCBridgeVersion {
|
|
@@ -215,11 +215,12 @@ RCT_EXPORT_METHOD(syncFinanceKit:(NSString *)token
|
|
|
215
215
|
];
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
RCT_EXPORT_METHOD(submit:(NSString * _Nullable)phoneNumber dateOfBirth:(NSString * _Nullable)dateOfBirth) {
|
|
218
|
+
RCT_EXPORT_METHOD(submit:(NSString * _Nullable)phoneNumber dateOfBirth:(NSString * _Nullable)dateOfBirth params:(NSDictionary * _Nullable)params) {
|
|
219
219
|
if (self.linkHandler) {
|
|
220
220
|
PLKSubmissionData *submissionData = [[PLKSubmissionData alloc] init];
|
|
221
221
|
submissionData.phoneNumber = phoneNumber;
|
|
222
222
|
submissionData.dateOfBirth = dateOfBirth;
|
|
223
|
+
submissionData.params = params;
|
|
223
224
|
[self.linkHandler submit:submissionData];
|
|
224
225
|
}
|
|
225
226
|
}
|
|
@@ -548,6 +549,8 @@ RCT_EXPORT_METHOD(submit:(NSString * _Nullable)phoneNumber dateOfBirth:(NSString
|
|
|
548
549
|
return @"ISSUE_FOLLOWED";
|
|
549
550
|
case PLKEventNameValueSelectAccount:
|
|
550
551
|
return @"SELECT_ACCOUNT";
|
|
552
|
+
case PLKEventNameValueLayerAutoFillNotAvailable:
|
|
553
|
+
return @"LAYER_AUTOFILL_NOT_AVAILABLE";
|
|
551
554
|
}
|
|
552
555
|
return @"unknown";
|
|
553
556
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-plaid-link-sdk",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.8.1",
|
|
4
4
|
"description": "React Native Plaid Link SDK",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"lint-staged": "^9.4.2",
|
|
66
66
|
"prettier": "^1.18.2",
|
|
67
67
|
"react": "18.2.0",
|
|
68
|
-
"react-native": "0.
|
|
68
|
+
"react-native": "0.84.1",
|
|
69
69
|
"typescript": "^4.9.5"
|
|
70
70
|
},
|
|
71
71
|
"codegenConfig": {
|
package/src/PlaidLink.tsx
CHANGED
|
@@ -117,9 +117,9 @@ export const dismissLink = () => {
|
|
|
117
117
|
|
|
118
118
|
export const submit = (data: SubmissionData): void => {
|
|
119
119
|
if (Platform.OS === 'android') {
|
|
120
|
-
RNLinksdkAndroid?.submit(data.phoneNumber, data.dateOfBirth);
|
|
120
|
+
RNLinksdkAndroid?.submit(data.phoneNumber, data.dateOfBirth, data.params);
|
|
121
121
|
} else {
|
|
122
|
-
RNLinksdkiOS?.submit(data.phoneNumber, data.dateOfBirth);
|
|
122
|
+
RNLinksdkiOS?.submit(data.phoneNumber, data.dateOfBirth, data.params);
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
|
package/src/Types.ts
CHANGED
|
@@ -21,7 +21,8 @@ export interface Spec extends TurboModule {
|
|
|
21
21
|
): void;
|
|
22
22
|
submit(
|
|
23
23
|
phoneNumber: string | undefined,
|
|
24
|
-
dateOfBirth: string | undefined
|
|
24
|
+
dateOfBirth: string | undefined,
|
|
25
|
+
params: UnsafeObject<Record<string, string>> | undefined
|
|
25
26
|
): void;
|
|
26
27
|
// those two are here for event emitter methods
|
|
27
28
|
addListener(eventName: string): void;
|
|
@@ -15,7 +15,8 @@ export interface Spec extends TurboModule {
|
|
|
15
15
|
dismiss(): void;
|
|
16
16
|
submit(
|
|
17
17
|
phoneNumber: string | undefined,
|
|
18
|
-
dateOfBirth: string | undefined
|
|
18
|
+
dateOfBirth: string | undefined,
|
|
19
|
+
params: UnsafeObject<Record<string, string>> | undefined
|
|
19
20
|
): void;
|
|
20
21
|
// those two are here for event emitter methods
|
|
21
22
|
addListener(eventName: string): void;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
o/classes
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
o/bundleLibRuntimeToDirDebug
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Automatically generated file. DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
package com.plaid;
|
|
5
|
-
|
|
6
|
-
public final class BuildConfig {
|
|
7
|
-
public static final boolean DEBUG = Boolean.parseBoolean("true");
|
|
8
|
-
public static final String LIBRARY_PACKAGE_NAME = "com.plaid";
|
|
9
|
-
public static final String BUILD_TYPE = "debug";
|
|
10
|
-
// Field from default config.
|
|
11
|
-
public static final boolean IS_NEW_ARCHITECTURE_ENABLED = true;
|
|
12
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
|
|
3
|
-
*
|
|
4
|
-
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
|
5
|
-
* once the code is regenerated.
|
|
6
|
-
*
|
|
7
|
-
* @generated by codegen project: GeneratePropsJavaDelegate.js
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
package com.facebook.react.viewmanagers;
|
|
11
|
-
|
|
12
|
-
import android.view.View;
|
|
13
|
-
import androidx.annotation.Nullable;
|
|
14
|
-
import com.facebook.react.uimanager.BaseViewManager;
|
|
15
|
-
import com.facebook.react.uimanager.BaseViewManagerDelegate;
|
|
16
|
-
import com.facebook.react.uimanager.LayoutShadowNode;
|
|
17
|
-
|
|
18
|
-
public class PLKEmbeddedViewManagerDelegate<T extends View, U extends BaseViewManager<T, ? extends LayoutShadowNode> & PLKEmbeddedViewManagerInterface<T>> extends BaseViewManagerDelegate<T, U> {
|
|
19
|
-
public PLKEmbeddedViewManagerDelegate(U viewManager) {
|
|
20
|
-
super(viewManager);
|
|
21
|
-
}
|
|
22
|
-
@Override
|
|
23
|
-
public void setProperty(T view, String propName, @Nullable Object value) {
|
|
24
|
-
switch (propName) {
|
|
25
|
-
case "token":
|
|
26
|
-
mViewManager.setToken(view, value == null ? null : (String) value);
|
|
27
|
-
break;
|
|
28
|
-
case "iOSPresentationStyle":
|
|
29
|
-
mViewManager.setIOSPresentationStyle(view, value == null ? null : (String) value);
|
|
30
|
-
break;
|
|
31
|
-
default:
|
|
32
|
-
super.setProperty(view, propName, value);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
|
|
3
|
-
*
|
|
4
|
-
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
|
5
|
-
* once the code is regenerated.
|
|
6
|
-
*
|
|
7
|
-
* @generated by codegen project: GeneratePropsJavaInterface.js
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
package com.facebook.react.viewmanagers;
|
|
11
|
-
|
|
12
|
-
import android.view.View;
|
|
13
|
-
import androidx.annotation.Nullable;
|
|
14
|
-
import com.facebook.react.uimanager.ViewManagerWithGeneratedInterface;
|
|
15
|
-
|
|
16
|
-
public interface PLKEmbeddedViewManagerInterface<T extends View> extends ViewManagerWithGeneratedInterface {
|
|
17
|
-
void setToken(T view, @Nullable String value);
|
|
18
|
-
void setIOSPresentationStyle(T view, @Nullable String value);
|
|
19
|
-
}
|
package/android/build/generated/source/codegen/java/com/plaid/NativePlaidLinkModuleAndroidSpec.java
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
|
|
4
|
-
*
|
|
5
|
-
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
|
6
|
-
* once the code is regenerated.
|
|
7
|
-
*
|
|
8
|
-
* @generated by codegen project: GenerateModuleJavaSpec.js
|
|
9
|
-
*
|
|
10
|
-
* @nolint
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
package com.plaid;
|
|
14
|
-
|
|
15
|
-
import com.facebook.proguard.annotations.DoNotStrip;
|
|
16
|
-
import com.facebook.react.bridge.Callback;
|
|
17
|
-
import com.facebook.react.bridge.Promise;
|
|
18
|
-
import com.facebook.react.bridge.ReactApplicationContext;
|
|
19
|
-
import com.facebook.react.bridge.ReactContextBaseJavaModule;
|
|
20
|
-
import com.facebook.react.bridge.ReactMethod;
|
|
21
|
-
import com.facebook.react.turbomodule.core.interfaces.TurboModule;
|
|
22
|
-
import javax.annotation.Nonnull;
|
|
23
|
-
import javax.annotation.Nullable;
|
|
24
|
-
|
|
25
|
-
public abstract class NativePlaidLinkModuleAndroidSpec extends ReactContextBaseJavaModule implements TurboModule {
|
|
26
|
-
public static final String NAME = "PlaidAndroid";
|
|
27
|
-
|
|
28
|
-
public NativePlaidLinkModuleAndroidSpec(ReactApplicationContext reactContext) {
|
|
29
|
-
super(reactContext);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
@Override
|
|
33
|
-
public @Nonnull String getName() {
|
|
34
|
-
return NAME;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
@ReactMethod
|
|
38
|
-
@DoNotStrip
|
|
39
|
-
public abstract void createPlaidLink(String token, boolean noLoadingState, String logLevel);
|
|
40
|
-
|
|
41
|
-
@ReactMethod
|
|
42
|
-
@DoNotStrip
|
|
43
|
-
public abstract void open(Callback onSuccess, Callback onExit);
|
|
44
|
-
|
|
45
|
-
@ReactMethod
|
|
46
|
-
@DoNotStrip
|
|
47
|
-
public abstract void destroy(Promise promise);
|
|
48
|
-
|
|
49
|
-
@ReactMethod
|
|
50
|
-
@DoNotStrip
|
|
51
|
-
public abstract void startLinkActivityForResult(String token, boolean noLoadingState, String logLevel, Callback onSuccessCallback, Callback onExitCallback);
|
|
52
|
-
|
|
53
|
-
@ReactMethod
|
|
54
|
-
@DoNotStrip
|
|
55
|
-
public abstract void submit(@Nullable String phoneNumber, @Nullable String dateOfBirth);
|
|
56
|
-
|
|
57
|
-
@ReactMethod
|
|
58
|
-
@DoNotStrip
|
|
59
|
-
public abstract void addListener(String eventName);
|
|
60
|
-
|
|
61
|
-
@ReactMethod
|
|
62
|
-
@DoNotStrip
|
|
63
|
-
public abstract void removeListeners(double count);
|
|
64
|
-
}
|
package/android/build/generated/source/codegen/java/com/plaid/NativePlaidLinkModuleiOSSpec.java
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
|
|
4
|
-
*
|
|
5
|
-
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
|
6
|
-
* once the code is regenerated.
|
|
7
|
-
*
|
|
8
|
-
* @generated by codegen project: GenerateModuleJavaSpec.js
|
|
9
|
-
*
|
|
10
|
-
* @nolint
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
package com.plaid;
|
|
14
|
-
|
|
15
|
-
import com.facebook.proguard.annotations.DoNotStrip;
|
|
16
|
-
import com.facebook.react.bridge.Callback;
|
|
17
|
-
import com.facebook.react.bridge.ReactApplicationContext;
|
|
18
|
-
import com.facebook.react.bridge.ReactContextBaseJavaModule;
|
|
19
|
-
import com.facebook.react.bridge.ReactMethod;
|
|
20
|
-
import com.facebook.react.turbomodule.core.interfaces.TurboModule;
|
|
21
|
-
import javax.annotation.Nonnull;
|
|
22
|
-
import javax.annotation.Nullable;
|
|
23
|
-
|
|
24
|
-
public abstract class NativePlaidLinkModuleiOSSpec extends ReactContextBaseJavaModule implements TurboModule {
|
|
25
|
-
public static final String NAME = "RNLinksdk";
|
|
26
|
-
|
|
27
|
-
public NativePlaidLinkModuleiOSSpec(ReactApplicationContext reactContext) {
|
|
28
|
-
super(reactContext);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@Override
|
|
32
|
-
public @Nonnull String getName() {
|
|
33
|
-
return NAME;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@ReactMethod
|
|
37
|
-
@DoNotStrip
|
|
38
|
-
public abstract void createPlaidLink(String token, boolean noLoadingState);
|
|
39
|
-
|
|
40
|
-
@ReactMethod
|
|
41
|
-
@DoNotStrip
|
|
42
|
-
public abstract void open(boolean fullScreen, Callback onSuccess, Callback onExit);
|
|
43
|
-
|
|
44
|
-
@ReactMethod
|
|
45
|
-
@DoNotStrip
|
|
46
|
-
public abstract void dismiss();
|
|
47
|
-
|
|
48
|
-
@ReactMethod
|
|
49
|
-
@DoNotStrip
|
|
50
|
-
public abstract void submit(@Nullable String phoneNumber, @Nullable String dateOfBirth);
|
|
51
|
-
|
|
52
|
-
@ReactMethod
|
|
53
|
-
@DoNotStrip
|
|
54
|
-
public abstract void addListener(String eventName);
|
|
55
|
-
|
|
56
|
-
@ReactMethod
|
|
57
|
-
@DoNotStrip
|
|
58
|
-
public abstract void removeListeners(double count);
|
|
59
|
-
|
|
60
|
-
@ReactMethod
|
|
61
|
-
@DoNotStrip
|
|
62
|
-
public abstract void syncFinanceKit(String token, boolean requestAuthorizationIfNeeded, boolean simulatedBehavior, Callback onSuccess, Callback onError);
|
|
63
|
-
}
|