Hi All,
We are able to get the in-app messages when we send message from dash-board.
But we run the below curl statement not able to see the in-app message on the screen.
Ex:
curl https://go.urbanairship.com/api/push -X POST -u "xxxx:xxxx" -H "Accept: application/vnd.urbanairship+json; version=3" -H "Content-Type: application/json" -d '{"audience": "all","notification": { "alert" : "In app message " }, "in_app": { "alert": "This part appears in-app! ","display_type": "banner","display": {"position": "top","duration": 2}, "actions":{"share": "this is the best app ever."}}, "device_types": "all"}'
Result:
{"ok":true,"operation_id":"014652c1-7363-4316-bf18-dc208a9786e9","push_ids":["6aee58fd-c451-42d5-b17b-d111958ad308"],"message_ids":[],"content_urls":[]}
Can you provide the details, how to see the in-app message on the screen through curl statement
Comments
4 comments