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
feat: IAMs now display when triggers added before first fetch
- Addresses issue where in-app messages wouldn't display on cold starts if their triggers were added very early (before IAM fetch completed).
- Tracks triggers added before first fetch completes, then applies the isTriggerChanged flag to matching messages when they are received from the server, ensuring redisplay logic works correctly.
// Apply isTriggerChanged for messages that match triggers added too early on cold start
417
+
if (self.earlySessionTriggers.count > 0) {
418
+
[OneSignalLog onesignalLog:ONE_S_LL_VERBOSEmessage:[NSStringstringWithFormat:@"Processing triggers added early on cold start: %@", self.earlySessionTriggers]];
419
+
for (OSInAppMessageInternal *message in self.messages) {
420
+
if ([self.redisplayedInAppMessages objectForKey:message.messageId] &&
0 commit comments