• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Check if OS is IPhone/iPad?

Contributor ,
Mar 29, 2021 Mar 29, 2021

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

 

 

Views

211

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Community Expert , Mar 29, 2021 Mar 29, 2021

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

 

Votes

Translate

Translate
Community Expert , Mar 29, 2021 Mar 29, 2021

The descriptions are somtimes 'cryptic', reason why I have published that table about variables multiple times. 

Votes

Translate

Translate
Community Expert ,
Mar 29, 2021 Mar 29, 2021

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

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Mar 29, 2021 Mar 29, 2021

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

 

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 29, 2021 Mar 29, 2021

Copy link to clipboard

Copied

LATEST

The descriptions are somtimes 'cryptic', reason why I have published that table about variables multiple times. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources