Skip to content

Commit 2b1a444

Browse files
Release 6.1.0 - cherry pick of #3007 (#3011)
* 6.1.0 manifest updated. FirebaseInAppMessaging bumped to 0.14.1 * Early return from sending analytics events in instance ID is nil (#3007)
1 parent cf172a4 commit 2b1a444

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

Firebase/InAppMessaging/Analytics/FIRIAMClearcutLogger.m

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,13 @@ - (void)logAnalyticsEventForType:(FIRIAMAnalyticsLogEventType)eventType
149149
eventTimeInMs = @((long)nowInMs);
150150
}
151151

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+
152159
NSString *sourceExtensionJsonString =
153160
[self constructSourceExtensionJsonForClearcutWithEventType:eventType
154161
forCampaignID:campaignID

FirebaseInAppMessaging.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'FirebaseInAppMessaging'
3-
s.version = '0.14.0'
3+
s.version = '0.14.1'
44
s.summary = 'Firebase In-App Messaging for iOS'
55

66
s.description = <<-DESC

Releases/Manifests/6.1.0.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"FirebaseCore":"6.0.1",
44
"FirebaseFirestore":"1.3.1",
55
"FirebaseFunctions":"2.5.1",
6+
"FirebaseInAppMessaging":"0.14.1",
67
"FirebaseInstanceID":"4.1.0",
78
"FirebaseMessaging":"4.0.1",
89
"FirebaseStorage":"3.2.1"

0 commit comments

Comments
 (0)