From c3667c34e8501881e90b85e0b0477060f6033abf Mon Sep 17 00:00:00 2001 From: safaiyeh Date: Tue, 29 Jul 2025 18:25:24 -0700 Subject: [PATCH 1/2] fix: add ios.componentProvider to codegenConfig to resolve deprecation warning React Native's codegen system now requires the 'ios.componentProvider' property in codegenConfig for libraries using Fabric components. This change addresses the deprecation warning: '[Codegen] [DEPRECATED] react-native-plaid-link-sdk should add the ios.componentProvider property in their codegenConfig' Changes: - Added ios.componentProvider: 'RNPlaidLinkComponentProvider' to package.json - Follows React Native 0.74+ codegen requirements for new architecture - Ensures compatibility with future React Native versions References: - React Native New Architecture: https://reactnative.dev/docs/the-new-architecture/landing-page - Codegen Configuration: https://reactnative.dev/docs/the-new-architecture/pillars-codegen - Fabric Components: https://reactnative.dev/docs/the-new-architecture/pillars-fabric-components Impact: - Resolves build warnings in development - Ensures forward compatibility with React Native updates - Maintains support for Fabric-enabled PLKEmbeddedView component --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index c55c1d67..4d1dceaa 100644 --- a/package.json +++ b/package.json @@ -71,6 +71,9 @@ "jsSrcsDir": "./src/fabric", "android": { "javaPackageName": "com.plaid" + }, + "ios": { + "componentProvider": "RNPlaidLinkComponentProvider" } } } From d0df19f7f67afebc6714686cb6ae3640f9480554 Mon Sep 17 00:00:00 2001 From: safaiyeh Date: Tue, 29 Jul 2025 18:25:24 -0700 Subject: [PATCH 2/2] fix: add ios.componentProvider to codegenConfig to resolve deprecation warning React Native's codegen system now requires the 'ios.componentProvider' property in codegenConfig for libraries using Fabric components. This change addresses the deprecation warning: '[Codegen] [DEPRECATED] react-native-plaid-link-sdk should add the ios.componentProvider property in their codegenConfig' Changes: - Added ios.componentProvider: 'PLKEmbeddedViewCls' to package.json - Uses existing component class function from PLKEmbeddedViewComponentView.mm - Follows React Native 0.74+ codegen requirements for new architecture - Ensures compatibility with future React Native versions References: - React Native New Architecture: https://reactnative.dev/docs/the-new-architecture/landing-page - Codegen Configuration: https://reactnative.dev/docs/the-new-architecture/pillars-codegen - Fabric Components: https://reactnative.dev/docs/the-new-architecture/pillars-fabric-components Impact: - Resolves build warnings in development - Ensures forward compatibility with React Native updates - Maintains support for Fabric-enabled PLKEmbeddedView component --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4d1dceaa..db80cf56 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "javaPackageName": "com.plaid" }, "ios": { - "componentProvider": "RNPlaidLinkComponentProvider" + "componentProvider": "PLKEmbeddedViewCls" } } }