AppsFlyerSDK / appsflyer-react-native-plugin

AppsFlyer plugin for React Native
MIT License
284 stars 202 forks source link

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

Open YangJonghun opened 2 years ago

YangJonghun commented 2 years ago

Report

Plugin Version

On what Platform are you having the issue?

What did you do?

What did you expect to happen?

What happened instead?

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 commented 2 years ago

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

espenjanson commented 2 years ago

What's the status on this? :)

ajiehatajie commented 2 years ago

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

cltnschlosser commented 2 years ago

+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 commented 2 years ago

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

ahtokca commented 2 years ago

Any news when it will be released?

rnkdsh commented 2 years ago

+1

as4 commented 2 years ago

bump

irenegonzalez27 commented 1 year ago

+1

maulik54e commented 1 year ago

+1

riteshsingh1 commented 1 year ago

+1

buuuudzik commented 1 year ago

+1

KonstantinosKoulaxizis commented 1 year ago

+1

kibolho commented 1 year ago

+1

maulik54e commented 1 year ago

Any update on this ..?

OrLevy23 commented 1 year ago

+1

bytemtek commented 1 year ago

Any update ?

brizido commented 1 year ago

Please consider amending this asap

renanbronchart commented 1 year ago

+1 same problem here

Matiassimone commented 1 year ago

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

Matiassimone commented 1 year ago

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

image

Darex1991 commented 1 year ago

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

dannyhw commented 1 year ago

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 commented 1 year ago

+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 commented 1 year ago

+1

marceloleob commented 1 year ago

+1

paulina-grunwald commented 11 months ago

+1

bryanboyko commented 11 months ago

+1

VijayMFinGlide commented 11 months ago

+1

laurens-lamberts commented 10 months ago

+1

mikypilota commented 10 months ago

+1

AzaelContramaestre01 commented 10 months ago

+1

Z-Hayk commented 9 months ago

+1

jle-pass commented 9 months ago

+1

FBRAA commented 7 months ago

+1 on 0.73

sLurPPPeRsTaR commented 3 months ago

+1 on RN 73.9

Yangeok commented 3 months ago

Why isn't this issue RESOLVED?

+1 on RN .72.7