You are not logged in.
Pages: 1
Hi guys,
is there a way to use the SynCrossPlatform units to access a local SQlite DB on Android or IOS.
My app should sync data with a Mormot-Server. But it should work offline. So I need to store the data localy.
Any suggestions?
Marco
Offline
Currently, there is no local storage for SynCrossPlatform units.
I've added a feature request.
See http://synopse.info/fossil/tktview/292d00675ec
What kind of storage do you need?
How much data do you expect to be stored locally?
I suppose a simple TObjectList + JSON local storage may be easy to implement.
Note that this feature request is tied to http://synopse.info/fossil/tktview?name=3453f314d9
which is the automatic data synchronization feature, among servers, but also between clients and servers.
Offline
I thought about a Sqlite DB, but JSON storage would be fine.
At the moment I need to store some customer-information, tasks, dates.
A few tables and not so much data.
At the beginning my App would only read data. So I wouldn't need a real synchronization.
To add/modify data the app must be linked to server (at the beginning).
Offline
also interested in local storage
Rad Studio 12.1 Santorini
Offline
Hello Ab,
Is (simple) local storage still on your (current) roadmap ?
And if so, could you give an indication about its implementation ?
(when, how)
At this moment, I am fetching mORMot data the cross-platform way.
And use build-in Delphi functions for local data storage with sqlite.
But 100% mORMot would be much better !
Thanks in advance.
Offline
There is no time estimation yet.
I would probably implement it as part of the "Auto-Synch between mORMot servers (as cache or for branch office cache), and potentially mORMot clients (offline mode)" feature request.
See http://synopse.info/fossil/info/3453f314d9
It fits with the offline mode.
Offline
Pages: 1