appsflyer-react-native-plugin: current react-native.config.js doesn't work with React Native 0.69
Report
Plugin Version
On what Platform are you having the issue?
- ios
What did you do?
pod install --project-directory=ios
ornpx react-native link
with React Native v0.69.0
What did you expect to happen?
- every required pod files install properly, but auto link not work
What happened instead?
- react-native auto link not worked
Please provide any other relevant information.
React Native CLI v8(used within react-native v0.69.0) has breaking changes about react-native.config.js
and podspecPath option
Removed assets and hooks from react-native.config.js – you'll need to remove these properties from your config
podspecPath was removed from the iOS dependency config
(fyi. https://reactnative.dev/blog/2022/06/21/version-069)
when I remove below line within react-native.config.js
, and it works fine
module.exports = {
dependency: {
platforms: {
- ios: { podspecPath: path.join(__dirname, 'react-native-appsflyer.podspec') },
android: {
packageImportPath: 'import com.appsflyer.reactnative.RNAppsFlyerPackage;',
packageInstance: 'new RNAppsFlyerPackage()',
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 15
- Comments: 35 (3 by maintainers)
+1 With RN 0.70.2:
https://www.npmjs.com/package/patch-package
Any news when it will be released?
This pull request should resolve this issue: https://github.com/AppsFlyerSDK/appsflyer-react-native-plugin/pull/434
Any update on this …?
bump