Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[auth-swift] Fix heartbeats for SPM #12237

Merged
merged 3 commits into from
Jan 4, 2024
Merged

[auth-swift] Fix heartbeats for SPM #12237

merged 3 commits into from
Jan 4, 2024

Conversation

paulb777
Copy link
Member

@paulb777 paulb777 commented Jan 4, 2024

Restore HeartbeatLogger support for the SPM build

SPM failed to recognize the FIRHeartbeatLoggerProtocol because it included the method flushHeartbeatsIntoPayload that returns a Objective C type that maps a Swift implementation type.

Since the flushHeartbeatsIntoPayload isn't actually needed in the protocol versus a more concise headerValue method, the issue is resolved by switching to headerValue.

@google-oss-bot
Copy link

1 Warning
⚠️ Did you forget to add a changelog entry? (Add #no-changelog to the PR description to silence this warning.)

Generated by 🚫 Danger

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.

Nice!

@paulb777 paulb777 merged commit 20847a1 into auth-swift Jan 4, 2024
130 checks passed
@paulb777 paulb777 deleted the pb-as-heartbeats branch January 4, 2024 16:12
@firebase firebase locked and limited conversation to collaborators Feb 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants