Hey guys, I discovered some APIs that behave differently on Apple and Android and I figured I could use that for a platform detection module for analytics (which I’ll open source of course).
I don’t really have many devices to test with, so I’d love it if you guys could just hop on here with whatever you’ve got and let me know if it ever gave incorrect platform data. Touchscreen laptops, all-in-one desktop thingies, Xbox, tablets, phones, try whatever you have please.
Apple I-Pad after update —> Apple Mobile (1.00)
Touchscreen Laptop With Mouse → PC
Touchscreen Laptop Without Mouse → PC (Maybe because I have my touchpad)
PC (The computer with a monitor and that box thingy) with mouse and keyboard → PC
PC (The computer with a monitor and that box thingy) with no mouse and with keyboard → PC
PC (The computer with a monitor and that box thingy) with mouse and no keyboard → PC
PC (The computer with a monitor and that box thingy) with no mouse and no keyboard → PC
Touchscreen Laptop After Update → Still PC
I don’t know if with the keyboard and mouse plugged in will make a difference but I just tried it.
Could you retest those devices? I think I fixed touchscreen laptop detection.
Edit: It doesn’t make sense that it would call your touchscreen laptop a PC because none of the paths inside my UIS.TouchEnabled have that as a result… is your touchscreen disabled or something?