react-native-plaid-link-sdk 12.5.2 → 12.5.3
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 +1 -0
- package/android/.gradle/8.1.1/checksums/checksums.lock +0 -0
- package/android/.gradle/8.1.1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/config.properties +2 -0
- package/android/.idea/AndroidProjectSystem.xml +6 -0
- package/android/.idea/caches/deviceStreaming.xml +835 -0
- package/android/.idea/gradle.xml +13 -0
- package/android/.idea/migrations.xml +10 -0
- package/android/.idea/misc.xml +10 -0
- package/android/.idea/runConfigurations.xml +17 -0
- package/android/.idea/vcs.xml +6 -0
- package/android/build.gradle +1 -1
- package/android/local.properties +8 -0
- package/android/src/main/AndroidManifest.xml +1 -1
- package/dist/Types.d.ts +1 -0
- package/dist/Types.js +8 -4
- package/dist/fabric/EmbeddedLinkViewNativeComponent.d.ts +2 -0
- package/ios/RNLinksdk.mm +1 -1
- package/package.json +1 -1
- 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/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/8.1.1/fileHashes/resourceHashesCache.bin +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/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 -539
- 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
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len
DELETED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i
DELETED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len
DELETED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len
DELETED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i
DELETED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len
DELETED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i
DELETED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len
DELETED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i
DELETED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len
DELETED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream
DELETED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len
DELETED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at
DELETED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len
DELETED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
-- Merging decision tree log ---
|
|
2
|
-
manifest
|
|
3
|
-
ADDED from /Users/dtroupe/plaid/client/link/react-native/react-native-plaid-link-sdk/FabricExample/node_modules/react-native-plaid-link-sdk/android/src/main/AndroidManifest.xml:1:1-10:12
|
|
4
|
-
INJECTED from /Users/dtroupe/plaid/client/link/react-native/react-native-plaid-link-sdk/FabricExample/node_modules/react-native-plaid-link-sdk/android/src/main/AndroidManifest.xml:1:1-10:12
|
|
5
|
-
package
|
|
6
|
-
ADDED from /Users/dtroupe/plaid/client/link/react-native/react-native-plaid-link-sdk/FabricExample/node_modules/react-native-plaid-link-sdk/android/src/main/AndroidManifest.xml:2:3-22
|
|
7
|
-
INJECTED from /Users/dtroupe/plaid/client/link/react-native/react-native-plaid-link-sdk/FabricExample/node_modules/react-native-plaid-link-sdk/android/src/main/AndroidManifest.xml
|
|
8
|
-
xmlns:android
|
|
9
|
-
ADDED from /Users/dtroupe/plaid/client/link/react-native/react-native-plaid-link-sdk/FabricExample/node_modules/react-native-plaid-link-sdk/android/src/main/AndroidManifest.xml:1:11-69
|
|
10
|
-
application
|
|
11
|
-
ADDED from /Users/dtroupe/plaid/client/link/react-native/react-native-plaid-link-sdk/FabricExample/node_modules/react-native-plaid-link-sdk/android/src/main/AndroidManifest.xml:4:3-8:17
|
|
12
|
-
meta-data#com.plaid.link.react_native
|
|
13
|
-
ADDED from /Users/dtroupe/plaid/client/link/react-native/react-native-plaid-link-sdk/FabricExample/node_modules/react-native-plaid-link-sdk/android/src/main/AndroidManifest.xml:5:5-7:32
|
|
14
|
-
android:value
|
|
15
|
-
ADDED from /Users/dtroupe/plaid/client/link/react-native/react-native-plaid-link-sdk/FabricExample/node_modules/react-native-plaid-link-sdk/android/src/main/AndroidManifest.xml:7:7-29
|
|
16
|
-
android:name
|
|
17
|
-
ADDED from /Users/dtroupe/plaid/client/link/react-native/react-native-plaid-link-sdk/FabricExample/node_modules/react-native-plaid-link-sdk/android/src/main/AndroidManifest.xml:6:7-49
|
|
18
|
-
uses-sdk
|
|
19
|
-
INJECTED from /Users/dtroupe/plaid/client/link/react-native/react-native-plaid-link-sdk/FabricExample/node_modules/react-native-plaid-link-sdk/android/src/main/AndroidManifest.xml reason: use-sdk injection requested
|
|
20
|
-
INJECTED from /Users/dtroupe/plaid/client/link/react-native/react-native-plaid-link-sdk/FabricExample/node_modules/react-native-plaid-link-sdk/android/src/main/AndroidManifest.xml
|
|
21
|
-
INJECTED from /Users/dtroupe/plaid/client/link/react-native/react-native-plaid-link-sdk/FabricExample/node_modules/react-native-plaid-link-sdk/android/src/main/AndroidManifest.xml
|
|
22
|
-
android:targetSdkVersion
|
|
23
|
-
INJECTED from /Users/dtroupe/plaid/client/link/react-native/react-native-plaid-link-sdk/FabricExample/node_modules/react-native-plaid-link-sdk/android/src/main/AndroidManifest.xml
|
|
24
|
-
android:minSdkVersion
|
|
25
|
-
INJECTED from /Users/dtroupe/plaid/client/link/react-native/react-native-plaid-link-sdk/FabricExample/node_modules/react-native-plaid-link-sdk/android/src/main/AndroidManifest.xml
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/tmp/kotlin-classes/debug/com/plaid/PLKEmbeddedViewManager$Companion.class
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/tmp/kotlin-classes/debug/com/plaid/gson/RNLinkInstitutionAdapter.class
DELETED
|
Binary file
|
package/dist/exampleRN76/App.js
DELETED
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Platform, TextInput, Text, TouchableOpacity, View } from 'react-native';
|
|
3
|
-
import { styles } from './Styles'; // Adjust import if needed for the actual path
|
|
4
|
-
import { LinkLogLevel, dismissLink, usePlaidEmitter, LinkIOSPresentationStyle, create, open, syncFinanceKit, submit, EmbeddedLinkView, // Make sure this is imported
|
|
5
|
-
} from 'react-native-plaid-link-sdk';
|
|
6
|
-
// EmbeddedLinkView for displaying once a token is entered
|
|
7
|
-
const EmbeddedView = ({ token }) => {
|
|
8
|
-
let content;
|
|
9
|
-
if (token) {
|
|
10
|
-
content = (<View>
|
|
11
|
-
<EmbeddedLinkView token={token} iOSPresentationStyle={LinkIOSPresentationStyle.MODAL} onEvent={(event) => {
|
|
12
|
-
console.log('onEvent', event);
|
|
13
|
-
}} onSuccess={(success) => {
|
|
14
|
-
console.log('onSuccess', success);
|
|
15
|
-
}} onExit={(exit) => {
|
|
16
|
-
console.log('onExit', exit);
|
|
17
|
-
}} style={styles.embedded}/>
|
|
18
|
-
</View>);
|
|
19
|
-
}
|
|
20
|
-
else {
|
|
21
|
-
content = (<Text style={{ fontSize: 24, color: '#2196F3', textAlign: 'center' }}>
|
|
22
|
-
Enter Link Token
|
|
23
|
-
</Text>);
|
|
24
|
-
}
|
|
25
|
-
return <View style={{ padding: 24 }}>{content}</View>;
|
|
26
|
-
};
|
|
27
|
-
function isValidString(str) {
|
|
28
|
-
return str.trim() !== '';
|
|
29
|
-
}
|
|
30
|
-
function createLinkTokenConfiguration(token, noLoadingState = false) {
|
|
31
|
-
console.log(`token: ${token}`);
|
|
32
|
-
return {
|
|
33
|
-
token: token,
|
|
34
|
-
noLoadingState: noLoadingState,
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
function createSubmissionData(phoneNumber) {
|
|
38
|
-
return {
|
|
39
|
-
phoneNumber: phoneNumber,
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
function createLinkOpenProps() {
|
|
43
|
-
return {
|
|
44
|
-
onSuccess: (success) => {
|
|
45
|
-
console.log('Success: ', success);
|
|
46
|
-
success.metadata.accounts.forEach(it => console.log('accounts', it));
|
|
47
|
-
},
|
|
48
|
-
onExit: (linkExit) => {
|
|
49
|
-
console.log('Exit: ', linkExit);
|
|
50
|
-
dismissLink();
|
|
51
|
-
},
|
|
52
|
-
iOSPresentationStyle: LinkIOSPresentationStyle.MODAL,
|
|
53
|
-
logLevel: LinkLogLevel.ERROR,
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
const PlaidLinkScreen = () => {
|
|
57
|
-
// Use event emitter to get real-time events during a Link Session.
|
|
58
|
-
usePlaidEmitter((event) => {
|
|
59
|
-
console.log(event);
|
|
60
|
-
});
|
|
61
|
-
const [text, onChangeText] = React.useState('');
|
|
62
|
-
const [disabled, setDisabled] = React.useState(true);
|
|
63
|
-
const iOSVersionParts = String(Platform.Version).split('.');
|
|
64
|
-
const [majorVersion, minorVersion] = iOSVersionParts.length >= 2 ? iOSVersionParts : [null, null];
|
|
65
|
-
const financeKitText = () => {
|
|
66
|
-
if (majorVersion && minorVersion) {
|
|
67
|
-
const majorInt = parseInt(majorVersion, 10);
|
|
68
|
-
const minorInt = parseInt(minorVersion, 10);
|
|
69
|
-
if (majorInt > 17) {
|
|
70
|
-
return <Text style={styles.button}>Sync FinanceKit</Text>;
|
|
71
|
-
}
|
|
72
|
-
else if (majorInt === 17 && minorInt >= 4) {
|
|
73
|
-
return <Text style={styles.button}>Sync FinanceKit</Text>;
|
|
74
|
-
}
|
|
75
|
-
else {
|
|
76
|
-
return (<Text style={styles.button}>
|
|
77
|
-
FinanceKit not supported on this version of iOS
|
|
78
|
-
</Text>);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
else {
|
|
82
|
-
return <Text style={styles.button}>Invalid iOS version</Text>;
|
|
83
|
-
}
|
|
84
|
-
};
|
|
85
|
-
return (<View style={{ padding: 24 }}>
|
|
86
|
-
<View style={{ height: 48, backgroundColor: 'white' }}/> {/* White view with 48px height */}
|
|
87
|
-
<TextInput style={styles.input} onChangeText={onChangeText} value={text} placeholder="link-sandbox-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" placeholderTextColor={'#D3D3D3'}/>
|
|
88
|
-
<TouchableOpacity style={styles.button} onPress={() => {
|
|
89
|
-
if (isValidString(text)) {
|
|
90
|
-
const tokenConfiguration = createLinkTokenConfiguration(text);
|
|
91
|
-
create(tokenConfiguration);
|
|
92
|
-
setDisabled(false);
|
|
93
|
-
}
|
|
94
|
-
}}>
|
|
95
|
-
<Text style={styles.button}>Create Link</Text>
|
|
96
|
-
</TouchableOpacity>
|
|
97
|
-
<TouchableOpacity disabled={disabled} style={disabled ? styles.disabledButton : styles.button} onPress={() => {
|
|
98
|
-
const submissionData = createSubmissionData('415-555-0015');
|
|
99
|
-
submit(submissionData);
|
|
100
|
-
}}>
|
|
101
|
-
<Text style={styles.button}>Submit Layer Phone Number</Text>
|
|
102
|
-
</TouchableOpacity>
|
|
103
|
-
<TouchableOpacity disabled={disabled} style={disabled ? styles.disabledButton : styles.button} onPress={() => {
|
|
104
|
-
const openProps = createLinkOpenProps();
|
|
105
|
-
open(openProps);
|
|
106
|
-
setDisabled(true);
|
|
107
|
-
}}>
|
|
108
|
-
<Text style={styles.button}>Open Link</Text>
|
|
109
|
-
</TouchableOpacity>
|
|
110
|
-
<TouchableOpacity style={styles.button} onPress={() => {
|
|
111
|
-
const completionHandler = (error) => {
|
|
112
|
-
if (error) {
|
|
113
|
-
console.error('Error:', error);
|
|
114
|
-
}
|
|
115
|
-
else {
|
|
116
|
-
console.log('Sync completed successfully');
|
|
117
|
-
}
|
|
118
|
-
};
|
|
119
|
-
const requestAuthorizationIfNeeded = true;
|
|
120
|
-
syncFinanceKit(text, requestAuthorizationIfNeeded, completionHandler);
|
|
121
|
-
}}>
|
|
122
|
-
{financeKitText()}
|
|
123
|
-
</TouchableOpacity>
|
|
124
|
-
|
|
125
|
-
{/* Embedded Link View below the buttons */}
|
|
126
|
-
<EmbeddedView token={text}/>
|
|
127
|
-
</View>);
|
|
128
|
-
};
|
|
129
|
-
export default PlaidLinkScreen;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
export namespace styles {
|
|
2
|
-
namespace button {
|
|
3
|
-
let elevation: number;
|
|
4
|
-
let backgroundColor: string;
|
|
5
|
-
let width: "90%";
|
|
6
|
-
let margin: number;
|
|
7
|
-
let paddingVertical: number;
|
|
8
|
-
let fontSize: number;
|
|
9
|
-
let textAlign: "center";
|
|
10
|
-
let color: string;
|
|
11
|
-
let borderRadius: number;
|
|
12
|
-
let alignSelf: "center";
|
|
13
|
-
let textTransform: "uppercase";
|
|
14
|
-
let overflow: "hidden";
|
|
15
|
-
}
|
|
16
|
-
namespace disabledButton {
|
|
17
|
-
let elevation_1: number;
|
|
18
|
-
export { elevation_1 as elevation };
|
|
19
|
-
let backgroundColor_1: string;
|
|
20
|
-
export { backgroundColor_1 as backgroundColor };
|
|
21
|
-
let width_1: "90%";
|
|
22
|
-
export { width_1 as width };
|
|
23
|
-
let margin_1: number;
|
|
24
|
-
export { margin_1 as margin };
|
|
25
|
-
let paddingVertical_1: number;
|
|
26
|
-
export { paddingVertical_1 as paddingVertical };
|
|
27
|
-
let fontSize_1: number;
|
|
28
|
-
export { fontSize_1 as fontSize };
|
|
29
|
-
let textAlign_1: "center";
|
|
30
|
-
export { textAlign_1 as textAlign };
|
|
31
|
-
let color_1: string;
|
|
32
|
-
export { color_1 as color };
|
|
33
|
-
let borderRadius_1: number;
|
|
34
|
-
export { borderRadius_1 as borderRadius };
|
|
35
|
-
let alignSelf_1: "center";
|
|
36
|
-
export { alignSelf_1 as alignSelf };
|
|
37
|
-
let textTransform_1: "uppercase";
|
|
38
|
-
export { textTransform_1 as textTransform };
|
|
39
|
-
let overflow_1: "hidden";
|
|
40
|
-
export { overflow_1 as overflow };
|
|
41
|
-
export let opacity: number;
|
|
42
|
-
}
|
|
43
|
-
namespace input {
|
|
44
|
-
export let height: number;
|
|
45
|
-
let margin_2: number;
|
|
46
|
-
export { margin_2 as margin };
|
|
47
|
-
let width_2: "90%";
|
|
48
|
-
export { width_2 as width };
|
|
49
|
-
let alignSelf_2: "center";
|
|
50
|
-
export { alignSelf_2 as alignSelf };
|
|
51
|
-
export let borderWidth: number;
|
|
52
|
-
export let padding: number;
|
|
53
|
-
export let borderColor: any;
|
|
54
|
-
}
|
|
55
|
-
namespace embedded {
|
|
56
|
-
let width_3: "95%";
|
|
57
|
-
export { width_3 as width };
|
|
58
|
-
let alignSelf_3: "center";
|
|
59
|
-
export { alignSelf_3 as alignSelf };
|
|
60
|
-
let height_1: number;
|
|
61
|
-
export { height_1 as height };
|
|
62
|
-
}
|
|
63
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { StyleSheet } from 'react-native';
|
|
2
|
-
import { Colors } from 'react-native/Libraries/NewAppScreen';
|
|
3
|
-
export const styles = StyleSheet.create({
|
|
4
|
-
button: {
|
|
5
|
-
elevation: 8,
|
|
6
|
-
backgroundColor: '#2196F3',
|
|
7
|
-
width: '90%',
|
|
8
|
-
margin: 4,
|
|
9
|
-
paddingVertical: 4,
|
|
10
|
-
fontSize: 16,
|
|
11
|
-
textAlign: 'center',
|
|
12
|
-
color: 'white',
|
|
13
|
-
borderRadius: 4,
|
|
14
|
-
alignSelf: 'center',
|
|
15
|
-
textTransform: 'uppercase',
|
|
16
|
-
overflow: 'hidden',
|
|
17
|
-
},
|
|
18
|
-
disabledButton: {
|
|
19
|
-
elevation: 8,
|
|
20
|
-
backgroundColor: '#2196F3',
|
|
21
|
-
width: '90%',
|
|
22
|
-
margin: 4,
|
|
23
|
-
paddingVertical: 4,
|
|
24
|
-
fontSize: 16,
|
|
25
|
-
textAlign: 'center',
|
|
26
|
-
color: 'white',
|
|
27
|
-
borderRadius: 4,
|
|
28
|
-
alignSelf: 'center',
|
|
29
|
-
textTransform: 'uppercase',
|
|
30
|
-
overflow: 'hidden',
|
|
31
|
-
opacity: 0.5,
|
|
32
|
-
},
|
|
33
|
-
input: {
|
|
34
|
-
height: 40,
|
|
35
|
-
margin: 12,
|
|
36
|
-
width: '90%',
|
|
37
|
-
alignSelf: 'center',
|
|
38
|
-
borderWidth: 1,
|
|
39
|
-
padding: 10,
|
|
40
|
-
borderColor: Colors.black,
|
|
41
|
-
},
|
|
42
|
-
embedded: {
|
|
43
|
-
width: '95%',
|
|
44
|
-
alignSelf: 'center',
|
|
45
|
-
height: 360,
|
|
46
|
-
},
|
|
47
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @format
|
|
3
|
-
*/
|
|
4
|
-
import 'react-native';
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import App from '../App';
|
|
7
|
-
// Note: import explicitly to use the types shipped with jest.
|
|
8
|
-
import { it } from '@jest/globals';
|
|
9
|
-
// Note: test renderer must be required after react-native.
|
|
10
|
-
import renderer from 'react-test-renderer';
|
|
11
|
-
it('renders correctly', () => {
|
|
12
|
-
renderer.create(<App />);
|
|
13
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export let presets: string[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export let preset: string;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');
|
|
3
|
-
/**
|
|
4
|
-
* Metro configuration
|
|
5
|
-
* https://reactnative.dev/docs/metro
|
|
6
|
-
*
|
|
7
|
-
* @type {import('metro-config').MetroConfig}
|
|
8
|
-
*/
|
|
9
|
-
const config = {};
|
|
10
|
-
module.exports = mergeConfig(getDefaultConfig(__dirname), config);
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Platform, TextInput, Text, TouchableOpacity, View, ScrollView, } from 'react-native';
|
|
3
|
-
import { styles } from './Styles';
|
|
4
|
-
import { LinkLogLevel, dismissLink, usePlaidEmitter, LinkIOSPresentationStyle, create, open, syncFinanceKit, submit, EmbeddedLinkView, } from 'react-native-plaid-link-sdk';
|
|
5
|
-
function isValidString(str) {
|
|
6
|
-
return str.trim() !== '';
|
|
7
|
-
}
|
|
8
|
-
function createLinkTokenConfiguration(token, noLoadingState = false) {
|
|
9
|
-
console.log(`token: ${token}`);
|
|
10
|
-
return {
|
|
11
|
-
token: token,
|
|
12
|
-
noLoadingState: noLoadingState,
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
function createSubmissionData(phoneNumber) {
|
|
16
|
-
return {
|
|
17
|
-
phoneNumber: phoneNumber,
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
function createLinkOpenProps() {
|
|
21
|
-
return {
|
|
22
|
-
onSuccess: (success) => {
|
|
23
|
-
console.log('Success: ', success);
|
|
24
|
-
success.metadata.accounts.forEach(it => console.log('accounts', it));
|
|
25
|
-
},
|
|
26
|
-
onExit: (linkExit) => {
|
|
27
|
-
console.log('Exit: ', linkExit);
|
|
28
|
-
dismissLink();
|
|
29
|
-
},
|
|
30
|
-
iOSPresentationStyle: LinkIOSPresentationStyle.MODAL,
|
|
31
|
-
logLevel: LinkLogLevel.ERROR,
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
const EmbeddedView = ({ token }) => {
|
|
35
|
-
let content;
|
|
36
|
-
if (token) {
|
|
37
|
-
content = (<View>
|
|
38
|
-
<EmbeddedLinkView token={token} iOSPresentationStyle={LinkIOSPresentationStyle.MODAL} onEvent={(event) => console.log('onEvent', event)} onSuccess={(success) => console.log('onSuccess', success)} onExit={(exit) => console.log('onExit', exit)} style={styles.embedded}/>
|
|
39
|
-
</View>);
|
|
40
|
-
}
|
|
41
|
-
else {
|
|
42
|
-
content = (
|
|
43
|
-
// eslint-disable-next-line react-native/no-inline-styles
|
|
44
|
-
<Text style={{ fontSize: 24, color: '#2196F3', textAlign: 'center' }}>
|
|
45
|
-
Enter Link Token
|
|
46
|
-
</Text>);
|
|
47
|
-
}
|
|
48
|
-
// eslint-disable-next-line react-native/no-inline-styles
|
|
49
|
-
return <View style={{ padding: 24 }}>{content}</View>;
|
|
50
|
-
};
|
|
51
|
-
export default function App() {
|
|
52
|
-
const [text, setText] = React.useState('');
|
|
53
|
-
const [disabled, setDisabled] = React.useState(true);
|
|
54
|
-
const iOSVersionParts = String(Platform.Version).split('.');
|
|
55
|
-
const [majorVersion, minorVersion] = iOSVersionParts.length >= 2 ? iOSVersionParts : [null, null];
|
|
56
|
-
const financeKitText = () => {
|
|
57
|
-
if (majorVersion && minorVersion) {
|
|
58
|
-
const majorInt = parseInt(majorVersion, 10);
|
|
59
|
-
const minorInt = parseInt(minorVersion, 10);
|
|
60
|
-
if (majorInt > 17 || (majorInt === 17 && minorInt >= 4)) {
|
|
61
|
-
return <Text style={styles.button}>Sync FinanceKit</Text>;
|
|
62
|
-
}
|
|
63
|
-
else {
|
|
64
|
-
return (<Text style={styles.button}>
|
|
65
|
-
FinanceKit not supported on this version of iOS
|
|
66
|
-
</Text>);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
return <Text style={styles.button}>Invalid iOS version</Text>;
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
// Use event emitter to get real-time events during a Link Session.
|
|
74
|
-
usePlaidEmitter((event) => {
|
|
75
|
-
console.log(event);
|
|
76
|
-
});
|
|
77
|
-
return (
|
|
78
|
-
// eslint-disable-next-line react-native/no-inline-styles
|
|
79
|
-
<ScrollView contentContainerStyle={{ padding: 16 }}>
|
|
80
|
-
{/* Input for Link Token */}
|
|
81
|
-
<View style={styles.emptyView}/>
|
|
82
|
-
<TextInput style={styles.input} onChangeText={newText => {
|
|
83
|
-
setText(newText);
|
|
84
|
-
setDisabled(!isValidString(newText));
|
|
85
|
-
}} value={text} placeholder="link-sandbox-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" placeholderTextColor={'#D3D3D3'}/>
|
|
86
|
-
|
|
87
|
-
{/* Embedded Link View */}
|
|
88
|
-
<EmbeddedView token={text}/>
|
|
89
|
-
|
|
90
|
-
{/* Create Link */}
|
|
91
|
-
<TouchableOpacity style={styles.button} onPress={() => {
|
|
92
|
-
if (isValidString(text)) {
|
|
93
|
-
const tokenConfiguration = createLinkTokenConfiguration(text);
|
|
94
|
-
create(tokenConfiguration);
|
|
95
|
-
setDisabled(false);
|
|
96
|
-
}
|
|
97
|
-
}}>
|
|
98
|
-
<Text style={styles.button}>Create Link</Text>
|
|
99
|
-
</TouchableOpacity>
|
|
100
|
-
|
|
101
|
-
{/* Submit Phone Number */}
|
|
102
|
-
<TouchableOpacity disabled={disabled} style={disabled ? styles.disabledButton : styles.button} onPress={() => {
|
|
103
|
-
const submissionData = createSubmissionData('415-555-0015');
|
|
104
|
-
submit(submissionData);
|
|
105
|
-
}}>
|
|
106
|
-
<Text style={styles.button}>Submit Layer Phone Number</Text>
|
|
107
|
-
</TouchableOpacity>
|
|
108
|
-
|
|
109
|
-
{/* Open Link */}
|
|
110
|
-
<TouchableOpacity disabled={disabled} style={disabled ? styles.disabledButton : styles.button} onPress={() => {
|
|
111
|
-
const openProps = createLinkOpenProps();
|
|
112
|
-
open(openProps);
|
|
113
|
-
setDisabled(true);
|
|
114
|
-
}}>
|
|
115
|
-
<Text style={styles.button}>Open Link</Text>
|
|
116
|
-
</TouchableOpacity>
|
|
117
|
-
|
|
118
|
-
{/* Sync FinanceKit */}
|
|
119
|
-
<TouchableOpacity style={styles.button} onPress={() => {
|
|
120
|
-
const completionHandler = (error) => {
|
|
121
|
-
if (error) {
|
|
122
|
-
console.error('Error:', error);
|
|
123
|
-
}
|
|
124
|
-
else {
|
|
125
|
-
console.log('Sync completed successfully');
|
|
126
|
-
}
|
|
127
|
-
};
|
|
128
|
-
const requestAuthorizationIfNeeded = true;
|
|
129
|
-
syncFinanceKit(text, requestAuthorizationIfNeeded, completionHandler);
|
|
130
|
-
}}>
|
|
131
|
-
{financeKitText()}
|
|
132
|
-
</TouchableOpacity>
|
|
133
|
-
</ScrollView>);
|
|
134
|
-
}
|