-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Background mode plugin not working in Windows 10 apps #289
Comments
Any news on this issue? Added this plugin and activated the backgroundMediaPlayback via Visual Studio (as mentioned in #222)
The output is:
Miminizing the app pauses the app and is stopping the music playback. |
I am also facing the same issue. Any updates regarding this issue please? |
YoSarins fork https://github.com/YoSarin/cordova-plugin-background-mode/tree/windows_background_execution plus this music controller worked for me: https://github.com/homerours/cordova-music-controls-plugin |
We are developing a Cordova windows UWP app and we want some method (this method will just hit our service and fetches some data and stores back in SQLite) which needs to run for every 5 minutes. This every 5 minutes tasks needs to be run even if the user minimizes the app.
Below code block used.
cordova.plugins.backgroundMode.enable(); // for enabling back ground mode.
setInterval(function () { GetDataFromServer(); }, 30000) // repeating for every 30 seconds.
Needs to know if this plugin supports back ground mode for Windows apps. Please let us know if there are any other ways to make some block of code to run in minimize mode as well with Cordova windows app.
The text was updated successfully, but these errors were encountered: