Frage

I'm currently developing a mobile app using Trigger.io. Since i only have one code for all platforms and devices, I need to get the device type (i.e Android v4.3, iOS 7). is there any built-in function for that? like forge.device or something like that? or should i rely on navigator.userAgent?

War es hilfreich?

Lösung

There was just a plugin released last week I think, will give you device and version

https://trigger.io/modules/platform/current/

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top