Skip to main content

Questions tagged [flutter-workmanager]

The tag has no usage guidance.

flutter-workmanager
0 votes
0 answers
27 views

Work Manager Thread crashes when API is called from Http or Dio

I am developing an app which should fetch and upload data using Dio. When I use Dio.Get() or Dio.Push(), workmanager thread is closed abruptly. I tried to catch the exception but I am unable catch any ...
user2664139's user avatar
1 vote
0 answers
29 views

Throw exception when putFile to Firebase Storage in background using WorkManager Flutter in IOS

I am encountering an issue with putFile in Firebase Storage when running in the background. Everything works fine in the foreground, but it's not functioning in the background. Please see the attached ...
Kiều Phong's user avatar
1 vote
0 answers
74 views

How to Use WorkManager Plugin Version 0.6.x for Flutter?

I’m currently using the workmanager plugin for Flutter, and I’ve come across multiple references suggesting the use of version 0.6.x of the plugin for improved functionality and bug fixes. However, ...
dev2019's user avatar
  • 59
0 votes
0 answers
71 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
0 votes
1 answer
63 views

Unhandled Exception: [core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp()

I initialized Firebase inside main, and I need to access user data inside workmanager to provide the user with personalized notification, but workmanager for some reason works synchronously at the ...
ديمة's user avatar
1 vote
1 answer
306 views

Type 'WorkmanagerPlugin' has no member 'registerBGProcessingTask' iOS

I'm trying to integrate WorkManager in iOS (it already works for me on android) When I run the project, it gives me the following error: `Type 'WorkmanagerPlugin' has no member '...
Richardeveloper's user avatar
0 votes
1 answer
103 views

How can I acces SQLite database from task in Workmanager?

Im trying to do a periodic background task that uploads some information, the information that i need is in local sqlite database but I cant acces it like i do out of the workmanager task, it gives me ...
Leo's user avatar
  • 41
0 votes
0 answers
27 views

Background service current location error in Flutter

I am trying to access currentlocation through background service using workmanager package but it didnot return position. Althought when accessing currentlocation through onpressed it worked fine. ...
Muhammad Awais Shafi's user avatar
0 votes
1 answer
764 views

Periodic Background Tasks in Flutter IOS

I want to execute some background task in Flutter when the app is not in opened state. It is either in background or in terminated state. The requirement is that i want to fetch the device location ...
Adnan's user avatar
  • 19
2 votes
1 answer
174 views

Flutter flutter_background_service not start always when app is in killed state

Sometime background service start if app is in killed state, but sometimes background service stop with error: Flutter engine disconnected. Connected engine count 0 Main function void main() async { ...
عثمان غني's user avatar
0 votes
0 answers
92 views

Cannot play audio from background with just_audio_background flutter

I am not able to play local audio from the background. I have a Workmanager which runs periodically and should play a sound if necessary. This means that I start the audio from the background on the ...
DeKekem's user avatar
  • 1,463
1 vote
0 answers
68 views

audioplayers not working when app in background flutter

Is the audioplayers plugin meant to work when app is in background? I am calling this line await player.play(AssetSource(audioFilePlath)); when app is in background and no sound is played. The same ...
DeKekem's user avatar
  • 1,463
0 votes
0 answers
69 views

Localization in Workmanager flutter

I am using the Workmanager plugin to run a task at the defined interval. So far it is working ok although sometimes at will get notifications with failure (when in debug mode) with any exception on ...
DeKekem's user avatar
  • 1,463
0 votes
0 answers
106 views

Failure from Workmanager flutter

I am using the Workmanager plugin to execute a periodic task when the app is in foreground and background. At times I will receive a notification, as it is when debug mode is true, with failure or ...
DeKekem's user avatar
  • 1,463
0 votes
0 answers
41 views

Workflowmanager called only once (if at all) flutter

I am using the flutter Workmanager and it is called only once, if at all. @pragma('vm:entry-point') void callbackDispatcher() { Workmanager().executeTask((task, inputData) { debugPrint("...
DeKekem's user avatar
  • 1,463

15 30 50 per page
1
2 3 4 5 6