Skip to content

Commit

Permalink
Release 6.1.0 - cherry pick of #3007 (#3011)
Browse files Browse the repository at this point in the history
* 6.1.0 manifest updated. FirebaseInAppMessaging bumped to 0.14.1

* Early return from sending analytics events in instance ID is nil (#3007)
  • Loading branch information
maksymmalyhin authored May 15, 2019
1 parent cf172a4 commit 2b1a444
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Firebase/InAppMessaging/Analytics/FIRIAMClearcutLogger.m
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,13 @@ - (void)logAnalyticsEventForType:(FIRIAMAnalyticsLogEventType)eventType
eventTimeInMs = @((long)nowInMs);
}

if (!iid) {
FIRLogWarning(kFIRLoggerInAppMessaging, @"I-IAM210009",
@"Instance ID is nil, event %ld for campaign ID %@ will not be sent",
(long)eventType, campaignID);
return;
}

NSString *sourceExtensionJsonString =
[self constructSourceExtensionJsonForClearcutWithEventType:eventType
forCampaignID:campaignID
Expand Down
2 changes: 1 addition & 1 deletion FirebaseInAppMessaging.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'FirebaseInAppMessaging'
s.version = '0.14.0'
s.version = '0.14.1'
s.summary = 'Firebase In-App Messaging for iOS'

s.description = <<-DESC
Expand Down
1 change: 1 addition & 0 deletions Releases/Manifests/6.1.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"FirebaseCore":"6.0.1",
"FirebaseFirestore":"1.3.1",
"FirebaseFunctions":"2.5.1",
"FirebaseInAppMessaging":"0.14.1",
"FirebaseInstanceID":"4.1.0",
"FirebaseMessaging":"4.0.1",
"FirebaseStorage":"3.2.1"
Expand Down

0 comments on commit 2b1a444

Please sign in to comment.