My application provides the user with optional access to SMS and Phone calls. I have used:
<uses-permission android:name="android.permission.READ_PHONE_STATE" android:required="false"></uses-permission>
<uses-permission android:name="android.permission.SEND_SMS" android:required="false"></uses-permission>
<uses-permission android:name="android.permission.CALL_PHONE" android:required="false"></uses-permission>
Google Play does not expose this application to devices that do not have cellular network access. It seems like the required = false parameter is failing to do its job.
Is this a bug? Is there something else that I can do?
Why are you putting the required parameter inside a permission?
The android:required param is used when you declare a feature, afaik…
For example:
I think what you wanted to do is add
uses-featuredeclarations withandroid:required="false".Use this table to update your manifest:
http://developer.android.com/guide/topics/manifest/uses-feature-element.html#permissions-features