Comments (3)
because download task need bind a receiver, when this task has been canceled, the receiver and the indicator are still living.
the resolution is simple,that is to add "cordova.getActivity().unregisterReceiver(receiver);" above remove's line.
but code still has bug, download's task can't resume before app is restarted. let't try again...
from cordova-plugin-background-download.
successed. can't resume download task is caused by "activDownloads" has data, clearing the map is OK.
from cordova-plugin-background-download.
Hi @arunap, we've made a number of improvements recently that fix this issue too.
I'll close it for now but feel free to reopen it if you have any questions.
from cordova-plugin-background-download.
Related Issues (20)
- Error Installing cordova-plugin-background-download HOT 1
- Error: ReferenceError: BackgroundTransfer is not defined HOT 1
- Change appearance of the 'Download Manager' when download is processing HOT 1
- Set sessionSendsLaunchEvents to YES
- Download promise leaks if call startAsync for already downloading uri
- onComplete callback doesn't fire if rerun downloading after app close
- Failed to install 'cordova-plugin-background-download' due to file dependency
- For android, method CleanUp should be called in stop method HOT 3
- App crashes occationally on IOS with big files due to memory issue HOT 2
- Can't supply headers to download request HOT 2
- Update npm public package to latest version HOT 1
- Question or Feature-Request: Pause/Resume download in case of network events HOT 1
- Issues with downloads from Akamai servers
- Works only on first app run HOT 2
- issue with downloads not resume after second time
- android crash
- Concurrency downloads in Android
- How to disable notification progress on Android and iOS
- Background failing on Android 12
- Download fails on Android 13 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-background-download.