ios - GCMMessage with content-available flag
问题描述
I have set up Android and iOS clients with fcm and want to send GCMMessages from pinpoint. Standard push notifications are working fine on both Android and IOS, silent push notification is working for Android but it is not working for IOS.
{
"GCMMessage": {
"RawContent": "{\"data\":{\"key1\":\"test1\",\"key2\":\"test2\"},\"content-available\":1}"
}
}
This is the sample GCMMessage payload that I am trying to send.
解决方案
推荐阅读
- elasticsearch - 将 ElasticSearch 相关性分数配置为优先匹配所有单词而不是匹配某些单词?
- conv-neural-network - CNN推理卷积的快速实现
- android - BaseAdapter 扩展的 Fragment 和 Adapter 中的列表视图搜索遇到崩溃
- java - 运行多条记录时用于地理编码的 Mapbox API 导致内存不足异常
- vue.js - Vue.js vuetifyjs日历不显示日事件
- node.js - 多对多关系 Sequelize Node JS 属性数组
- python - 从 html 上的按钮运行 python 脚本
- python - python drop row if 仅适用于特定字符串
- async-await - 使用 CancellationTokenSource 时,NetworkStream ReadAsync 和 WriteAsync 无限挂起 - Task.Result(或 Task.Wait)导致死锁
- python - 如何在 python 中输入数学函数(exp、log、sin)