Questions tagged [background-mode]
99 questions
0
votes
1 answer
Turning off audio background mode triggers kMIDINotPermitted even though background audio is not needed
I've got a MIDISampler that is triggered by a MIDICallbackInstrument. I don't want my app to work in the background since it is an interactive ear training game. Unfortunately if I disable "Audio, AirPlay, and Picture in Picture" I get the following…

Herr der Töne
- 158
- 10
0
votes
1 answer
Background Mode doesn't be added in Xcode
I want to add Background Mode to use Location Updates but I can't.
I already know the place of Background Mode but I don't know why it doesn't work.
https://drive.google.com/file/d/1A7CeRiios1vD51u3OmM1qTAs7AxVVmE6/view?usp=sharing
I recorded the…

pizzajuice
- 146
- 2
- 6
0
votes
0 answers
Ionic/react HTML audio stops playing after backgrounding the app for some minutes
We have an app heavily focused on streaming audio files using the HTML
audio tag player. In some Android devices the stream will stop after about 3 minutes after the user has minimized/backgrounded the app. Then they will have to foreground the app…

Nikos Chrysis
- 1
- 1
0
votes
1 answer
Backround mode is not working when ionic app is close from recent?
How can I run the continuous app in background mode, I am using ionic 5, I have tested in android 9 + devices it's not working well when I remove the app from recent the background mode is also killed not working well. Please give me any suggestions…

Sunny Jain
- 11
- 4
0
votes
0 answers
How to call a function when app is closed in ionic
I need help, I do not know how to make a function call in the background when the application is closed, it only works if it is open or minimized.
platform.ready().then(() => {
this.backgroundMode.setDefaults({ silent: true });
…

Erick Reyes
- 51
- 2
- 5
0
votes
1 answer
Ionic backgorund mode crash
I am trying to make run a background mode with Ionic, but when I am playing a song, and I enabled the Backgound Mode, the app crashes.
Actually, is posible make the background mode with Ionic?
This is my code:
import { Component } from…

gabrielrincon
- 796
- 5
- 15
0
votes
0 answers
BLE scan in background not working for xamarin.ios
App scans the BLE device(Mokobeacon) in foreground mode. Scan, connect and disconnect work well in foreground. Scanning using this.manager.ScanForPeripherals(CBUUID.FromString("FF01")) and devices available at void DiscoveredPeripheral(object…

Vipin Krishna
- 355
- 1
- 4
- 25
0
votes
0 answers
Battery level updated value when app is in background mode swift
I need to get batteryLevelDidChangeNotification value when app is in background also. I have written code in applicationDidEnterBackground also yet im not getting hit when battery level changes.I have checked background fetch capability in…

ios
- 11
- 4
0
votes
1 answer
Ionic program dont work in backgraund. How to fix that?
I need the app to run fully in the background and when I use other apps on my phone. The program transmits video from the camera. When I turn off the screen, I managed to get the program to transmit video, but when I turn on other programs on the…
0
votes
2 answers
Ionic3 Fatal Exception: android.app.RemoteServiceException: Bad notification for startForeground in android 9 devices?
I have generated the android build but its not working in some Android version 9 devices in the android 9 version app is crashed after login.i got below error in the console.
Tested In Following devices:
Oppo F11 Pro: app working not…

Kapil Soni
- 1,003
- 2
- 15
- 37
0
votes
1 answer
Native geolocation ionic watch position working on background but not when phone is locked
I'm using this code:
this.watchID = navigator.geolocation.watchPosition((localizacion) => {
console.log("En el enviarPos", localizacion);
}, (err) => {
console.log(err);
}, { enableHighAccuracy: true });
It works in background, but only doesn't…

Alejandro Gómez
- 3
- 4
0
votes
1 answer
how to run ajax while the application is on background mode?
I have a problem on sending ajax while the application is on background mode!
in fact my application is like a taxi app and I want to send user location and sending it to server, but when the application is on background it does not work. I use the…

lala fe
- 1
- 1
0
votes
0 answers
Socket.IO background mode in NativeScript
I made an app in Phone Gap but now I am trying to make it in NativeScript,
App connect and is almost 50% complete; however when the user navigate away from the app, screen go off or change to another app, the app disconnect and reconnect when on…

UTAN
- 11
- 4
0
votes
1 answer
cordova.plugins.backgroundMode.onactivate is not a function
I got Uncaught TypeError: cordova.plugins.backgroundMode.onactivate is not a function when i try to run my application on background.
I’m unable to solve the issue can anyone help me with this
thanks
I tried uninstall and install the plugin…

Mohammed Abdul kadhir
- 141
- 1
- 5
- 15
0
votes
1 answer
Cordova Background Mode plugin activated when Ionic camera open
I'm using cordova background-mode plugin in my ionic app.
https://github.com/katzer/cordova-plugin-background-mode
Alongside with bakcground mode i use ionic camera also. Every time device camera open, background mode is being enable
Is there any…

parrycima
- 905
- 8
- 19