appsflyer-react-native-plugin icon indicating copy to clipboard operation
appsflyer-react-native-plugin copied to clipboard

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

Open YangJonghun opened this issue 2 years ago • 35 comments

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()',

YangJonghun avatar Jun 24 '22 13:06 YangJonghun

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

amit-kremer93 avatar Jul 11 '22 14:07 amit-kremer93

What's the status on this? :)

espenjanson avatar Sep 05 '22 09:09 espenjanson

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

ajiehatajie avatar Sep 10 '22 03:09 ajiehatajie

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

cltnschlosser avatar Oct 07 '22 14:10 cltnschlosser

This pull request should resolve this issue: https://github.com/AppsFlyerSDK/appsflyer-react-native-plugin/pull/434

princefishthrower avatar Oct 19 '22 07:10 princefishthrower

Any news when it will be released?

ahtokca avatar Oct 26 '22 10:10 ahtokca

+1

rnkdsh avatar Oct 30 '22 11:10 rnkdsh

bump

as4 avatar Nov 03 '22 16:11 as4

+1

irenegonzalez27 avatar Feb 01 '23 16:02 irenegonzalez27

+1

maulik54e avatar Feb 06 '23 16:02 maulik54e

+1

riteshsingh1 avatar Feb 14 '23 11:02 riteshsingh1

+1

buuuudzik avatar Feb 21 '23 18:02 buuuudzik

+1

KonstantinosKoulaxizis avatar Feb 27 '23 11:02 KonstantinosKoulaxizis

+1

kibolho avatar Feb 27 '23 17:02 kibolho

Any update on this ..?

maulik54e avatar Apr 06 '23 17:04 maulik54e

+1

OrLevy23 avatar Apr 16 '23 13:04 OrLevy23

Any update ?

bytemtek avatar Apr 19 '23 13:04 bytemtek

Please consider amending this asap

brizido avatar May 29 '23 22:05 brizido

+1 same problem here

renanbronchart avatar Jun 02 '23 17:06 renanbronchart

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

Matiassimone avatar Jun 12 '23 20:06 Matiassimone

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

image

Matiassimone avatar Jun 13 '23 12:06 Matiassimone

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

Darex1991 avatar Jun 23 '23 12:06 Darex1991

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 () => {

dannyhw avatar Jun 28 '23 13:06 dannyhw

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

glennweb avatar Jul 07 '23 06:07 glennweb

+1

JoeDareZone avatar Sep 28 '23 11:09 JoeDareZone

+1

marceloleob avatar Nov 15 '23 18:11 marceloleob

+1

paulina-grunwald avatar Dec 17 '23 18:12 paulina-grunwald

+1

bryanboyko avatar Dec 18 '23 01:12 bryanboyko

+1

VijayMFinGlide avatar Dec 27 '23 10:12 VijayMFinGlide

+1

laurens-lamberts avatar Dec 29 '23 15:12 laurens-lamberts