Skip to content
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

progress block not called #146

Open
postolaki opened this issue Jun 9, 2017 · 1 comment
Open

progress block not called #146

postolaki opened this issue Jun 9, 2017 · 1 comment

Comments

@postolaki
Copy link

postolaki commented Jun 9, 2017

the progress block is never called, the file is uploading with success

ENSession.shared.upload(note, policy: .create, to: nil, orReplace: nil, progress: { (progress) in
       		print("progress------------->\(progress)")
        }, completion: { (noteRef, error) in
            if let error = error {
                print(error.localizedDescription)
            } else {
                print("Test OK")
            }
        })
@lewisbar
Copy link

lewisbar commented Oct 5, 2017

I have the same problem. After asking a question on Stack Overflow (https://stackoverflow.com/q/46564616/1720711), I found this:

"Deprecation of progress blocks - Unfortunately part of the changes have meant that progress blocks are no longer supported in the latest SDK."

https://github.com/evernote/evernote-cloud-sdk-ios/blob/master/3.0_Release_Notes.md

As far as I understand it, that means that it is currently just not possible to get the progress. Which is a pity and leads to the question why there still is a function that takes a progress handler as an argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants