FLUTTER ECOSYSTEM

Vanethos/minimize_app_plugin

Flutter Plugin to minimize Android an iOS apps

minimize_app_plugin project cover
Stars
19
Forks
26
Last push (UTC)
Oct 4, 2023
Project status
Active
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

LanguagesDartKotlinRubySwiftObjective-C

Packages published by this repository

Dependencies used

Dependency list 2 items
  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project 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.