-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
I'm working with an Expo mobile project, in which I'm trying to listen to background notifications.
I managed to get it working through the customer.io transactional dashboard, using this custom payload:
{
"aps": {
"alert": {
"title": "Customer.io push from dashboard",
"body": "with content-available: 1"
},
"mutable-content": 1,
"content-available": 1,
"sound": "default"
}
}
When I try with the ruby gem using custom_payload on the request body, I get none of the background listeners to execute, but I get the push notification. I suspect "content-available": 1 is not getting carried over to the transactional message payload
request = Customerio::SendPushRequest.new(
....
custom_payload: {
ios: {
aps: {
"content-available": 1
},
},
},
)
Any pointers would be greatly appreciated!
Metadata
Metadata
Assignees
Labels
No labels