tauri-apps / tauri-apps/plugins-workspace

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

Open
#2,082 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.8k
Forks
602
Avg merge
4d 14h
Merged PRs (30d)
9

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.