Skip to content
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

current react-native.config.js doesn't work with React Native 0.69 #395

Open
YangJonghun opened this issue Jun 24, 2022 · 35 comments
Open

Comments

@YangJonghun
Copy link

YangJonghun commented Jun 24, 2022

Report

Plugin Version

On what Platform are you having the issue?

  • ios

What did you do?

  • pod install --project-directory=ios or npx 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()',
@amit-kremer93
Copy link
Contributor

@YangJonghun AppsFlyer plugin doesn't work for you with RN 0.69?

@espenjanson
Copy link

What's the status on this? :)

@ajiehatajie
Copy link

same issue ini RN 0.70 , any update for this issue ?

@cltnschlosser
Copy link

+1 With RN 0.70.2:

warn Package react-native-appsflyer contains invalid configuration: "dependency.platforms.ios.podspecPath" is not allowed. Please verify it's properly linked using "react-native config" command and contact the package maintainers about this.

@princefishthrower
Copy link
Contributor

This pull request should resolve this issue: #434

@ahtokca
Copy link

ahtokca commented Oct 26, 2022

Any news when it will be released?

@rnkdsh
Copy link

rnkdsh commented Oct 30, 2022

+1

@as4
Copy link

as4 commented Nov 3, 2022

bump

@irenegonzalez27
Copy link

+1

5 similar comments
@maulik54e
Copy link

+1

@riteshsingh1
Copy link

+1

@buuuudzik
Copy link

+1

@KonstantinosKoulaxizis
Copy link
Contributor

+1

@kibolho
Copy link

kibolho commented Feb 27, 2023

+1

@maulik54e
Copy link

Any update on this ..?

@OrLevy23
Copy link

+1

@bytemtek
Copy link

Any update ?

@brizido
Copy link

brizido commented May 29, 2023

Please consider amending this asap

@renanbronchart
Copy link

+1 same problem here

@Matiassimone
Copy link

Matiassimone commented Jun 12, 2023

+1 same problem,
I'll use the library with a patch-package, but pls consider merge it ASAP 🙏

@Matiassimone
Copy link

https://www.npmjs.com/package/patch-package

image

@Darex1991
Copy link

Patch file ⬆️
react-native-appsflyer+6.10.3.patch

@dannyhw
Copy link

dannyhw commented Jun 28, 2023

I get this in expo eas everytime I build, seems related

[RUN_GRADLEW] warn Package react-native-appsflyer contains invalid configuration: "dependency.platforms.ios.podspecPath" is not allowed. Please verify it's properly linked using "react-native config" command and contact the package maintainers about this.
[RUN_GRADLEW] ● Validation Warning:
[RUN_GRADLEW]   Unknown option "watcher.unstable_preferTreeFS" with value false was found.
[RUN_GRADLEW]   This is probably a typing mistake. Fixing it will remove this message.
[RUN_GRADLEW] ● Validation Warning:
[RUN_GRADLEW]   Unknown option "unstable_perfLoggerFactory" with value () => {

@glennweb
Copy link

glennweb commented Jul 7, 2023

+1 here. Same problem.

Also, do we know when the RN AppsFlyer will support AppsFlyer SDK 6.11.12.

My understanding is that there is a fix in the 6.11+ versions relating further fraud prevention.

...our fraud team are advising that we’ve just released the latest version of our SDK, version 6.11.1, which brings an additional layer of security to your mobile advertising campaigns.
Upgrading to the latest SDK version is a crucial step in fortifying your defenses against potential threats and ensuring a safer advertising environment. With this new release, we have implemented advanced security measures to combat fake installs more effectively block traffic in real time.

@JoeDareZone
Copy link

+1

@marceloleob
Copy link

+1

8 similar comments
@paulina-grunwald
Copy link

+1

@bryanboyko
Copy link

+1

@VijayMFinGlide
Copy link

+1

@laurens-lamberts
Copy link

+1

@mikypilota
Copy link

+1

@AzaelContramaestre01
Copy link

+1

@Z-Hayk
Copy link

Z-Hayk commented Jan 31, 2024

+1

@passCulture-JL
Copy link

+1

@FBRAA
Copy link

FBRAA commented Apr 15, 2024

+1 on 0.73

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests