Skip to content

Commit abe8821

Browse files
committed
Merge branch 'main' into ah/firebaseai-thoughts
2 parents 217b06c + b9bf3ad commit abe8821

File tree

12 files changed

+33
-15
lines changed

12 files changed

+33
-15
lines changed

Crashlytics/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Unreleased
1+
# 12.1.0
22
- [fixed] Do not log using raw print in an internal class. (#15138)
33

44
# 12.0.0

FirebaseAI/Tests/TestApp/Tests/Integration/GenerateContentIntegrationTests.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,11 @@ struct GenerateContentIntegrationTests {
333333
topK: 1,
334334
responseModalities: [.text, .image]
335335
)
336+
let safetySettings = safetySettings.filter {
337+
// HARM_CATEGORY_CIVIC_INTEGRITY is deprecated in Vertex AI but only rejected when using the
338+
// 'gemini-2.0-flash-preview-image-generation' model.
339+
$0.harmCategory != .civicIntegrity
340+
}
336341
let model = FirebaseAI.componentInstance(config).generativeModel(
337342
modelName: ModelNames.gemini2FlashPreviewImageGeneration,
338343
generationConfig: generationConfig,

FirebaseAnalytics.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Pod::Spec.new do |s|
1313
s.authors = 'Google, Inc.'
1414

1515
s.source = {
16-
:http => 'https://dl.google.com/firebase/ios/analytics/c3a136153af090b8/FirebaseAnalytics-12.0.0.tar.gz'
16+
:http => 'https://dl.google.com/firebase/ios/analytics/f8b1e0fb38da4d8c/FirebaseAnalytics-12.1.0.tar.gz'
1717
}
1818

1919
s.cocoapods_version = '>= 1.12.0'

FirebaseAuth/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Unreleased
1+
# 12.1.0
22
- [fixed] Fix a formatting issue with generated TOTP URLs that prevented them
33
from working with the Google Authenticator app. (#15128)
44

FirebaseInAppMessaging/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 12.1.0
2+
- [fixed] Fix Xcode 26 crash from missing `NSUserActivityTypeBrowsingWeb`
3+
symbol. Note that this fix isn't in the 12.1.0 zip and Carthage
4+
distributions, but will be included from 12.2.0 onwards. (#15159)
5+
16
# 11.0.0
27
- [removed] **Breaking change**: The deprecated `FirebaseInAppMessagingSwift`
38
module has been removed. See

FirebaseInAppMessaging/Sources/Runtime/FIRIAMActionURLFollower.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,9 @@ - (BOOL)followURLWithContinueUserActivity:(NSURL *)url {
175175
FIRLogDebug(kFIRLoggerInAppMessaging, @"I-IAM240004",
176176
@"App delegate responds to application:continueUserActivity:restorationHandler:."
177177
"Simulating action url opening from a web browser.");
178-
NSUserActivity *userActivity =
179-
[[NSUserActivity alloc] initWithActivityType:NSUserActivityTypeBrowsingWeb];
178+
// Use string literal to ensure compatibility with Xcode 26 and iOS 18
179+
NSString *browsingWebType = @"NSUserActivityTypeBrowsingWeb";
180+
NSUserActivity *userActivity = [[NSUserActivity alloc] initWithActivityType:browsingWebType];
180181
userActivity.webpageURL = url;
181182
BOOL handled = [self.appDelegate application:self.mainApplication
182183
continueUserActivity:userActivity

FirebaseInAppMessaging/Tests/Unit/FIRIAMActionUrlFollowerTests.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,9 @@ - (void)testUniversalLinkHandlingReturnYES {
8484
continueUserActivity:[OCMArg checkWithBlock:^BOOL(id userActivity) {
8585
// verifying the type and url field for the userActivity object
8686
NSUserActivity *activity = (NSUserActivity *)userActivity;
87-
return [activity.activityType
88-
isEqualToString:NSUserActivityTypeBrowsingWeb] &&
87+
// Use string literal to ensure compatibility with Xcode 26 and iOS 18
88+
NSString *browsingWebType = @"NSUserActivityTypeBrowsingWeb";
89+
return [activity.activityType isEqualToString:browsingWebType] &&
8990
[activity.webpageURL isEqual:url];
9091
}]
9192
restorationHandler:[OCMArg any]])

FirebaseMessaging/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 12.1.0
2+
- [fixed] Fix Xcode 26 crash from missing `NSUserActivityTypeBrowsingWeb`
3+
symbol. Note that this fix isn't in the 12.1.0 zip and Carthage
4+
distributions, but will be included from 12.2.0 onwards. (#15159)
5+
16
# 11.14.0
27
- [fixed] Fix a potential SQL injection issue. (#14846).
38

FirebaseMessaging/Sources/FIRMessaging.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,9 @@ - (void)handleIncomingLinkIfNeededFromMessage:(NSDictionary *)message {
400400
// if they haven't implemented it.
401401
if ([NSUserActivity class] != nil &&
402402
[appDelegate respondsToSelector:continueUserActivitySelector]) {
403-
NSUserActivity *userActivity =
404-
[[NSUserActivity alloc] initWithActivityType:NSUserActivityTypeBrowsingWeb];
403+
// Use string literal to ensure compatibility with Xcode 26 and iOS 18
404+
NSString *browsingWebType = @"NSUserActivityTypeBrowsingWeb";
405+
NSUserActivity *userActivity = [[NSUserActivity alloc] initWithActivityType:browsingWebType];
405406
userActivity.webpageURL = url;
406407
[appDelegate application:application
407408
continueUserActivity:userActivity

Firestore/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Unreleased
1+
# 12.1.0
22
- [fixed] Fixed accidental removal of `pod "Firebase/Firestore"` for tvOS in 12.0.0.
33

44
# 11.12.0

0 commit comments

Comments
 (0)