Android 来自服务器的负载为空
在我的应用程序中,收到来自GCM的推送通知(对于android),一切正常,我收到通知,但有效负载为空。交叉检查服务器端脚本,没有问题。这是我在回调方法中得到的响应 这是GCM的回应Android 来自服务器的负载为空,android,titanium,Android,Titanium,在我的应用程序中,收到来自GCM的推送通知(对于android),一切正常,我收到通知,但有效负载为空。交叉检查服务器端脚本,没有问题。这是我在回调方法中得到的响应 这是GCM的回应 {"type":"callback", "source":{"pushType":"gcm", "invocationAPIs":[], "showAppOnTrayClick":true, singleCallback":false, "__propertiesDefined__":true,
{"type":"callback",
"source":{"pushType":"gcm", "invocationAPIs":[],
"showAppOnTrayClick":true,
singleCallback":false,
"__propertiesDefined__":true,
"bubbleParent":true,
"_events":{"callback":{},
"trayClickLaunchedApp":{},
"trayClickFocusedApp":{}},
"focusAppOnPush":false,
"enabled":false,
"showTrayNotificationsWhenFocused":false,
"apiName":"Ti.Module",
"showTrayNotification":true,"debug":false},
"payload":"","bubbles":false,
"cancelBubble":false}
我使用了钛合金3.5.1GA,并尝试了钛合金cloudpush(3.3.7)同样的问题
如何解决此问题?由于通知确实到达,这可能不是应用程序中的错误,而是发送负载的服务器上的错误。尝试几个(在线)应用程序中的一个,在谷歌上测试通知。我从服务器端使用了pushsharp Library