Hi,
I’m running into an issue where development builds (via Xcode) are not generating an appsflyer_id, and consequently, no S2S events are being sent from RevenueCat to AppsFlyer. Here’s what I’ve observed:
What’s happening
-
In dev builds, Apple zeros out IDFA and IDFV for sideloaded apps, even with ATT consent.
-
Without IDFA/IDFV, AppsFlyer SDK cannot create a valid
appsflyer_id, which is required for event attribution. -
As a result, RevenueCat never sends server-to-server purchase or trial events because it doesn’t have the mandatory identifier.
-
I’ve implemented the suggested methods—
collectDeviceIdentifiers()andsetAppsflyerID()—but since the SDK doesn’t generate the ID in dev builds, RevenueCat still fails to send any events.
Questions
-
Is there a recommended workaround for dev builds when IDs are zeroed?
(e.g., can we manually set a fake$appsflyerIdor use an IDFV workaround?). -
Any best practices for testing with Xcode‑installed apps so that both AppsFlyer and RevenueCat work as expected?
-
In production/TestFlight, everything works smoothly. But our CI/debug environment doesn’t—any idea how to get S2S events flowing in dev?
Thanks in advance for any guidance or best practices 🙏
Happy to supply logs or screenshots if helpful!
