Fixed cann't retry upload when the source file is from library.
Merge branch 'master' of https://github.com/OpenDataSpace/ODS-mobile-ios