문제

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?

도움이 되었습니까?

해결책

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

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top