美文网首页
ios推送json

ios推送json

作者: CAICAI0 | 来源:发表于2018-06-27 16:39 被阅读0次
  1. 普通新闻推送

     {
         "aps": {
             "alert": "普通新闻推送",
             "badge": 6,
             "sound": "default"
         },
         "flag":1,
         "newsid":505086
     }
    
  2. 活动推送

     {
         "aps": {
             "alert": "活动推送",
             "badge": 6,
             "sound": "default"
         },
         "flag":2,
         "newsid":90
     }
    
  3. 专题推送

     {
         "aps": {
             "alert": "专题推送",
             "badge": 6,
             "sound": "default"
         },
         "flag":4,
         "newsid":505086
     }
    
  4. 众说新闻推送

     {
         "aps": {
             "alert": "众说新闻推送",
             "badge": 6,
             "sound": "default"
         },
         "flag":4,
         "newsid":505086
     }
    
  5. 需求推送

     {
         "aps": {
             "alert": "需求推送",
             "badge": 6,
             "sound": "default"
         },
         "flag":7,
         "newsid":505086
     }
    
  6. 钱包推送

     {
         "aps": {
             "alert": "钱包推送",
             "badge": 6,
             "sound": "default"
         },
         "flag":20,
         "newsid":505086
     }
    
  7. 点播推送

     {
         "aps": {
             "alert": "点播推送",
             "badge": 6,
             "sound": "default"
         },
         "flag":21,
         "newsid":505086
     }
    
  8. 直播推送

     {
         "aps": {
             "alert": "播推送",
             "badge": 6,
             "sound": "default"
         },
         "flag":22,
         "newsid":505086
     }
    
  9. 我的文章

     {
         "aps": {
             "alert": "我的文章",
             "badge": 6,
             "sound": "default"
         },
         "flag":25,
         "newsid":505086
     }
    
  10. 我的文档推送

    {
        "aps": {
            "alert": "我的文档推送",
            "badge": 6,
            "sound": "default"
        },
        "flag":26,
        "newsid":505086
    }
    
  11. 微说消息列表

    {
        "aps": {
            "alert": "微说消息列表",
            "badge": 6,
            "sound": "default"
        },
        "flag":27,
        "newsid":505086
    }
    
  12. 图集推送

    {
        "aps": {
            "alert": "图集推送",
            "badge": 6,
            "sound": "default"
        },
        "flag":51,
        "newsid":504483
    }
    
  13. 视频新闻推送

    {
        "aps": {
            "alert": "视频新闻推送",
            "badge": 6,
            "sound": "default"
        },
        "flag":52,
        "newsid":505086
    }
    
  14. 音频新闻推送

    {
        "aps": {
            "alert": "音频新闻",
            "badge": 6,
            "sound": "default"
        },
        "flag":53,
        "newsid":505094
    }
    
  15. 短视频推送

    {
        "aps": {
            "alert": "短视频推送",
            "badge": 6,
            "sound": "default"
        },
        "flag":54,
        "newsid":504387
    }
    
  16. 系统消息活动推送

    {
        "aps": {
            "alert": "系统消息活动推送",
            "badge": 6,
            "sound": "default"
        },
        "flag":99,
        "newsid":90
    }
    
  17. 文档推送

    {
        "aps": {
            "alert": "文档推送",
            "badge": 6,
            "sound": "default"
        },
        "flag":100,
        "newsid":505086
    }
    
  18. 视频推送

    {
        "aps": {
            "alert": "视频推送",
            "badge": 6,
            "sound": "default"
        },
        "flag":101,
        "newsid":505086
    }
    
  19. 期刊推送

    {
        "aps": {
            "alert": "期刊推送",
            "badge": 6,
            "sound": "default"
        },
        "flag":102,
        "newsid":505086
    }
    
  20. 文档专区推送

    {
        "aps": {
            "alert": "文档专区推送",
            "badge": 6,
            "sound": "default"
        },
        "flag":103,
        "newsid":505086
    }
    
  21. 视频专区推送

    {
        "aps": {
            "alert": "视频专区推送",
            "badge": 6,
            "sound": "default"
        },
        "flag":104,
        "newsid":505086
    }
    
  22. 图片推送(错误版本)4.6.4 以及以前的版本

    {
        "aps": {
            "alert": "图片推送",
            "badge": 6,
            "sound": "default",
            "mutable-content": 1
        },
        "flag": 104,
        "newsid": 505086,
        "subtitle": "标题",
        "imageAbsoluteString": "https://www.baidu.com/img/xinshouye_587b8961411e2b7405bfa4e20c143faa.png"
    }
    
  23. 图片推送(标准版本)

    {
        "aps": {
            "alert": {
                "title":"title",
                "subtitle": "subtitle",
                "body": "body"
            },
            "badge": 6,
            "sound": "default",
            "mutable-content":1
        },
        "flag": 1,
        "newsid": 505086,
        "imageAbsoluteString": "https://www.baidu.com/img/xinshouye_587b8961411e2b7405bfa4e20c143faa.png"
    }
    
  24. 图片推送(正确错误的过渡兼容版本)

    {
        "aps": {
            "alert":"内容描述",
            "badge": 6,
            "sound": "default",
            "mutable-content":1
        },
        "flag": 1,
        "newsid": 505086,
        "subtitle": "标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题",
        "alertdesc": "描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述",
        "imageAbsoluteString": "https://www.baidu.com/img/xinshouye_587b8961411e2b7405bfa4e20c143faa.png"
    }
    

{
"aps": {
"alert":"内容描述",
"badge": 6,
"sound": "default",
"mutable-content":1,
"thread-id":"thread-id",
"category":"Category_group"
},
"flag": 1,
"newsid": 505086,
"subtitle": "标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题",
"alertdesc": "描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述",
"imageAbsoluteString": "https://www.baidu.com/img/xinshouye_587b8961411e2b7405bfa4e20c143faa.png",
"UNNC.summaryArgument":"测试summaryArgument",
"UNNC.summaryArgumentCount":1
}

相关文章

网友评论

      本文标题:ios推送json

      本文链接:https://www.haomeiwen.com/subject/cgxiyftx.html