CachedFileUpdater doesn't work in OneDrive app on mobile?

落花浮王杯 提交于 2020-01-23 09:14:22

问题


There is a Cached File Updater contract which allows apps like OneDrive or DropBox to keep files in sync with remote repository when users change them though file pickers. It works roughly like this:

  • User gets a file using FileOpenPicker.
  • User changes file.
  • The source app gets notification that file is changed and uploads new file to backing storage.

However, while in official DropBox app this scenario works perfectly, in OneDrive app it doesn't. I'm getting UnauthorizedAccessException when try to get stream for read from a file. I understand some people actually able to change a file, but it doesn't get uploaded because only local copy changes.

So CachedFileUpdater is not implemented in OneDrive app? And if it's not, is it known issue and is there any workarounds for this?

来源:https://stackoverflow.com/questions/36530356/cachedfileupdater-doesnt-work-in-onedrive-app-on-mobile

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!