Android Question How to limit app to only phones without a permission?

JohnC

Expert
Licensed User
Longtime User
My app will indirectly send messages using an Intent to the user default SMS app. So, technically my app is not sending any SMS messages, the user's SMS app is.

But, from what I understand, by adding the SEND_SMS permission to my app, this will make sure my app is only visible to smartphone users in the Play Store (not tablets users without sms capabilities).

But having this permission, even though I am not actually using it, may make people think my app has the potential to do undesired things with SMS messages.

The first solution to come to mind is to have the SEND_SMS permission in my app to make sure only devices that can send sms messages can see and install my app, then add the reason explaining why my app has the SEND_SMS permission in the apps description.

But, does anyone else have another solution?
 

LucaMs

Expert
Licensed User
Longtime User
If I understand well, you want to exclude tablets from your target; to do it, you think to use SEND_SMS permission but you don't need it, since you use an intent.
So I think you could use other permissions, like CALL_PHONE (but perhaps the problem will be worse, I don't know).

Or you can add:
<supports-screens
android:largeScreens="true"
android:xlargeScreens="true"
android:normalScreens="false"
android:smallScreens="false"
/>

?
 
Last edited:
Upvote 0

JohnC

Expert
Licensed User
Longtime User
Ah, sweet. Thanks!
 
Upvote 0
Top