[FR] Add subtitle for iOS push notifications
Describe your environment Messaging/Notifications Describe the problem We cannot send push notifications with subtitle for iOS due to ApsAlert struct lacking a subtitle field.
FCM API and the APNS itself do support this field on iOS 9+ (and it's safely ignored on older versions).
I found a few problems with this issue:
- I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
- This issue does not seem to follow the issue template. Make sure you provide all the required information.
Hi @daxaxelrod this is the Firebase Admin Node.js repo. Do you need this feature supported in the Go SDK?
Hey, @chong-shao WDYT?
Hey @lahirumaramba Yes looking to get this added for the node sdk
I misread your comment, apologies. It looks like the subtitle field is available in the Node.js SDK. See https://firebase.google.com/docs/reference/admin/node/firebase-admin.messaging.apsalert.md#apsalertsubtitle
Does that help?
No problem! I've tried that (at least on v11.9.0) and it wasn't working for me. Am only able to get the title and body to work