From 7d7f72ecb0a7af4b093e65dd1a324aa86834c6f5 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Fri, 12 Jun 2026 15:13:55 -0300 Subject: [PATCH] AppsFlyer: Fix - await logEvent to catch network rejection in track() --- src/utils/appsFlyer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/appsFlyer.ts b/src/utils/appsFlyer.ts index 267261aa30..985fd56d03 100644 --- a/src/utils/appsFlyer.ts +++ b/src/utils/appsFlyer.ts @@ -153,7 +153,7 @@ export const AppsFlyerWrapper = (() => { } try { - AppsFlyer.logEvent(eventName, eventValues ?? {}); + await AppsFlyer.logEvent(eventName, eventValues ?? {}); } catch (err) { const errMsg = err instanceof Error ? err.message : JSON.stringify(err);