Copy link to clipboard
Copied
Hi,
In Captivate it is possible to check if the learner got a Mobile OS using $$cpInfoMobileOS$$.
But I need to detect if the learner uses either Android or iPhone/iPad. Any clue how I can use something like:
function() { return navigator.userAgent.match(//iPhone|iPad);
/Jacob
The system variable cpInfoMobileOS has the value 1 for iOS and 2 for Android? What is missing?
Download the free table in this blog:
http://blog.lilybiri.com/discover-slash-use-captivates-system-variables-part-1
The descriptions are somtimes 'cryptic', reason why I have published that table about variables multiple times.
Copy link to clipboard
Copied
The system variable cpInfoMobileOS has the value 1 for iOS and 2 for Android? What is missing?
Download the free table in this blog:
http://blog.lilybiri.com/discover-slash-use-captivates-system-variables-part-1
Copy link to clipboard
Copied
Nothing is missing 😉
Forgot the description that only appears when you enter it from the top menu. And the explanation just said it could check if it is mobile og NOT mobile.
/Jacob
Copy link to clipboard
Copied
The descriptions are somtimes 'cryptic', reason why I have published that table about variables multiple times.