Skip to content

Commit afd83c3

Browse files
authored
[auth] Address Xcode 16.2 concurrency compile time issues (#14279)
1 parent dd8b502 commit afd83c3

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

FirebaseAuth/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
- [fixed] Fix Multi-factor session crash on second Firebase app. (#14238)
33
- [fixed] Updated most decoders to be consistent with Firebase 10's behavior
44
for decoding `nil` values. (#14212)
5+
- [fixed] Address Xcode 16.2 concurrency compile time issues. (#14279)
56

67
# 11.6.0
78
- [added] Added reCAPTCHA Enterprise support for app verification during phone

FirebaseAuth/Sources/Swift/Auth/Auth.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ extension Auth: AuthInterop {
144144
///
145145
/// This class is thread-safe.
146146
@available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
147+
@preconcurrency
147148
@objc(FIRAuth) open class Auth: NSObject {
148149
/// Gets the auth object for the default Firebase app.
149150
///

FirebaseAuth/Sources/Swift/SystemService/AuthNotificationManager.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
/// A class represents a credential that proves the identity of the app.
2020
@available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
21+
@preconcurrency
2122
class AuthNotificationManager {
2223
/// The key to locate payload data in the remote notification.
2324
private let kNotificationDataKey = "com.google.firebase.auth"

0 commit comments

Comments
 (0)