Page 1 of 1

Questions about offline tutorial

Posted: Fri Dec 12, 2014 9:13 am
by Hawk

Hi,

I'm trying to follow your tutorial here (http://devcenter.appery.io/tutorials/...).

1)
Currently, I'm troubled understanding this line:
preApperyio.storage._echo.set(JSON.stringify(this.data));/pre

This line as per the tutorial, is supposed to be placed on list_service success event.
However, whenever I use it with the event, I get the error "Cannot read property "set" of undefined"".

I added the following before the line and this is their results:
preconsole.log('stringify :'+JSON.stringify(this.data)); //undefined
console.log('storage :'+Apperyio.storage.echo); //undefined
Apperyio.storage.echo.set(JSON.stringify(this.data));/pre

What is this line is supposed to do here? what is "storage"? and what is "this.data" in this case"?

2) Does _echo store all tasks (those created online and offline) or only those created offline? If stores online and offline tasks, where in the tutorial script, the online tasks are added to _echo?

3) If _echo stores all tasks (online and offline), where the newly offline created ones are supposed to be stored? I assume that there is _echo for the entire list of tasks that created online and offline, and there is another LSV store newly offilne created tasks. Am I correct?


Questions about offline tutorial

Posted: Sat Dec 13, 2014 6:41 am
by Illya Stepanov

Hi Hawk,

We will pass your requested questions to our developers and we will update with more detailed information here.


Questions about offline tutorial

Posted: Mon Dec 15, 2014 5:47 pm
by Evgene Karachevtsev

Hello Hawk,

Sorry for delay. It really seams that there is some mess with this tutorial, thank you for noticed that. We'll fix it and will get back to you with the update.


Questions about offline tutorial

Posted: Thu Jun 20, 2019 11:39 pm
by Jackson

Is this ever going to be fixed - because it is still in the tutorial for offline applications.


Questions about offline tutorial

Posted: Fri Jun 21, 2019 2:03 am
by Illya Stepanov

Which specific tutorial do you mean? Can you point out the link to it?


Questions about offline tutorial

Posted: Fri Jun 21, 2019 2:54 pm
by Jackson

https://devcenter2.appery.io/tutorial...

The tutorial for building an offline application.


Questions about offline tutorial

Posted: Fri Jun 21, 2019 3:20 pm
by Evgene Karachevtsev

Hello Jackson,

This is an outdated tutorial, we don't support "devcenter" for years.
Please check this link: https://docs.appery.io/docs/building-...


Questions about offline tutorial

Posted: Fri Jun 21, 2019 5:35 pm
by Jackson

Thanks for the quick response. Good to know.