0

We are going to develop an App with the Phonegap Framework, and we are wondering if it supports something like pulling data in an interval from our server and if the response has new data, notify the user. We havent started yet so we just would like to know before we start working.

4

1 回答 1

0

Cordova 本身并不支持您正在寻找的某种类型的轮询,但是,用 JavaScript 编写它似乎并不太难。现在,如果您想在应用程序未在后台运行时轮询您的服务器,那可能会更加困难,您需要查看 Cordova 插件以在后台运行内容。

于 2013-08-06T20:07:13.497 回答