You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: OneSignalSDK/onesignal/in-app-messages/src/main/java/com/onesignal/inAppMessages/internal/InAppMessagesManager.kt
+47Lines changed: 47 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,12 @@ internal class InAppMessagesManager(
116
116
privateval fetchIAMMutex =Mutex()
117
117
privatevar lastTimeFetchedIAMs:Long?=null
118
118
119
+
// Tracks whether the first IAM fetch has completed since this cold start
120
+
privatevar hasCompletedFirstFetch:Boolean=false
121
+
122
+
// Tracks trigger keys added early on cold start (before first fetch completes), for redisplay logic
0 commit comments