Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/vim/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Parse platform 当应用程序脱机时,windows phone中不会接收parse.com客户端推送通知_Parse Platform_Win Phone Silverlight 8.1 - Fatal编程技术网

Parse platform 当应用程序脱机时,windows phone中不会接收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

我已经按照parse.com中文档中给出的步骤进行了操作,但是当应用程序脱机时,windows phone不会收到客户端通知。但是,如果我从parse.com发送一个活动推送,即使应用程序处于脱机状态,它也可以正常运行

如果我的应用程序在线,客户端推送工作正常。此外,我已经验证了我的客户端推送到parse.com,并且没有发现消息内容有任何问题

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");

    };
}