-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Updating Sync Capabilities on Mobile #1677
Comments
Edited first comment to clarify pending changes |
Great to see improvement on Sync Capabilities ! Thanks ! |
If a directory on mobile device is requested to be kept in sync with the server would that require regular polling and scanning of local mobile filesystem? What about the battery usage of mobile devices in this case? Is there an OS-provided mechanism to do it efficiently? |
@moscicki Linux has inotify for that, which android uses as FileObserver |
@helmo: what are the practical limits on Android for inotify? How many filesystem objects can one process watch? |
@moscicki I'm not sure |
@moscicki , @helmo, these questions would be better placed in #1136 and / or #6. And they are very good questions. Our current implementations of files being kept in sync extends FileObserver in the class FolderObserver. If I recall correctly, this is able to detect changes in all the subtree pending of the observed folder, so the total number of FileObserver shouldn't be a big deal, in theory. There are other improvements we could address to control battery consumption (such as separating observation to detect a change from uploading that change) , and other problems / uncertainties that may affect the observers (they need to be kept watching indefinitely; the system might not like that). We'll talk about all this in more detail soon. |
@moscicki , @Paviluf , @helmo , if you really want this get attention, take the chance of voting for it in owncloud/core#24684 (comment) . Let us see your hearts there! |
Marked checkboxes for #1136 and owncloud/ios-legacy#463 , both of them released. |
Sorry, but we need to drop issues from milestone 2.4.0 to get it out next to OC 10 server. This time we'll move topics to In this case, since there is a single independent issue pending to finish, I will label that and close this one. |
As an ownCloud user, I want to sync files to my mobile devices automatically so that I can have always the latest files available on my mobile platform
Acceptance Criteria:
Android
iOS
The text was updated successfully, but these errors were encountered: