【问题标题】:Flutter : Run an app as a background serviceFlutter:将应用程序作为后台服务运行
【发布时间】:2019-01-03 12:17:42
【问题描述】:

我想在用户断开蜂窝电话时显示自定义弹出消息。问题是如何检测应用程序何时未运行。任何线索都会有所帮助。

【问题讨论】:

标签: flutter


【解决方案1】:

已经有一段时间了,有很多发展。

首先,How to create a service in Flutter to make an app to run always in background?有一些答案

此外,flutter/Background processes 基本上会将您指向medium/Executing Dart in the Background with Flutter Plugins and Geofencing(2018 年 9 月)

唉,现在有很多插件可用:

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-04-30
    • 1970-01-01
    • 1970-01-01
    • 2018-04-18
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多