繁体   English   中英

如何在Phonegap Windows Phone 8.1中使用背景跟踪

[英]How to use Background Tracking in Phonegap windows phone 8.1

我正在使用Phonegap Windows PH 8背景跟踪和推送通知

***<BackgroundExecution>
   <ExecutionType Name="LocationTracking" />
  </BackgroundExecution>***

     This is working properly in windows phone 8 but now we are support 8.1 while application is in background and any pushnotification received taped on toast my application is relaunched not resume.

在wp8.1上在后台运行时,位置图标应处于打开状态。 如果不是,则您的应用正在休眠。

您将需要安装backgroundMode插件。

注意:Phonegap不会在wp8.1上在后台运行,但是位置线程(backgroundMode插件)会在后台运行。 这意味着您的应用程序将不会收到任何GPS更新。 但是它将在不重新启动的情况下从后台恢复。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM