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.