From aa5a664cf9c1e1ad4c9aef1a7ac34ea0144c4c8f Mon Sep 17 00:00:00 2001 From: Shaked Eilat Date: Tue, 10 Mar 2026 11:17:34 +0200 Subject: [PATCH] Code Fix - react-native/issues/55653 - PCPackage build error fix --- react-native.config.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/react-native.config.js b/react-native.config.js index 0f30744a..df1031f6 100644 --- a/react-native.config.js +++ b/react-native.config.js @@ -4,13 +4,10 @@ module.exports = { dependency: { platforms: { android: { - packageImportPath: [ - 'import com.appsflyer.reactnative.RNAppsFlyerPackage;', - 'import com.appsflyer.reactnative.PCAppsFlyerPackage;', - ].join('\n'), + packageImportPath: 'import com.appsflyer.reactnative.RNAppsFlyerPackage;', packageInstance: [ 'new RNAppsFlyerPackage()', - 'new PCAppsFlyerPackage()', + 'new com.appsflyer.reactnative.PCAppsFlyerPackage()', ].join(',\n'), }, },