Can push notifications be used to run code without notifying user?

后端 未结 4 1947
[愿得一人]
[愿得一人] 2020-12-11 05:58

I have an app which needs to communicate with a server (to refresh it\'s data) once every 24 hours. This needs to happen even if the app is not open, nor in the background.

4条回答
  •  星月不相逢
    2020-12-11 06:18

    It is possible using a so called VOIP Push Notification. This notification can run code in the background, even when the app is completely closed.

提交回复
热议问题