Skip to content

Commit faa393a

Browse files
committed
fix: patches
1 parent 7ab7e85 commit faa393a

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# `react-native-plaid-link-sdk` patches
2+
3+
### [react-native-plaid-link-sdk+12.5.3+001+fix-oauth-hybrid-app-ios.patch](react-native-plaid-link-sdk+12.5.3+001+fix-oauth-hybrid-app-ios.patch)
4+
5+
- Reason:
6+
7+
```
8+
Fixes Plaid OAuth getting stuck in a retry loop on HybridApp iOS (e.g.
9+
Banco Santander ES). HybridApp routes the bank's universal-link return
10+
through JS Linking, so LinkKit never sees the callback URL and re-fires
11+
OAuth after its internal timeout. The patch exposes [PLKHandler
12+
resumeAfterTermination:] to JS so we can forward the URL back into the SDK.
13+
14+
The patch:
15+
1. Adds RCT_EXPORT_METHOD(continueFromRedirectUri:) to RNLinksdk.mm.
16+
2. Tracks the active module via a static sSharedInstance, set when
17+
createPlaidLink succeeds and cleared on exit/handoff, so the
18+
forwarder can resolve the correct handler.
19+
3. Adds the matching continueFromRedirectUri Spec entry to
20+
src/fabric/NativePlaidLinkModuleiOS.ts (required on New Architecture
21+
so the TurboModule codegen exposes the method to JS).
22+
```
23+
24+
- Upstream PR/issue: -
25+
- E/App issue: https://github.com/Expensify/App/issues/87757
26+
- PR introducing patch: https://github.com/Expensify/App/pull/88534

0 commit comments

Comments
 (0)