i need to detect whether or not my app is running in a browser (while i plan on exporting for windows, android and HTML5).
using the GetDevice() commands won't accomplish that (that i can see) where it could be running in a browser on a windows or android device and i see that GetAppName() states that it (only) returns the name of the
exe (IE, only useful on Windows) while i was hoping to check the app file extension to "detect" when i saw the command.
i've perused a number of other commands that might have helped and saw nothing that will dial this in for me. IE, SharedVarible commands state they run on Android (outside of a browser) so i can't use that to test.
i'd rather not code separate apps for each platform and prefer using something like:
if GetAppPlatform() = "html5"
SaveAsSharedVariables()
else
SaveAsFile()
endif
have i missed something obvious or can anyone think of a work-around?