Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] Detect more specific OS device type (iOS vs iPadOS, Android vs Android Tablet) #2082

Open
httpjamesm opened this issue Nov 21, 2024 · 0 comments

Comments

@httpjamesm
Copy link

httpjamesm commented Nov 21, 2024

I want a method of the os plugin to tell when my app is running on an iPad or an Android tablet. Right now, I can only tell if it's running on ios or android. My app might want to have different functionality on an iPad vs an iPhone. For example, submitting forms with the Enter key on iPad devices, but just adding a newline on iPhones. I could use display width for this, but then when the iPad uses my app as a side app, this would fail as it would appear as if I was running on an iPhone.

image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant