Hello, what's the problem with the forum ? Few messages disappeared !
Fabreax:
We recently switched forum providers as well as helpdesk solutions providers. I actually replied to you on the old forums briefly before the switch.
We are in the process of migrating the old forum content over to the new forums.
Thanks,
That being said,
I replied to let you know that we can only resolve queries while you are online. Our engineer that maintains the library said the he would like to add support for offline queries in the future, but it would be multiple months out on the roadmap, unfortunately.
Please let me know if you have any other questions.
Thanks,
Ok, thank you ! It would be a great feature !
I've added it to the Jira, so I will let you know when this becomes a feature. Like I said, this will unfortunately probably be a little ways out.
Thanks,
fabreax
I'm using the offline datastore but the sqlite storage is never used :
> trackDao.setCache(new InMemoryLRUCache(), CachePolicy.CACHEFIRST); // add memory caching
> trackDao.setOffline(OfflinePolicy.LOCAL_FIRST, new SqlLiteOfflineStore
(getActivity().getApplicationContext())); // add offline disk storage
> trackDao.get(query, new KinveyListCallback() {
> @Override
> public void onSuccess(Track[] tracks) {
> if(tracks == null) {
> onLoadingError();
> } else {
> // use of tracks here
> }
> }
If no connection is available, tracks == null (not using the offline sqlite datastore).
There is an IO exception shown in the stacktrace : http://demo.ovh.eu/download/628935c646a1667017f553ab1bdbf7f8/stacktrace.txt
@Damien , do I made a mistake ?
Thank you.