Jason
Posts: 0
Joined: Wed May 01, 2013 6:33 am

Todo (offline) tutorial not working

Todo (offline) tutorial not working.
I have followed the steps in the todo (offline) tutorial but it will not add todos. For some reason I am not able to debug into the onDeviceReady, onOnline and onOffline functions to see what is happening using Chrome dev tools!
The localStorage values that are set/checked in these functions are not being set and therefore the rest of the app won't work.
Is someone able to take a look to see what is wrong? Why can't I debug into those functions?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Todo (offline) tutorial not working

Hi Jason,
Sorry for the delay, we're working on it.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Todo (offline) tutorial not working

I cannot reproduce the problem. Could you please share the app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a so we can test your app?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Todo (offline) tutorial not working

Hi Jason, please tell us - do you managed to set local storage variables in Events tab?

Jason
Posts: 0
Joined: Wed May 01, 2013 6:33 am

Todo (offline) tutorial not working

Yes, I have set the storage values as per the tutorial. I've just shared the app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a so you can have a look. ;-)

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Todo (offline) tutorial not working

Sorry your app name is - todos?

Jason
Posts: 0
Joined: Wed May 01, 2013 6:33 am

Todo (offline) tutorial not working

yes - sorry I thought you could tell based on my logon here...

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Todo (offline) tutorial not working

It's strange, by the first look it's seems to be everything right. But we will test and we'll update.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Todo (offline) tutorial not working

Hi Jason, sorry for the delay, we're working on it.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Todo (offline) tutorial not working

We've found the typo in our Tutorial.

In JS asset "todo_main" replace line 184:codetmpEcho = eval('(' + tmpEcho + ')');/code
with:codetmpEcho = eval('(' + tmpEcho + ')') || [];/code

Return to “Issues”