File tree Expand file tree Collapse file tree
patches/react-native-plaid-link-sdk Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments