cloud-access-swift
cloud-access-swift copied to clipboard
Add download progress to Google Drive
Download progress for Google Drive was originally added in #21 but then removed in dca18a9df0d356cca205dcf5a61f910735ef6db5.
The problem was basically that the file provider crashes at some point (especially noticeable when downloading large files). During debugging I noticed that this was spammed over and over again during a download:
FPExt: urlForItem(withPersistentIdentifier: NSFileProviderItemIdentifier(_rawValue: A75826B2-58E9-4647-9213-4B9BEAE8AF2C:4)) called
FPExt: item(for: NSFileProviderItemIdentifier(_rawValue: A75826B2-58E9-4647-9213-4B9BEAE8AF2C:4)) called
Successfully registered URLSessionTask for identifier: NSFileProviderItemIdentifier(_rawValue: A75826B2-58E9-4647-9213-4B9BEAE8AF2C:4)