We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9f346f commit 1887e85Copy full SHA for 1887e85
Firebase/InAppMessaging/Analytics/FIRIAMClearcutLogger.m
@@ -149,6 +149,13 @@ - (void)logAnalyticsEventForType:(FIRIAMAnalyticsLogEventType)eventType
149
eventTimeInMs = @((long)nowInMs);
150
}
151
152
+ if (!iid) {
153
+ FIRLogWarning(kFIRLoggerInAppMessaging, @"I-IAM210009",
154
+ @"Instance ID is nil, event %ld for campaign ID %@ will not be sent",
155
+ (long)eventType, campaignID);
156
+ return;
157
+ }
158
+
159
NSString *sourceExtensionJsonString =
160
[self constructSourceExtensionJsonForClearcutWithEventType:eventType
161
forCampaignID:campaignID
0 commit comments