How to pass content-available to Expo push API

We are currently using Expo SDK 44 and have push notifications configured, using the Ruby SDK to trigger notifications via our server. We have followed the Expo doc. to configure the front-end for handling notifications in the background (adding plist value and registering TaskManager task), however, the push API documentation doesn’t reference the content-available field that iOS requires to be in the aps payload for notifications to trigger in the background.

Can anyone point me to documentation or explain how we should inform the Expo push API to add that field? We’ve tried just adding it to various parts of the API call body, but that doesn’t seem to do it.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.