YS
Posts: 0
Joined: Thu Mar 27, 2014 4:14 pm

Tutorial is a bust...

I've followed this tutorial to a tee but for some reason it's just not working. In fact the online/offline indicator is not even working. Is there a way to load this into my trial account?

Nikita
Posts: 0
Joined: Fri Feb 28, 2014 4:02 pm

Tutorial is a bust...

Hello,

What tutorial do you mean? If you mean the events online/offline, then they are fired when device is connected / disconnected from the Internet.

YS
Posts: 0
Joined: Thu Mar 27, 2014 4:14 pm

Tutorial is a bust...

Are you saying that the events are fired when there is a state change online to offline or the other way around only? I followed the offline tutorial and the items I populated in the DB don't even load the first time...

Nikita
Posts: 0
Joined: Fri Feb 28, 2014 4:02 pm

Tutorial is a bust...

Please add to these events an alert(); with appropriate text to check their performance.

YS
Posts: 0
Joined: Thu Mar 27, 2014 4:14 pm

Tutorial is a bust...

Thanks Nikita. I re-read my comments above and in hindsight they are not at all clear. My apologies.

I have things behaving mostly as expected. Is there a method of toggling between being online and offline in the appery simulator?

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

Tutorial is a bust...

Hello -
[quote:]
Is there a method of toggling between being online and offline in the appery simulator?
[/quote]
Do you mean here Appery.io Mobile tester or?

YS
Posts: 0
Joined: Thu Mar 27, 2014 4:14 pm

Tutorial is a bust...

Yes. I'm a bit confused because after the initial data fetch the app doesn't create/delete anything. I suspect this is because it is stuck in offline mode. Beyond this the status is not showing up at all in the footer.

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

Tutorial is a bust...

It's recommended to test such behavior on a device, not in Tester.

And it's really hard to say what is wrong in your app. All the logic of triggering should be coded with JavaScript, you can place alert(); after data transfers and so on.

Return to “Issues”