Update React Native quickstart to Plaid SDK v13 and patch dependency vulnerabilities#50
Open
phoenixy1 wants to merge 1 commit into
Open
Update React Native quickstart to Plaid SDK v13 and patch dependency vulnerabilities#50phoenixy1 wants to merge 1 commit into
phoenixy1 wants to merge 1 commit into
Conversation
…abilities Bumps react-native-plaid-link-sdk 12.8.0->13.0.2 and the server `plaid` client 42.2.0->43.0.0, and resolves every npm/Ruby/native advisory in the app (0 vulnerabilities remaining). SDK v13 was re-architected onto Expo Modules, so the bare RN 0.85 app is migrated via install-expo-modules plus the hand-fixes that migration needs: a Swift AppDelegate (SDK 56 removed the ObjC EXAppDelegateWrapper, and ExpoReactNativeFactory requires a Swift delegate), a repaired settings.gradle, minSdk 24->26 (required by Plaid Android SDK 6.0.0), iOS React core built from source to avoid the prebuilt-core/Expo RCTRootViewFactory header collision, and @expo/cli declared so release bundling can resolve it. HomeScreen is rewritten for the v13 createPlaidLinkSession/session.open API. Verified end-to-end on the iOS simulator: create_link_token -> LinkKit 7.0.1 -> institution + OAuth -> public-token exchange -> balance rendered. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the React Native quickstart to the latest Plaid SDKs and clears every dependency vulnerability (npm, Ruby, and native native SDKs — 0 remaining).
react-native-plaid-link-sdk12.8.0 → 13.0.2 and the serverplaidclient 42.2.0 → 43.0.0.install-expo-modulesplus the fixes that migration requires: a SwiftAppDelegate(SDK 56 removed the ObjCEXAppDelegateWrapper, andExpoReactNativeFactoryneeds a Swift delegate), a repairedsettings.gradle, and iOS React core built from source to sidestep a prebuilt-core/ExpoRCTRootViewFactoryheader collision.HomeScreenis rewritten for the v13createPlaidLinkSession/session.open()API.minSdk24→26, required by Plaid Android SDK 6.0.0) and iOS 16.4 (required by Expo SDK 56).Verified end-to-end on both an iOS simulator and an Android emulator:
create_link_token→ Plaid Link opens natively (iOS LinkKit 7.0.1 / Androidsdk-core6.0.0) → select institution + OAuth → public-token exchange → account balance rendered on the Success screen.Full change list
Security (0 vulnerabilities across all ecosystems):
uuidoverride>=11.1.1(Expo build-tool chain advisory).concurrent-ruby1.3.6→1.3.7,json2.19.5→2.20.0.Expo Modules migration fixes:
android/settings.gradle: repaired a malformed line the codemod produced.android/build.gradle:minSdkVersion24→26.ios/AppDelegate.swift: new Swift AppDelegate (replaces ObjCAppDelegate.h/.mm+main.m); imports useinternal importto match the generatedExpoModulesProvider.swift.ios/Podfile:ENV['RCT_USE_PREBUILT_RNCORE'] = '0'to build React core from source.package.json: addedexpo,@expo/cli(so release bundling resolves it),babel-preset-expo,jest-expo; jest preset switched tojest-expoand the render test now passes.Testing/robustness: