781flyingdutchman / background_downloader

Flutter plugin for file downloads and uploads
Other
157 stars 74 forks source link

Question - using background_downloader to offload in background basic HTTP tracking queries #388

Open evaisse opened 2 hours ago

evaisse commented 2 hours ago

Hello,

We have some basic http GET call to track user navigation (when user navigate from screen to screen). Do you think background_downloader is reliable enough to offload those calls which are currently handled by the main flutter process ? Is that a possible use-case for background_downloader ?

Thx,

781flyingdutchman commented 2 hours ago

Yes, you can use it for "set and forget" type GET requests, perhaps using a DataTask but you could also look into the Dio package that is often used for foreground GET requests.

781flyingdutchman commented 1 hour ago

You should of course also consider packages and services specific to this purpose, eg Firebase Analytics