Restrict Ionic APP only for phones?

I would to restrict my app to only run on phones. I don’t want to allow users to use my app on iPads, android tablets…

I’ve already seen this on the cordova documentation but is only for iOS:

 <preference name="target-device" value="handset" />

Some way to restrict app only for phones on android and ios?

just do it, when you publish your app in the store.

You can even only allow specific devices if you want.