tauri-apps / tauri-apps/plugins-workspace
[feat] Detect more specific OS device type (iOS vs iPadOS, Android vs Android Tablet)
Open
- 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.
Contributor guide
Assessment
This issue has not been assessed yet.