Questions tagged [background-fetch]

Background fetch is a background execution mode on iOS 7 and newer, used for apps that regularly update their content by contacting a server can register with the system and be launched periodically to retrieve that content in the background.

Background fetch is a background execution mode on iOS 7 and newer, used for apps that regularly update their content by contacting a server can register with the system and be launched periodically to retrieve that content in the background.

Documentation:

238 questions
1
vote
0 answers

expo standalone app background fetch not starting task automatically in iPad

I am developing a expo react native standalone app . I am integating a expo background fetch in my mobile app project. I writing a code to start a background task every minute it's working properly in the android. if I am trying with iPad with the…
1
vote
0 answers

Updating and ending live activity without push notification

I'm trying update the Live Activity every second without using Push Notifications while keeping the app in background. The official documentation mentions 2 methods 1.remote push notifications 2. BackgroundTasks I tried tried background…
Akila M
  • 11
  • 1
1
vote
0 answers

How do I use Expo background task while app is terminated?

How can I use background-fetch in Expo for sending phone location to server for every minute. I want task to perform when app is not running in background for both iOS and Android. Is this possible with normal Expo or do I have to eject, what path…
1
vote
0 answers

Detect App Closing in React Native (Expo)

I have a React Native Mobile App on Expo that uses location both in background and foreground. But I have a problem because when the app is closed (both on Android and iOS) it continues sending the user location to the server. I need a way to detect…
1
vote
0 answers

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 user opens the app using the launcher icon, this all works fine. I use the…
Tom
  • 7,269
  • 1
  • 42
  • 69
1
vote
0 answers

Prevent background fetch starting up app UI

This issue exists in both Android and iOS iOS Background fetch is triggering the app to start up normally, i.e. running the AppDelegate.FinishedLaunching method. this method along with initialization of syncfusion controls creates an instance of the…
Finlay Brown
  • 11
  • 1
  • 2
1
vote
1 answer

iOS flutter Accessing Shared Preferences when simulating background fetch in workmanager: MissingPluginException

I have a project which requires me to access shared preferences in the background to determine what notifications needed to be set. When using this I get this error when simulating background fetch: 2021-11-12 10:15:33.351668-0600…
1
vote
0 answers

iOS 14 background fetch gives scheduling error

I've been trying to implement background fetch in my app for iOS 13 and 14.x Here's the steps I followed Enable Background fetch mode in the project capabilities In the info.plist, add an array for key BGTaskSchedulerPermittedIdentifiers with the…
lostInTransit
  • 70,519
  • 61
  • 198
  • 274
1
vote
1 answer

Running App in Background/Terminated State

I understand that this issue has already been covered extensively in the past, but I'd like to readdress it it appears that there is a lot of mixed messaging around the subject. I have an application that should be periodically updated, roughly once…
1
vote
1 answer

Black screen when opening app after background state

I'm tasked to debug why some users sometimes experience getting stuck at a black screen when opening the app. I'm new to this particular app so I don't know the entire flow, but I can tell that the app has background-capabilities. There are certain…
Sti
  • 8,275
  • 9
  • 62
  • 124
1
vote
0 answers

React-native fetch data periodically and schedule local notifications

I need to set notifications daily multiple times. The timings data (which is variable) is being fetched by an API. For this I probably need a background task that will periodically fetch the data for the week/day. That task should obviously run even…
1
vote
1 answer

How to received messages without Notifications even background fetch is turn off

Anyone know about how to achieve received messages in terminated mode without showing any notification and turn off background fetch in settings ? In whatsapp application if I mute any conversation and from settings turn off background app refresh ,…
1
vote
0 answers

Codename One Background Operations

We are busy developing an app that has the following requirements, Track the user's location throughout the day so that we can plot his/her route on a map The app should store all information locally on the device and when the device is able to…
1
vote
0 answers

Want to kill iOS App while in suspended state

I want to kill my application if it is in the suspended mode for more than 30mins so that when it relaunches it fetches new data. I have looked all over but wasn't able to find a solution to it. If anyone can recommend something it will be a huge…
Mohsin Khubaib Ahmed
  • 1,008
  • 16
  • 32
1
vote
0 answers

Fetching location in the Background with Swift in IOS13

I'm kind of confused with the New BGTaskScheduler That we need to use in for IOS13. Having an app that needs to get a user location in the BG and do some process with that location and send data to the server (If user permits) and i can't understand…
Erez
  • 1,933
  • 5
  • 29
  • 56