Flutter background fetch giving exception in headless event

I am working in flutter background fetch but it is giving me some error in headless task. Caused by: java.lang.NullPointerException: Attempt to invoke virtual...

Flutter: Schedule audio events for background execution

I am implementing an app in Flutter, for which I need to schedule (audio) events in advance. Only after one event is completed I can schedule the next, since the durat...

How to run code even if the app is closed

Can an flutter app still run code even if the app is closed? I am trying to build an application that notifies a user even if the app is closed. Hoping for answers. TI...

Flutter - Do not restart application when restoring

Friends, does anyone know how to prevent the application from restarting when restoring it? For example, the application is minimized, then restored and it rest...

Flutter firebaseFirestore snapshot doesnt work when in release mode IOS

I want to show notification when something changes in database, it worked fine in debug mode, but when i switch to release mode it works only when the app is active, b...

How do I Set Background image in Flutter?

I am trying to set a background image for the home page. I am getting the image place from start of the screen and filling the width but not the height. Am I missing s...

how to implement click action in firebase push notifications both foreground and background in flutter?

I have a problem that I have not been able to solve yet It happens that I need to use the click action of the firebase push notifications both in the foreground and in...

Flutter showdialog or page when app in background FCM

i've implemented a function to handle message received onbackground from FCM. Now i need to show something to user when the app is in background. I've imported...

How can I take screenshots on 5-second intervals with Flutter background code?

It seems I can't take screenshots outside the Flutter app using any given library. I have used screenshot and native_screenshot package and also the repaint boundary m...

Flutter : How to send sms in background by api call?

How to send sms by api call when app isn't active. I write a code with firebase push notification where I try to call a function which send sms without user's interact...

Activity Recognition in Background using Flutter

I want to implement activity recognition in background that means if user close the application even then it'll listening the activity recognition states whether it is...

Is it possible to make a background service in Flutter?

I'm building an app that receives GPS signals every five seconds, and I know that these background service apps shut down on their own. <ol> <li>If background...

Permissions in flutter background_fetch headless task

I've got an Android app written in Dart using the Flutter framework. When it's first opened up, it requests permission to access location in the background. When the...

Flutter Background_fetch lib does not run after terminating app

I'm trying to implement push notifications type function to remind user some events. I want my App to get content from server once or twice in a day. I'm trying...

android_alarm_manager plugin does not continue executing in background in Flutter:

I spent whole weekend in experimenting with <a href="https://pub.dartlang.org/packages/android_alarm_manager" rel="nofollow noreferrer">android_alarm_manager</a> plug-...