Does pushwoosh support the ios content-available variable?

Answered

Comments

4 comments

  • Avatar
    Gayview Mahat

    Hello!

    Yes, we do support this, please see our /createMessage guide:

    "ios_root_params" : {     //Optional - root level parameters to the aps dictionary
                         "aps":{
                                   "content-available": "1"
                         }
               },
    
  • Avatar
    Rob Willett

    There appears to be two different defns for content-available.

    The one above "ios_root_params" : { //Optional - root level parameters to the aps dictionary "aps":{ "content-available": "1" } },

    and the defn on the Blog page (https://www.pushwoosh.com/newsstand-push-notifications/)

    “ios_root_params”: { “content-available”: 1 }

    Which is the correct and authoritative one please? I'm assuming the main docs....

  • Avatar
    Gayview Mahat

    Hi rwillett,

    The correct way is:

    "ios_root_params": {
                        "aps": {
                            "content-available": "1"
                        }
                    }
    
  • Avatar
    Rob Willett

    Thanks,

    The blog post appears to be wrong then :)

    Rob

Please sign in to leave a comment.