Display app on Google Play based on manifest

aaronk

Well-Known Member
Licensed User
Longtime User
Hello,

Just a silly question.. If you have the following code in the manifest:

B4X:
<uses-permission android:name="android.permission.VIBRATE" />

Does that mean for the app to appear on Google Play the device must have a vibrate in it otherwise it will not display ?
 

yttrium

Active Member
Licensed User
Longtime User
Often this is the case, as with things like access to the dialer, it restricts the app to phones and tablets with cell hardware.

See the side of the page here:
<uses-permission> | Android Developers

In some cases, the permissions that you request through <uses-permission> can affect how your application is filtered by Google Play.

If you request a hardware-related permission — CAMERA, for example — Google Play assumes that your application requires the underlying hardware feature and filters the application from devices that do not offer it.

To control filtering, always explicitly declare hardware features in <uses-feature> elements, rather than relying on Google Play to "discover" the requirements in <uses-permission> elements. Then, if you want to disable filtering for a particular feature, you can add a android:required="false" attribute to the <uses-feature> declaration.

For a list of permissions that imply hardware features, see the documentation for the <uses-feature> element.
 
Upvote 0
Top