From 620c961bad46f2e3bd1a536016deea1bd4802188 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Tue, 24 Jun 2025 14:35:34 -0300 Subject: [PATCH] set logReady --- plugins/log/ios/Sources/LogPlugin.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/log/ios/Sources/LogPlugin.swift b/plugins/log/ios/Sources/LogPlugin.swift index 1784e044..9903920f 100644 --- a/plugins/log/ios/Sources/LogPlugin.swift +++ b/plugins/log/ios/Sources/LogPlugin.swift @@ -35,7 +35,8 @@ func scheduleLogFlush() { guard !logFlushScheduled else { return } logFlushScheduled = true - DispatchQueue.main.asyncAfter(deadline: .now() + 10) { + DispatchQueue.main.asyncAfter(deadline: .now() + 5) { + logReady = true flushLogs() } }