proposals
proposals copied to clipboard
Background fetch
Plugin Request
The plugin should allow making app perform background tasks ; I see this was initially planned, but forgot along the way: https://capacitorjs.com/docs/v2/apis/background-task
Name: Background Fetch
Package: @capacitor-community/background-fetch
Platform(s)
iOS Android
Existing Solutions
I have tried this: https://www.npmjs.com/package/@transistorsoft/capacitor-background-fetch but has major problems and not open source (it needs manually modify AppDelegate in iOS and the proposed code does not compile)
Description
call a function user defined when app is activated for background fetch