My app isn't showing up on google play store for some phones, like the Samsung GT-S5830i I don't know whether it is because of my <uses-permission> or my min SDK or my Screen Size permissions.
After seeing this I made all of my <uses-permission> into <uses-feature> and added android:required="false" to every permission. Now, I need to check feature availability in my java code since the permissions are optional, so that I can avoid a java.lang.SecurityException: Permission Denial How would I do that in my following permissions:
<uses-feature android:name="android.permission.MODIFY_AUDIO_SETTINGS" android:required="false" />
<uses-feature android:name="android.permission.VIBRATE" android:required="false" />
<uses-feature android:name="android.permission.READ_PHONE_STATE" />
<uses-feature android:name="android.permission.GET_TASKS" />
<uses-feature android:name="android.permission.INTERNET" android:required="false"/>
I'm pretty sure that all phones and tablets can go through with my permissions, so I don't even think that I need to make it feature and add the required="false". If it is not the permissions, it could be the Screen Size permissions.
Should I do something like this in my manifest?
<compatible-screens>
<screen
android:screenDensity="ldpi"
android:screenSize="small" />
<screen
android:screenDensity="mdpi"
android:screenSize="normal" />
<screen
android:screenDensity="xhdpi"
android:screenSize="large" />
<screen
android:screenDensity="xhdpi"
android:screenSize="xlarge" />
</compatible-screens>
Currently, I have this:
<supports-screens
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="true"
android:anyDensity="true" />
Could it be because of the SDK?
Thanks for telling me whether it is because of the permissions, the SDK, or the screen size, and what I should do to keep some of the permissions optional,
Ruchir