-
Notifications
You must be signed in to change notification settings - Fork 2
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 Tasks #108
Comments
Does this plugin work when the app is closed/removed from the multitasking bar, or it works only when the app is minimized? |
The intention is to allow a small task to complete before the application is closed/backgrounded. It is not intended to work in background. |
I want to send some local Notifications (@capacitor/local-notifications), even after closing the app. That's why I thought of using this plugin. But it cannot be used in my case, right? |
It was never the intention to run background tasks. Only allow a short lived process to complete prior to the application closing. |
Ok, thank you! |
Looks like its being tracked in this issue too #3032 |
#3032 is a link from Ionic's upgrade guide to v3where they have dropped the functionality that allowed small tasks to complete before the app closes, they considered it to be underused and misunderstood. It left a few of us high and dry if using the plugin correctly for completing http requests for example. 3032 is referencing a different requirement than the plugin that was removed addressed, and due to the link from the v3 upgrade guide 3032 has become a amalgamation of two things:
robingenz has ported the ios portion of the old plugin into his own repository and this feature request is an attempt to get that adopted into the community plugins. |
@pete-mcwilliams i added your plugin to awesome-capacitor if that is useful please take time to star the repo as well :) |
@riderx could you reach out to robingenz to let him know, he's the author, I was just trying to get it adopted by as a community plugin. |
i did for many plugin he did already :) thanks |
robingenz says |
Plugin Request
Name: Background Task
Package:
@capacitor-community/background-task
Platform(s)
iOS, Android
Existing Solutions
https://github.com/robingenz/capacitor-background-task
Description
Previously an Ionic Capacitor plugin that has been dropped in version 3
Drop in replacement for https://capacitorjs.com/docs/apis/background-task#background-tasks
ionic-team/capacitor#3032
The text was updated successfully, but these errors were encountered: