{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/android/issues/1677","repository_url":"https://api.github.com/repos/owncloud/android","labels_url":"https://api.github.com/repos/owncloud/android/issues/1677/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/android/issues/1677/comments","events_url":"https://api.github.com/repos/owncloud/android/issues/1677/events","html_url":"https://github.com/owncloud/android/issues/1677","id":155266523,"number":1677,"title":"Updating Sync Capabilities on Mobile","user":{"login":"MTRichards","id":1818977,"avatar_url":"https://avatars.githubusercontent.com/u/1818977?v=3","gravatar_id":"","url":"https://api.github.com/users/MTRichards","html_url":"https://github.com/MTRichards","followers_url":"https://api.github.com/users/MTRichards/followers","following_url":"https://api.github.com/users/MTRichards/following{/other_user}","gists_url":"https://api.github.com/users/MTRichards/gists{/gist_id}","starred_url":"https://api.github.com/users/MTRichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MTRichards/subscriptions","organizations_url":"https://api.github.com/users/MTRichards/orgs","repos_url":"https://api.github.com/users/MTRichards/repos","events_url":"https://api.github.com/users/MTRichards/events{/privacy}","received_events_url":"https://api.github.com/users/MTRichards/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/android/labels/1%20-%20To%20do","name":"1 - To do","color":"CCCCCC"},{"url":"https://api.github.com/repos/owncloud/android/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/owncloud/android/labels/May%20Design","name":"May Design","color":"123456"},{"url":"https://api.github.com/repos/owncloud/android/labels/sync","name":"sync","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-05-17T13:58:17Z","updated_at":"2016-05-25T11:30:40Z","closed_at":null,"body":"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\r\n\r\nAcceptance Criteria:\r\n-\tCurrent “not granted offline” continues as currently implemented in iOS (tap on a file downloads, tap again downloads latest, changes are uploaded to server if found)\r\n-\tCurrent “not granted offline” in Android needs to be updated to meet user expectations:\r\n-\t [x] tap on a file downloads\r\n- [ ] tap again downloads latest #333\r\n- [ ] local changes are uploaded to server if found, without user interaction #1683 \r\n-\tCurrent favorite functionality is renamed available offline\r\n-\tThe available offline overlay icon is a download arrow with a bar underneath\r\n-\tMobile sync error status is changed to red circle x from desktop\r\n-\tSuccessfully synced files are shown with a green check mark from desktop\r\n-\tSyncing files are shown with a circular blue arrow from desktop\r\n-\tFile transfers in process are the same circular blue arrows from desktop\r\n\r\n\r\nAndroid\r\nBadges and changing current favorites to sync folder https://github.com/owncloud/android/issues/1218\r\nSync Folder https://github.com/owncloud/android/issues/1136 \r\n\r\niOS\r\nBadges and changing current favorites to sync folder https://github.com/owncloud/ios/issues/463 "},"comment":{"url":"https://api.github.com/repos/owncloud/android/issues/comments/221546163","html_url":"https://github.com/owncloud/android/issues/1677#issuecomment-221546163","issue_url":"https://api.github.com/repos/owncloud/android/issues/1677","id":221546163,"user":{"login":"davivel","id":2225614,"avatar_url":"https://avatars.githubusercontent.com/u/2225614?v=3","gravatar_id":"","url":"https://api.github.com/users/davivel","html_url":"https://github.com/davivel","followers_url":"https://api.github.com/users/davivel/followers","following_url":"https://api.github.com/users/davivel/following{/other_user}","gists_url":"https://api.github.com/users/davivel/gists{/gist_id}","starred_url":"https://api.github.com/users/davivel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davivel/subscriptions","organizations_url":"https://api.github.com/users/davivel/orgs","repos_url":"https://api.github.com/users/davivel/repos","events_url":"https://api.github.com/users/davivel/events{/privacy}","received_events_url":"https://api.github.com/users/davivel/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T11:30:40Z","updated_at":"2016-05-25T11:30:40Z","body":"@moscicki , @helmo, these questions would be better placed in #1136 and / or #6. \r\n\r\nAnd they are very good questions. Our current implementations of files being kept in sync extends  [FileObserver](https://developer.android.com/reference/android/os/FileObserver.html) in the class [FolderObserver](https://github.com/owncloud/android/blob/master/src/com/owncloud/android/services/observer/FolderObserver.java). 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.\r\n\r\nThere 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."}}
{"actor":{"display_login":"davivel"}}