I tried to use the Ionic Platform module, but it fails to detect that an Ipad is in action.
constructor(
private platform: Platform,
) {
}
...
console.log(platform.platforms());
logs iphone,ios,cordova,mobile,hybrid
so no help here.
Tried to check the user agent, it says iPhone, not iPad now. Also tried to use this plugin, returns false as well in at least the four different emulators I tested (Ipad pro, Ipad air 2...).
Is there a way to make this work?