Firebase Cloud Messaging config
Yes - the contentAvailable
or rather content_available
field is also available for iOS. You can just add the field to your server request amongst other fields like for example badge
.
To give an example and a brief overview for possible fields in your APNS payload out of the Python FCM Admin SDK look below (the contentAvailable
field is also available in other SDKs):
(Taken from official documentation here )
With the fields you can configure your badges and their behavior.
There are also for example Android specific parameters.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.