Page 1 of 1

When offline, Mobile Chrome says you are in offline mode

Posted: Mon Sep 22, 2014 11:05 pm
by rojatwitt

Testing out the tutorial, I kept the page open in chrome, then switched wifi off and refreshed and I got the dino.

Is this normal ? Does it not work in offline mode for the browser ?


When offline, Mobile Chrome says you are in offline mode

Posted: Tue Sep 23, 2014 12:29 am
by Yurii Orishchuk

Hi Twitteroo,

You can use device events only on in phonegap apps. So you should compile it in device app package.

See details about phonegap device events:
http://docs.phonegap.com/en/3.0.0/cor...

Browser is not phonegap app and that is why these events will not work.

Regards.


When offline, Mobile Chrome says you are in offline mode

Posted: Mon Nov 24, 2014 8:14 am
by Hawk

Hi Yurri,

May I know what do you mean by "device app package". And if it's from the exported files (.apk), how can I debug it?

Thanks,