add <uses-features> to manifest
I am trying to search apps by uses-features and noticed that nearly no apps are listed in the index. One thing I really wanted to do is find "Leanback compatible apps". However this isnt possible because of this snippet
required = item.attrib.get(xmlns + 'required')
if required is None or required == 'true':
apk['features'].append(feature)
that was added here 63d4d462
There are a few apps that should show up but don't, VLC, Aves, Novaplayer, Amaze file explorer are good examples.
so I have a few questions
- Is there any reason not to showcase all features?
- If so, can we add a list of features to optionally support when not required? There are numerous features that would be good condidates for this
-
android.software.leanback
- TV compatible apps -
android.hardware.type.television
- (same as above but deprecated some legacy apps might use it still) -
android.hardware.type.watch
- apps compatible with watches -
android.software.live_tv
- tv streaming apps
- If there is a compelling reason to not add these to the manifest in the index json, could we have categories for them?
- There is additional useful features in the manifest I think should be included too like meta-data.
- android auto compatibility (related issue fdroiddata#2760) (VLC is a compatible app here as well)
<meta-data
android:name="com.google.android.gms.car.application"
android:resource="@xml/automotive_app_desc"/>
thanks for spending the time to read this