How do I check if the User is on Android or iOS?

I know how to detect mobile, but I can’t seem to find out how to detect if the user is on Android or iOS

There have been some posts regarding the same question but they all never had valid answers

Pls brooo I’ll do anything

1 Like

Hey!

You can’t get the device the user is on as it’s a breach of privacy. If you really want to know then why not just make a prompt that asks the user to specify their device?

2 Likes

Bro people have 5 second attention spans They ain’t doing allat

1 Like

You have no other choice then. Roblox simply doesn’t provide this feature and will never do so. Plus, what are you even trying to implement?

1 Like

I need it for something that will show the User their operating system and other information

I’d suggest skipping that feature entirely because yet again, you can use google and do as much research as you want, but there is no way you can get O.S information of a user.

You could apporximate a rough device by using the display resolution, but no other way exists.

1 Like

https://blog.shy.rocks/p/the-art-of-detection/

quick question, how is the device the user is on a breach of privacy? Just curious

It’s just my view on why Roblox hasn’t added such a feature, but I think it’s a breach of privacy because a user’s OS or specific device data can lead to social issues. For example, if there were a social hangout game that publicly displayed a player’s device information, it could lead to cyberbullying and similar issues.

It’s just a rough take on why Roblox hasn’t added this. I’m not entirely sure.

1 Like

PrayingForYourDownfall

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.