How can I detect if a phone is android or iOS?  Seems like I've seen a method somewhere but I don't know where it is.


Thanks.

Solution

Hi Daniel,

In the WebPatterns you can use the action CurrentOS to identify the device OS :)

Cheers,
Eduardo Jauch

Solution

Eduardo Jauch wrote:

Hi Daniel,

In the WebPatterns you can use the action CurrentOS to identify the device OS :)

Cheers,
Eduardo Jauch

Thanks! I was looking at MobilePatterns.

Thanks again Mr. Jauch.


You're welcome, Mr. Daniel ;)

Can someone perhaps tell me in which module?   

BTW: Seems a bit odd naming: WebPatterns for a mobile OS. 

Hence the remark of "..was looking at MobilePatterns".

H Verheijen wrote:

Can someone perhaps tell me in which module?   

BTW: Seems a bit odd naming: WebPatterns for a mobile OS. 

Hence the remark of "..was looking at MobilePatterns".


Hi, I was unable to fin the Web Patterns in forge. Has something changed since this was answered?

I raise this here again because its the first page that comes up when you ask google..

Hi Anthny.

Web Patterns is part of Silk UI (so, if you are working with Silk UI, it should be available from the start).
If you are using OutSystems UI new framework (O11), it is under OutSystemsWebUI:

Cheers.