React Native Expo
Package Versions:
"expo": "^53.0.17",
"react-native": "0.79.5",
"react-native-appsflyer": "^6.17.1",
I'm upgrading to the latest version of Expo; in SDK 53, it's not working.
While pre-building the project, I got this kind of warning.
1. withAppsFlyerAppDelegate file is not supported with the swift AppDelegate file
This warning shows while app prebuilding.
2. Also, appsFlyer.onDeepLink Method is not called
appsFlyer.initSdk(
{
devKey: "YOUR_DEV_KEY",
isDebug: true,
appId: Platform.OS === "ios" ? "YOUR_APPID" : undefined,
onDeepLinkListener: true,
},
(result) => {
console.log("AppsFlyer init success:", result);
},
(error) => {
console.error("AppsFlyer init failed:", error);
}
);
// Deep link handler
const deepLinkListener = async (res: UnifiedDeepLinkData) => {
if (res.deepLinkStatus === "FOUND") {
const { deep_link_value } = res?.data;
console.log("AppsFlyer deep-link response --->", res);
if (deep_link_value) {
console.log(
"MetaAd_AppInstalled event triggered via AppsFlyer ------->",
deep_link_value
);
logAppEvent("MetaAd_AppInstalled", {
Platform: Platform.OS,
fbc: deep_link_value,
});
await AsyncStorage.setItem("facebookAdsId", deep_link_value);
}
}
};
appsFlyer.onDeepLink(deepLinkListener);
}, []);
All are things that are working in Expo 51.0.38 and React Native 0.74.5. But React Native & Expo's latest version is not working.
React Native Expo
Package Versions:
I'm upgrading to the latest version of Expo; in SDK 53, it's not working.
While pre-building the project, I got this kind of warning.
1. withAppsFlyerAppDelegate file is not supported with the swift AppDelegate file
This warning shows while app prebuilding.
2. Also, appsFlyer.onDeepLink Method is not called
All are things that are working in Expo 51.0.38 and React Native 0.74.5. But React Native & Expo's latest version is not working.