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

Discrepancy in FCM REST API documentation for APNS parameters #14159

Open
johsu opened this issue Nov 21, 2024 · 1 comment
Open

Discrepancy in FCM REST API documentation for APNS parameters #14159

johsu opened this issue Nov 21, 2024 · 1 comment

Comments

@johsu
Copy link

johsu commented Nov 21, 2024

Description

The documentation for the new live activity support through FCM displays live_activity_token in lower snake case:
https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#ApnsConfig
https://firebase.google.com/docs/cloud-messaging/ios/live-activity#start-live-activity

However in practice, and as suggested by the FCM REST API Explorer, the apns body accepts liveActivityToken in camel case. The same goes for fcm_options vs fcmOptions.
Screenshot 2024-11-21 at 11 24 43 AM

Reproducing the issue

No response

Firebase SDK Version

N/A

Xcode Version

N/A

Installation Method

N/A

Firebase Product(s)

Messaging

Targeted Platforms

iOS

Relevant Log Output

No response

If using Swift Package Manager, the project's Package.resolved

No response

If using CocoaPods, the project's Podfile.lock

No response

@google-oss-bot
Copy link

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants