Skip to content

Fix autolink for React Native 0.69 #523

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mitsuharu
Copy link

fix #522

I remove deprecated params from 'react-native.config.js' for React Native 0.69.

Since audolinking automatically assumes that the podspec file is in the root of the package directory, it is no longer necessary to specify the PodspecPath in config.

Source: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md

On the iOS side, you will need to ensure you have a Podspec to the root of your repo. The react-native-webview Podspec is a good example of a package.json-driven Podspec. Note that CocoaPods does not support having /s in the name of a dependency, so if you are using scoped packages - you may need to change the name for the Podspec.

Copy link

@mikehardy mikehardy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, for what that's worth. The CLI changes also impacted react-native-firebase and I worked the CLI maintainers on it. No way to avoid the breaking changes but this appears like the right way to adapt in this module based on what I know. Cheers

@migueldaipre
Copy link

@andpor this library is still maintained?

WalkaboutSoftware added a commit to WalkaboutSoftware/react-native-sqlite-storage that referenced this pull request Mar 3, 2025
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.

Autolink not working for React Native 0.69
3 participants