티스토리 뷰

반응형

Flutter에서 background/foregound service 사용하는 법을 찾아보았습니다.

 

먼저는, 제일 먼저 flutter 공식 웹사이트에서 background process에 관한 내용을 찾아보았습니다. 

https://flutter.dev/docs/development/packages-and-plugins/background-processes

 

Background processes

Where to find more information on implementing background processes in Flutter.

flutter.dev

다음은, 공식문서에서 인정한 사람의 미디엄 블로그 내용입니다.  https://medium.com/flutter/executing-dart-in-the-background-with-flutter-plugins-and-geofencing-2b3e40a1a124

 

Executing Dart in the Background with Flutter Plugins and Geofencing

09/10/2020: This article has been updated to reflect the move to the v2 Android embedding API. Migration instructions for applications…

medium.com

마지막으로 그 사람의 깃헙 소스코드는, 

https://github.com/bkonyi/FlutterGeofencing

 

GitHub - bkonyi/FlutterGeofencing: Rough work for Flutter geofencing plugin

Rough work for Flutter geofencing plugin. Contribute to bkonyi/FlutterGeofencing development by creating an account on GitHub.

github.com

 

혹은, 플러터 pub.dev 에 package를 이용하여 서비스를 사용해 볼 수도 있을 것 같습니다. 

https://pub.dev/packages/flutter_background_service

 

flutter_background_service | Flutter Package

A flutter plugin for executing dart code continously even application closed.

pub.dev

 

혹은, 

https://tonydavidx.github.io/how-to-run-background-tasks-in-flutter/

 

How to Run Background Tasks in Flutter

learn how to use android alarm manager package to run your dart code in background

tonydavidx.github.io

 

반응형
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG more
«   2025/01   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함