From ff957a6ebf3c5897762abf7f671220065155264e Mon Sep 17 00:00:00 2001 From: dtroupe Date: Tue, 25 Jun 2024 16:56:40 -0700 Subject: [PATCH] finish android --- .../java/com/plaid/NativePlaidLinkModuleAndroidSpec.java | 4 ++++ .../paper/java/com/plaid/NativePlaidLinkModuleiOSSpec.java | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/android/src/paper/java/com/plaid/NativePlaidLinkModuleAndroidSpec.java b/android/src/paper/java/com/plaid/NativePlaidLinkModuleAndroidSpec.java index bbd7e4c1..cb8a6d3c 100644 --- a/android/src/paper/java/com/plaid/NativePlaidLinkModuleAndroidSpec.java +++ b/android/src/paper/java/com/plaid/NativePlaidLinkModuleAndroidSpec.java @@ -44,6 +44,10 @@ public NativePlaidLinkModuleAndroidSpec(ReactApplicationContext reactContext) { @DoNotStrip public abstract void startLinkActivityForResult(String token, boolean noLoadingState, String logLevel, Callback onSuccessCallback, Callback onExitCallback); + @ReactMethod + @DoNotStrip + public abstract void submit(String phoneNumber); + @ReactMethod @DoNotStrip public abstract void addListener(String eventName); diff --git a/android/src/paper/java/com/plaid/NativePlaidLinkModuleiOSSpec.java b/android/src/paper/java/com/plaid/NativePlaidLinkModuleiOSSpec.java index 0ac48f9d..b893aaf6 100644 --- a/android/src/paper/java/com/plaid/NativePlaidLinkModuleiOSSpec.java +++ b/android/src/paper/java/com/plaid/NativePlaidLinkModuleiOSSpec.java @@ -44,6 +44,10 @@ public NativePlaidLinkModuleiOSSpec(ReactApplicationContext reactContext) { @DoNotStrip public abstract void dismiss(); + @ReactMethod + @DoNotStrip + public abstract void submit(String phoneNumber); + @ReactMethod @DoNotStrip public abstract void addListener(String eventName);