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.
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
orandroid
. 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.