-
Notifications
You must be signed in to change notification settings - Fork 8
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
Offline mode #25
Comments
(1) [FIXED]App crashes by performing these steps:
Current: App crashes and no more content can be deleted. |
(2)Same action in server and app when app is online causes a conflict that the user has to fix. The action in the app is ignored:
Current: The app shows an alert: "item not found". List is not refreshed automatically. When pulling down, the change in the webUI is fetched and updated, and the change in the app is ignored Expected: User is asked for the version to keep. |
(3) [FIXED]owncloud/ios-app#102 (comment) the operations seem to be queued. When the first one is executed (renamed), the source file does not have the same name, so the second action will not find such file. |
(4) [FIXED]
Current: action is performed once, correctly. Next time one item is moved (no matter which one), an error appears pointing to the actions that were not executed in offline mode. Error will be raised as many times as "move" actions were done. Expected/Suggested: in offline mode, if the same operation (exactly the same) is performed more than one time in a row, it should be discarded to avoid such side-effects. NOTE: Same effect with |
(5) [FIXED]files app related, rename items offline: |
(6) [FIXED]Upload a file from photo library with no connection. From owncloud/ios-app#146 (comment) |
(7) [FIXED]Upload a file, and connection is lost in the middle, pointing to an error even though the upload success. |
The sdk is ready to perform actions when device is offline, and perform them once the app gets online mode again. Sometimes, such behaviour can lead to a lack of sync of other problems related. I will describe some of them here.
Also, discussions about expected behaviour can be handled here
NOTE: Some of the issues can concern the app (@pablocarmu). They are reported here, so the offline mode is manly responsibility of the SDK.
The text was updated successfully, but these errors were encountered: