Skip to content

Use Work Manager to handle background process that syncs isar database to backend apis

Notifications You must be signed in to change notification settings

Mobterest/flutter_work_manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

work_manager

Project structure


  • Collections folder (holds the Product collection)
    • product.dart
    • product.g.dart
  • constants.dart (holds the constants in the project)
  • func.dart (holds two functions. apitoisar() imports data to the Isar database. isartoapi() exports data from the Isar database)
  • httpServer.dart (holds the http request logic)
  • isarProvider.dart (the provider class for the project)
  • main.dart (the entry point. Holds the main logic to the Work Manager implementation)

Links


https://pub.dev/packages/workmanager https://medium.com/vrt-digital-studio/flutter-workmanager-81e0cfbd6f6e

Integration to iOS platform requires additional implementation. Looking at sources like: https://github.com/fluttercommunity/flutter_workmanager/blob/main/IOS_SETUP.md

About

Use Work Manager to handle background process that syncs isar database to backend apis

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors