Questions tagged [ios-background-mode]

103 questions
2
votes
0 answers

How to stop/handle UI Operations in iOS when app moves to background state?

My app can be launched via UIApplicationLaunchOptionsLocalNotificationKey in the background. In that case the usual flow to setup initail view controller and some animations on the app's landing-page/first-page of the app take place. My question is,…
nr5
  • 4,228
  • 8
  • 42
  • 82
1
vote
1 answer

Background work when push notification arrives (iOS)

I have an iOS app that periodically needs to do some work in the background. I was planning to use FCM to send notifications every 15 minutes and have my app do some work when they arrive. Preferably the notification should not be shown to the user,…
1
vote
0 answers

As there any way to implement background task in iOS periodically in flutter?

I have used many packages like flutter_background_services, background_fetch, workmanager etc but it only works properly for Android not for iOS. So, does anyone know how to implement background tasks in iOS continually or periodically after 15…
1
vote
2 answers

swift 'RUNNINGBOARD 0xdead10cc' error during Realm database writes when app is in background

I'm getting a "RUNNINGBOARD 0xdead10cc" error intermittently when my app is in the background and I'm using Realm database. I suspect the error is related to file locking during database writes. I have tried adding sleep to the write block, but the…
1
vote
1 answer

ibeacon simulator runs but does not work in backgroundmode ios swift

I created a beacon simulator app that advertises the beacon in foreground mode, the app runs in background mode but it does not advertise the beacon.
 Here is my working code import UIKit import CoreBluetooth import CoreLocation class…
1
vote
0 answers

Run small algorithm while iOS app is in background

I am developing an iOS app kind of similar to functionality of Apple's air tag tracker app. My app doing dead reckoning using CMPedometer and Accelerometer. Dead reckoning should start after receive a accurate gps location (I have enabled Location…
smartsanja
  • 4,413
  • 9
  • 58
  • 106
1
vote
1 answer

Flutter firebaseFirestore snapshot doesn't 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, but in background mode nothing happens. database listener and notification show …
1
vote
0 answers

Error starting AVAudioEngine: after playback audio engine configuration changed in background (com.apple.coreaudio.avfaudio error 561145187.)

I am trying to transmit audio when app is in background and AVAudioSession changed to Headset from speaker or vice versa Changed output AVAudioSession Port: Speaker/BluetoothHFP I have tried restarting audioEngine but getting following…
1
vote
0 answers

CLLocationManager startMonitoringSignificantLocationChanges doesn't work

I want my application to get location updates even if it's terminated I tried to sign up for location changes using SignificantLocationChanges but I seems that I'm not getting any updates. In my AppDelegate.m I have the following setup: @interface…
Keselme
  • 3,779
  • 7
  • 36
  • 68
1
vote
1 answer

Does the iOS open all apps after a reboot?

I've turned off my iPhone. Then I turn it back on. I have my phone connected to the macOS console. I filter by process:SomeAppName And about 1 minute after reboot, I see app name appear with that filter. Is that expected?
mfaani
  • 33,269
  • 19
  • 164
  • 293
1
vote
0 answers

Apple Store App Rejection - UIBackgroundModes

I'm new to React Native. I made a simple app that contains my youtube videos. When I uploaded this to the store they sent me the following message: Guideline 2.5.4 - Performance - Software Requirements Your app declares support for…
SoF
  • 729
  • 1
  • 10
  • 24
1
vote
0 answers

Load urlrequest in the wkwebview when app is in background state

Is there any way to load a request in WKWebView when the app is in a background state? I need to load a request and then will need to read javascript from a certain redirected page. Currently, wkwebview kind of going in pause mode if the app is in…
Mohd Haider
  • 673
  • 1
  • 5
  • 25
1
vote
0 answers

How to handle a voice call using WebRTC in background in iOS Swift

I'm working on an iOS Swift project in which I need to implement a video call using WebRTC. I implemented and is working on the foreground mode. But when I close the app, the call gets disconnected. How to handle the voice call in background mode…
Hilaj S L
  • 1,936
  • 2
  • 19
  • 31
1
vote
0 answers

ios background app that can detect ssid changes

is it possible to create an ios app that will run in the background and detect wifi ssid changes and report to a remote server ? The app should auto start on device startup. I dont need the app to be approved for the app store
jacob
  • 1,397
  • 1
  • 26
  • 53
1
vote
1 answer

Is it possible to implement nonstop API endpoint pinging in background?

Our team decided to implement non stop API endpoint pinging in background and after receiving required response, app should display a notification with message from response. I suggested using notifications via third party service, like Firebase or…
Viktor Vostrikov
  • 1,322
  • 3
  • 19
  • 36