Parse platform 当应用程序脱机时,windows phone中不会接收parse.com客户端推送通知
我已经按照parse.com中文档中给出的步骤进行了操作,但是当应用程序脱机时,windows phone不会收到客户端通知。但是,如果我从parse.com发送一个活动推送,即使应用程序处于脱机状态,它也可以正常运行 如果我的应用程序在线,客户端推送工作正常。此外,我已经验证了我的客户端推送到parse.com,并且没有发现消息内容有任何问题Parse platform 当应用程序脱机时,windows phone中不会接收parse.com客户端推送通知,parse-platform,win-phone-silverlight-8.1,Parse Platform,Win Phone Silverlight 8.1,我已经按照parse.com中文档中给出的步骤进行了操作,但是当应用程序脱机时,windows phone不会收到客户端通知。但是,如果我从parse.com发送一个活动推送,即使应用程序处于脱机状态,它也可以正常运行 如果我的应用程序在线,客户端推送工作正常。此外,我已经验证了我的客户端推送到parse.com,并且没有发现消息内容有任何问题 public App() { ParseClient.Initialize("xxxxxxxxxxxxxxxx", "xxxxxxxxxxxxxxxxx
public App() {
ParseClient.Initialize("xxxxxxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxx");
this.Startup += async (sender, args) =>
{
// This optional line tracks statistics around app opens, including push effectiveness:
ParseAnalytics.TrackAppOpens(RootFrame);
ParsePush.ToastNotificationReceived += (sender, args) =>
{
var json = ParsePush.PushJson(args);
MessageBox.Show("Received a new notification");
};
}