appsflyer-react-native-plugin
appsflyer-react-native-plugin copied to clipboard
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()',
@YangJonghun AppsFlyer plugin doesn't work for you with RN 0.69?
What's the status on this? :)
same issue ini RN 0.70 , any update for this issue ?
+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.
This pull request should resolve this issue: https://github.com/AppsFlyerSDK/appsflyer-react-native-plugin/pull/434
Any news when it will be released?
+1
bump
+1
+1
+1
+1
+1
+1
Any update on this ..?
+1
Any update ?
Please consider amending this asap
+1 same problem here
+1 same problem, I'll use the library with a patch-package, but pls consider merge it ASAP 🙏
https://www.npmjs.com/package/patch-package
Patch file ⬆️ react-native-appsflyer+6.10.3.patch
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 () => {
+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.
+1
+1
+1
+1
+1
+1