Page 1 of 1

How to tell which environment an app is running in?

Posted: Tue May 06, 2014 11:08 am
by Andrew Peacock

Hi,
Is there any way to tell from within Javascript whether the app is running in:

A) the designer's test mode (ie, in my PC browser)
B) Appery's application tester running on my mobile
C) the full .apk installation on my mobile

Regards,
Andy


How to tell which environment an app is running in?

Posted: Tue May 06, 2014 12:20 pm
by Evgene Karachevtsev

How to tell which environment an app is running in?

Posted: Tue May 06, 2014 12:26 pm
by Andrew Peacock

Hi Evgene,

Thanks, I'll try that. That should easiy tell the difference between A (the desktop PC test view), and the mobile - but I'm not sure about the difference between B and C.

I'll test and report back.

Andy