FLUTTER ECOSYSTEM

Vanethos/minimize_app_plugin

用于最小化 Android 和 iOS 应用的 Flutter 插件

minimize_app_plugin 项目封面
Stars
19
Forks
26
最近推送(UTC)
2023年10月4日
项目状态
未归档
Gonçalo Palma GitHub avatar
GITHUB User

Gonçalo Palma ↗

Flutter Dev @3rein and spreader of the word of Flutter, wannabe writer and organiser @FlutterPortugal and collaborator at FlutterExp

语言DartKotlinRubySwiftObjective-C

此仓库发布的插件

使用的依赖

依赖清单 2 项
  • flutter{"sdk":"flutter"}
  • flutter_test开发依赖{"sdk":"flutter"}

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

Minimize App Plugin

A flutter plugin to minimize the current Flutter App

minimize_plugin

Usage

MinimizeApp.minimizeApp();

This will call moveTaskToBack() in Android and suspend the iOS app via URLSessionTask.suspend which means that the app will be moved to the background but not killed.

This is useful if your app is opened by another app or browser and after some some time you want the user to return to the previous app without calling an intent to open it.