via PostMan I am sending this push notification to airship platform.
I have this body:
{
"audience": {
"channel": [
"XXXx-xxxxxxxx-xxxxx-xxxx"
]
},
"device_types": [
"web"
],
"notification": {
"alert": "test 13:34",
"actions": {
"open": {
"type": "url",
"content": "xxx url",
"defaultAction": false
}
},
"web": {
"title": "Test User",
"icon": "xxxxx"
}
}
}
authoritation is bearer and ok.
All browsers is configured ok and they recievie this notification, including Safari MAC.
Android works perfect, the problem is Iphone which is not recieving push notification. Airship Support says me I have to have the channel id as Opt_In as Opt_Out is working for all browsers.
How can I configure the channel Id as Opt_In? it is necessary iphone can show the notification push
I can do this configuration via javascript if the solution is using SDK.
url I am using is POST: https://go.airship.eu/api/push