Skip to main content
4 votes
1 answer
122 views

Flutter background execution stops after some time (timer & location monitoring not working)

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
94 views

iOS background location works in Debug but not in Release (Flutter)

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
0 votes
0 answers
45 views

Flutter MethodChannel not working in headless mode (e.g. Workmanager or Push Notifications)

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
56 views

Bug Report: Foreground Service Crash on Android 14+ (API 34+) with mediaProjection due to Missing Permissions

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
145 views

iOS Background Location Updates Not Working When App is Closed Using Flutter

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

sip in background flutter

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
91 views

Could not resolve main entrypoint function when using flutter_background_service

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
347 views

Flutter app crashes: Context.startForegroundService() did not then call Service.startForeground()

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
226 views

How to Get Stream Data from WebSocket which is in Background Service to Main App in Flutter?

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
45 views

Why I did not get the latest data from Shared preferences when storing data from firebase background message?

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
129 views

How to stop and re-schedule a background service?

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

Enable Background Processing in iOS Flutter app

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
88 views

Flutter run time error : Purging debug resources in release build

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
107 views

FlutterBackgroundTask - Issue in android 14 (API 34) (flutter_background_task)

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
190 views

is it possible to excute the dart function After 24 hours when iOS flutter app terminated/Killed?

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

15 30 50 per page