You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is when the app is placed into the background these fetches are stuck in "pending" until the app get foreground again. I can see this through the chrome debugger.
I have only had one plugin that actually can perform HTTP API requests successfully while the app is running in the background however it had it's own issues.
Any idea how it could be made possible to get requests to work while the app is in the background?
The text was updated successfully, but these errors were encountered:
Ah forget this. Apparently I expected that fetch was suppose to get polyfilled but I just need to call cordovaFetch and I can get it working even in the background
This is a common issue I have experienced trying to get any sort of HTTP request to work while the app is in the background.
I am using a plugin call https://github.com/transistorsoft/cordova-plugin-background-fetch to execute a little code every once in a while that goes out and fetches some data via our API.
The problem is when the app is placed into the background these fetches are stuck in "pending" until the app get foreground again. I can see this through the chrome debugger.
I have only had one plugin that actually can perform HTTP API requests successfully while the app is running in the background however it had it's own issues.
Any idea how it could be made possible to get requests to work while the app is in the background?
The text was updated successfully, but these errors were encountered: