How to handle content-avaiable type APN in ios?

The expo documentation doesnt say much about background notifications, but I have read (including on the related canny feature request) that it was implemented in a way that should make this possible. I’m not clear on how or if this works. Is there a good resource or recipe I can follow?

On a related note, is it possible to Handle raw APNs with our own p8file?