How to determine client OS?

Hi,

I can’t seem to find how I could determine the OS running the client side code.

I am well aware that the point of creating agnostic logic is so that it can run on any platform. But in specific cases, I would need to find out if it is being run on Android or iOS.

For example the login with Apple would only be shown on iOS but would need to be hidden on Android.

I did not find any recipe to do so. Any pointers would be appreciated, thanks.

Hello @Nicolas_REMY

You can create a custom function and then by using a Custom Code block to retrieve the required information.

After a quick googling I found this topic that can help you to get what are you looking for

Regards, Vlad

1 Like

Thanks Vladimir.
Indeed I will have to go the custom code way.
I will look into that.