Skip to main content
Filter by
Sorted by
Tagged with
4 votes
1 answer
126 views

I’m building a Flutter app that needs to run continuously in the background to track whether the user is at the gym and keep a workout timer running. Flutter background execution stops after some time ...
TheusHen's user avatar
0 votes
1 answer
103 views

I’m using Flutter with flutter_background_service and geolocator to get location updates in the background. In debug mode, background location works fine even when the app is minimized or the screen ...
Akhil George's user avatar
  • 1,003
0 votes
0 answers
49 views

In my Flutter app, I have a native MethodChannel used to send logs from Dart to the Android side, where they're written into a file. This works fine as long as the app is running normally. However, I ...
rickmcrick's user avatar
0 votes
0 answers
58 views

When attempting screen sharing using flutter_webrtc on Android 14 (API 34) or higher, the app crashes with a SecurityException because the required foreground service permissions for mediaProjection ...
Syed Abdul Mannan's user avatar
1 vote
1 answer
150 views

The provided code snippet is part of a Flutter application that uses the flutter_background_service package to run background tasks. The onStart function is the entry point for the background service, ...
Rakibul's user avatar
  • 11
0 votes
0 answers
43 views

I have a problem when I try to pass my sip service in the background. I'm using the flutter_background_service: ^5.0.10 plugin, I've followed the documentation scrupulously for the implementation of ...
Juliettead's user avatar
1 vote
0 answers
96 views

i am developing an application that will hit an api containing user position from geolocator in background using flutter_background_service but sometimes this error occur and the service wont work. ...
Febiana Ramdani's user avatar
1 vote
0 answers
362 views

I am using flutter background service to run a beacon scan in the background and in the foreground when the app is disconnected. I get the folowing response when the app crashes. The app only occurs ...
Dries Vandenbussche's user avatar
1 vote
1 answer
237 views

I am working on a Flutter project where I am using a background service (with flutter_background_service package) to handle a WebSocket connection. The WebSocket receives updates even when the app is ...
Omkar Gharge's user avatar
1 vote
1 answer
50 views

I`m trying to store the newest data came from firebase notify while the app is in background or fully closed like this: @pragma('vm:entry-point') static Future<void> ...
Mahmoud Ayyash's user avatar
1 vote
1 answer
130 views

So I am using the flutter_background_service package to run a background service for the application. Currently I am using a Timer.periodic method to constantly hit an API every 5 seconds. But now I ...
Vishnubly's user avatar
  • 799
0 votes
0 answers
138 views

I am developing a timer app in iOS using Flutter. User can also choose to run the timer with background music. When I run the app on debug mode by connecting a physical device, the app (timer) works ...
mahima's user avatar
  • 1,985
1 vote
0 answers
90 views

I am run flutter old project with flutter SDK : 2.5.0 , there is no any error (syntax error), but when i was run i got Error Launching lib/main.dart on sdk gphone64 x86 64 in debug mode... Running ...
Mobile VPN's user avatar
1 vote
0 answers
113 views

We were trying to enable screen share feature in a video conference. It need to run a service in the background. So using this package enabled the feature, but when changed the 'targetSdkVersion' ...
Inquisitive Owl's user avatar
0 votes
0 answers
194 views

I'm developing a Flutter application for both Android and iOS where I need to check server reports every 24 hours and notify the user with a local notification if new reports are available. This ...
ASAD WASEEM's user avatar
0 votes
0 answers
362 views

I would like to create a service that will run in the background and whose purpose is to detect a ShakeDetector event (check if the User shakes his phone). After detecting the “Shake” event, I'd like ...
Chris Gwet's user avatar
1 vote
0 answers
197 views

I'm developing a Flutter app using pedometer package to track steps of the user. I want to count steps when app is closed as well, so I used flutter_background_service package as well in order to use ...
Mustafa Karakuş's user avatar
0 votes
0 answers
135 views

I have read some tutorials about background with flutter: background_fetch, workmanager and so on. Their all have the issue that the minimum frequency is 15minutes. That don't even fullfil the ...
DeKekem's user avatar
  • 1,835
0 votes
0 answers
179 views

I am new to the flutter, currently I am handling a flutter project that users can use the google map and geolocator to track down their commuting tracks, however what's the problem is that when I use ...
TeriChang's user avatar
1 vote
1 answer
485 views

I'm adding a few details (maximum 3) to my shared preferences. Additionally, I have a background service. Whenever a new detail is added to the shared preferences, I call the background service. ...
Subin's user avatar
  • 15
0 votes
1 answer
388 views

I am trying to keep my App running at all times in the background, as it needs to check a Webserver for certain kinds of updates every 5 minutes. I followed the documentation of the plugin (https://...
LucasMnzb's user avatar
2 votes
1 answer
2k views

How can I stop the flutter_background_service when the app is killed by the user? final _androidConfiguration = AndroidConfiguration( onStart: _onStart, autoStart: true, isForegroundMode: ...
DeKekem's user avatar
  • 1,835
0 votes
4 answers
5k views

I'm currently having issues with Flutter background service, the moment the app launches, it crashes within a few seconds. I don't know what I'm doing wrong AndroidManifest.xml <uses-permission ...
Zionnite's user avatar
  • 493
0 votes
1 answer
2k views

I have some issues with my Flutter Android app, every time I run and build the app, it crashes, I guess it has to do with the Flutter background dependencies i add to the pubspec.yaml file Package of ...
Zionnite's user avatar
  • 493
0 votes
0 answers
709 views

I develop flutter app with background location listener and on most device is all work, but on some device system kill app when app in background(tray/lock screen/another app on foreground). I need ...
Scamper's user avatar
0 votes
1 answer
367 views

I am working on a webview app . there is a functionality to show an alert on exit app but it is show on every page back of my web view . i want to show the exit dialog if the web view has the last ...
Ayush Ranjan Rout's user avatar
0 votes
1 answer
293 views

I have created an Android home screen widget with a button that executes Dart code (specifically, an API call) when clicked. Currently, this functionality only works when the app is in the background. ...
VENKAT RUTHVIK SAI KONDA's user avatar
0 votes
2 answers
242 views

I am currently working on a Flutter application that involves Bluetooth device discovery in the background. To achieve this, I have tried using the flutter_bluetooth_serial package in combination with ...
Ghous Muhammad's user avatar
4 votes
0 answers
4k views

I am currently working on a Flutter application that utilizes the flutter_background_service package for running background services. To implement the background service, I have integrated the ...
Chanaka's user avatar
  • 481
0 votes
1 answer
322 views

how to change icon of initialize flutter_background_service? `Future initializeService() async { final service = FlutterBackgroundService(); const AndroidNotificationChannel channel = ...
Ahmad Abbas's user avatar
0 votes
1 answer
2k views

The title says almost all - I'm not sure how to call invoke and on methods from the Flutter_background_service plugin, so that UI will be able to receive messages from the background and vice-versa? ...
May's user avatar
  • 167
1 vote
0 answers
1k views

After starting the background service and removing the app from the task manager.After again opening the app and trying to stop the service using the button. It does not work. Although It Shows the ...
Amarjeet Patidar's user avatar
2 votes
1 answer
260 views

I want to play 1 (or more) scheduled short audio bells in the executeTask callback from the workmanager package when the user puts in the app in the background. executeTask callback always fires when ...
Kdon's user avatar
  • 1,317
1 vote
0 answers
78 views

I want to push a notification in both foreground and background in a flutter app when a bool flag is set to true. I gone through the example given in flutter_background_service package but I can't ...
Nithin's user avatar
  • 21
1 vote
0 answers
789 views

I am using GeoLocator package (version 9.0.2). I am able to get the location as long as the app is in foreground with the permission set to "While Using the App". As soon as the app goes in ...
Saad Bashir's user avatar
  • 4,559
0 votes
1 answer
661 views

I was able to successfully implement a countup timer using Timer.periodic(). If I switch between apps or take the app in the background for 30 seconds, current duration of the timer is still accurate. ...
nerdy kid's user avatar
  • 419
0 votes
0 answers
248 views

I'm working on an app that allows users to set reminders, which basically schedules local notifications. I have a feature in my app, that requires adding some data into the local database, whenever a ...
ASAD HAMEED's user avatar
  • 2,740
1 vote
0 answers
204 views

I am trying to make the application send a notification when a specified period has elapsed, and this works well when the application is in the background, but when the application is closed, it does ...
Ali Gomaa's user avatar
1 vote
1 answer
534 views

Service works properly on Android 9 and above facing issues on devices 8<= Notification disappears in some duration and location services stops I have also disabled battery optimization but it did ...
Sumit yadu's user avatar
0 votes
0 answers
41 views

I am looking for ReactNative HeadlessJS equivalent solution in Flutter to trigger dart code from native side in background! For example, I want to define in the 'Android side' a BroadcastReceiver with ...
Moti Bartov's user avatar
  • 3,622
8 votes
1 answer
6k views

I'm getting this error from my flutter debug console: [VERBOSE-2:FlutterObservatoryPublisher.mm(143)] Could not register as server for FlutterObservatoryPublisher. Check your network settings and ...
Jayleen45's user avatar