【发布时间】:2016-10-02 14:01:39
【问题描述】:
我想知道如何使用OneSignal 发送自定义声音通知。不幸的是,他们的文档仅涵盖通过仪表板发送:link
我的方法不起作用:
OneSignal.defaultClient().postNotification([
"contents": ["en": "test"],
"include_player_ids": [pushId],
"aps": ["sound": "sound.wav"],
])
这也不起作用:
OneSignal.defaultClient().postNotification([
"contents": ["en": "test"],
"include_player_ids": [pushId],
"sound": "sound.wav",
])
我在这里错过了什么?
【问题讨论】:
标签: ios swift push-notification onesignal