on 10-12-2018 2:18 PM
I have a Hybrid Mobile app developed SAP WEB IDE, SAP Cloud Platform using Hybrid App Toolkit to build through SAP Mobile Services.
Say for example I perform a flush() (Update Online Database with Offline oData) and there's a Network error.
What happens next?
The offline oData has been updated.
The online oData is not updated.
Are the requests still queued, to be flushed on the next flush()?
I think it depends on the error. If there was a network error (e.g. lost connection) then it should stay in the queue. If there is a sync error in the back-end because of conflicting data then it will go to the error archive and the app needs to manage that in some way.
In my experience, I can switch to airplane mode mid-flush, and next time I flush the changes still go to back-end.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.