Reputation: 11
I would like to restrict our app in Mobile phones, it should be downloadable only from tablets not from mobile phone. How can do this?. Can we do it in code level or Is there any option in Google Play Console?.
Currently our app in Beta testing mode.
How can I solve this:
Edit:
I have following code in my manifest.
<supports-screens
android:smallScreens="false"
android:normalScreens="false"
android:largeScreens="true"
android:xlargeScreens="true"
android:requiresSmallestWidthDp="600"/>
But still I can able to access my app from google play (Testing mode).
Upvotes: 0
Views: 2369
Reputation: 11
Updating the answer. Google Play Console has a filter form factor under device catalog. You can include or exclude the following:Phone, Tablet, TV, Wearable, Car, Chromebook.
Upvotes: 0
Reputation: 13832
Android isn't just phones and tablets.
You should consider why you really want to exclude Tablet support. This is completely your business decision to make, but goes completely against the Android philosophy. There is no clear definition of "phone" or "tablet". What about "phablets"? What about Android TVs? What about Chromebooks? What about Phones docked to computer monitors? What about new devices we haven't even thought about yet?
A helpful way to think about this is "What is it about tablets that means we don't want to target them?"
But saying "we don't want to target tablets" without a good technical reason for what it is about tablets you don't want to support is probably a mistake, as there is no technical definition of "tablet" and there are 1000s of weird and wonderful Android devices out there you probably haven't thought about.
In the right hand side menu of the Play Console there is an entry "Device catalogue". This will let you search for different devices and if they don't support your app it will explain why.
Upvotes: 0
Reputation: 3391
As far as I'm concerned, One option is to restrict screen size support:
<manifest ... >
<supports-screens android:smallScreens="false"
android:normalScreens="false"
android:largeScreens="true"
android:xlargeScreens="true"/>
...
</manifest>
There is no restriction for tablet. You can declare restriction bsed on screen size only. Please refer to google documentation for more information.
Upvotes: 0