Skip to content

Conversation

@paulb777
Copy link
Member

Fix #14215

@github-actions
Copy link
Contributor

Apple API Diff Report

Commit: a884b8a
Last updated: Wed Dec 11 11:18 PST 2024
View workflow logs & download artifacts


FirebaseRemoteConfig

Classes

[MODIFIED] FIRConfigUpdateListenerRegistration
[MODIFIED] FIRConfigUpdateListenerRegistration
Swift: + class ConfigUpdateListenerRegistration : NSObject , @unchecked Sendable - class ConfigUpdateListenerRegistration : NSObject - func remove () Objective-C: + @interface FIRConfigUpdateListenerRegistration : NSObject - @interface FIRConfigUpdateListenerRegistration : NSObject - - ( void ) remove ;

@paulb777
Copy link
Member Author

Presumably a bug in the API checker showing the removal of remove ?

@paulb777 paulb777 requested a review from ncooke3 December 11, 2024 19:25
Copy link
Member

@ncooke3 ncooke3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may generally be safe, but the class retains a RCNRealtime instance which should be marked as Sendable. I'm looking at the requirements from https://developer.apple.com/documentation/swift/sendable#Sendable-Classes

I'll give the RCNRealtime implementation a scan to see if it looks thread-safe.

@paulb777 paulb777 added this to the 11.7.0 - M158 milestone Dec 11, 2024
@paulb777 paulb777 merged commit b372ee7 into main Dec 11, 2024
47 checks passed
@paulb777 paulb777 deleted the pb-rc-listener-sendable branch December 11, 2024 20:12
@firebase firebase locked and limited conversation to collaborators Jan 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.