Andrew Peacock
Posts: 0
Joined: Thu Jan 09, 2014 10:03 pm

How to tell which environment an app is running in?

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

Andrew Peacock
Posts: 0
Joined: Thu Jan 09, 2014 10:03 pm

How to tell which environment an app is running in?

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

Return to “Issues”