Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I set uses-feature android:required="false" but Google play keeps insisting on these features

I've coded my app so that it has some features which it prefers, but otherwise does not need as I want my app to be available to all devices. In my manifest I've set:

<uses-feature android:name="android.hardware.screen.PORTRAIT" android:required="false" />
<uses-feature android:name="android.hardware.telephony" android:required="false" />
<uses-feature android:name="android.hardware.LOCATION" android:required="false" />
<uses-feature android:name="android.hardware.location.GPS" android:required="false" />
<uses-feature android:name="android.hardware.MICROPHONE" android:required="false" />

When I upload my apk file, Google Play still insists that the Portrait, location, GPS and microphone features are required. The telephony one is no longer needed. Any thoughts on what is going on?

like image 270
TechnoTony Avatar asked Jan 13 '13 02:01

TechnoTony


People also ask

What is uses feature android?

Google Play uses the <uses-feature> elements declared in your app manifest to filter your app from devices that do not meet its hardware and software feature requirements.

WHAT IS provides an interface where the hardware and the software features of a device can be specified by the user?

System software – it is designed to run a computer's hardware and application software, and make the computer system available for use. It serves as the interface between hardware, application software, and the user.


1 Answers

On reflection the answer was obvious, as telephony is in lower-case. For some reason this requires lower case even though upper case works in my uses-permission declarations. Here's the code which worked:

<uses-feature android:name="android.hardware.screen.portrait" android:required="false" />
<uses-feature android:name="android.hardware.telephony" android:required="false" />
<uses-feature android:name="android.hardware.location" android:required="false" />
<uses-feature android:name="android.hardware.location.gps" android:required="false" />
<uses-feature android:name="android.hardware.microphone" android:required="false" />

Hope this is helpful to someone else!

like image 141
TechnoTony Avatar answered Oct 26 '22 08:10

TechnoTony