Skip to content

Conversation

safaiyeh
Copy link

@safaiyeh safaiyeh commented Jul 30, 2025

Summary

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
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

Motivation

Getting deprecation notices in my application's logs.

📝 Checklist

  • I have performed a self-review of my own code.
  • I have optimized code readability (class/variable names, straight forward logic paths, short clarifying docs,...).

💚 Testing

  • I have manually tested my changes.

Documentation

Select one:

  • I have added relevant documentation for my changes.
  • This PR does not result in any developer-facing changes.

safaiyeh added 2 commits July 29, 2025 18:25
…n 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
…n 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant