每當用戶(設備到設備)之間發送郵件時,如果應用程序未處於焦點狀態,接收用戶將收到通知。隨着通知,該標籤的徽章值應增加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