3️⃣Start In Background

fmtc_plus_background_downloading Module

You should read about the limitations and tradeoffs of background downloading before you start using it.

FMTC.instance('storeName').download.startBackground();

Available Parameters

Additional Preparation

You should also wrap your application's root widget (such as a Scaffold) with the FMTCBackgroundDownload widget.

This is designed to stop the app from terminating when it is taken off the widget tree, such as when the user closes the application. It is safe to leave there even when not downloading: it is intelligent enough to only keep the application alive if there is an ongoing background download.

Last updated

Was this helpful?