I have an issue when sending push notifications to multiple devices. I'm doing:
options = {
'data': {
payload: {
data: {
id: 1,
},
}.to_json,
},
'notification': {
title: "algo",
body: "dos",
},
'android': {},
'apns': {
payload: {
aps: {
sound: "default",
category: "#{Time.zone.now.to_i}",
},
},
},
'fcm_options': {
analytics_label: "Label topic",
},
}
response = fcm.send(registration_ids, options)
The push notification sent well, but Firebase is not creating the label. Only worked when I used send_v1 and specifying only 1 devise, but I have to send to multiple devices.
Thank you very much.
Hey, hi everyone!
I have an issue when sending push notifications to multiple devices. I'm doing:
The push notification sent well, but Firebase is not creating the label. Only worked when I used send_v1 and specifying only 1 devise, but I have to send to multiple devices.
Thank you very much.