Reputation: 13
Is it possible for an application written with Flutter to run continuously with service written in the background in closed stated ?
Upvotes: 1
Views: 1063
Reputation: 906
Yes is possible there several packages like:
https://pub.dev/packages/background_location
https://pub.dev/packages/android_alarm_manager (Android)
But if you wanna more control you can create a native service and connect it with flutter to do that you have to know android languages like java or kotlin or swift for iphone
In this post you can find how to create a service in android:
How to create a service in Flutter to make an app to run always in background?
Upvotes: 1