每当用户(设备到设备)之间发送邮件时,如果应用程序未处于焦点状态,接收用户将收到通知。随着通知,该标签的徽章值应增加1在试图这样做,我创建了一个通知中心作用,在OneSignal的handleNotificationReceived块熄灭(内initLaunchWithOptions)像这样: handleNotificationReceived: { (notification) in
我试图用OneSignal安排通知给未来计划通知的限制以后,问题是,如果我安排的通知,send_after例如到2019 API返回此消息 Schedule Notifications may not be scheduled so far in the future.
这是设置例如: var message = {
app_id: config.get('oneSignal