FCM: apns.fcmOptions.imageUrl
and notification.imageUrl
not rendering images for < iOS 18 and < ipadOS 18
#2807
Labels
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
Images do not render on iOS < 18 and ipadOS < 18 devices, when sending a payload with
apns.fcmOptions.imageUrl
ornotification.imageUrl
. I thought it might be related to image size so I sent an image with a size of 400 bytes but still no luck.Slightly unrelated, but the docs state to use
apns.fcmOptions.image
(source) whilst the TypeScript interface declaresapns.fcmOptions.imageUrl
(code). I've tried setting an ignore rule for the compiler to useapns.fcmOptions.image
in the payload, whilst this also renders images for iOS 18 and ipadOS 18, it still doesn't render for iOS 17 and ipadOS 17 devices.Steps to reproduce:
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
apns.fcmOptions.imageUrl
ornotification.imageUrl
sendEachForMulticast()
)Example: Successful notification on ios 18 with image
Relevant Code:
Example payload
The text was updated successfully, but these errors were encountered: