Specifically, I need the "content_available": true for our apps to understand the message correctly.
However, when using FirebaseAdmin.Messaging.Message() I don't have the possibility of setting this field, the only way is to do:
Apns = new ApnsConfig{
Aps = new Aps{
ContentAvailable = true
}
},
However, this doesn't work with the setup as it requires the legacy version. Is there any way that I can use the legacy version of a message? Or is it possible to change how the message is encoded into json?
I'm using the c# version 2.2.0 and I need to send a message in the legacy format:
Specifically, I need the "content_available": true for our apps to understand the message correctly. However, when using FirebaseAdmin.Messaging.Message() I don't have the possibility of setting this field, the only way is to do:
However, this doesn't work with the setup as it requires the legacy version. Is there any way that I can use the legacy version of a message? Or is it possible to change how the message is encoded into json?