1

I had

<uses-feature android:name="android.hardware.camera" android:required="false"/>
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>

Then I added the following for the new library:

<uses-feature android:name="android.hardware.camera2.full" android:required="false"/>

Do I need to delete the old android.hardware.camera tags or do I still need to place them to avoid PlayStore from filtering out my app?

The app min target is 21.

Jonathan Hall
  • 75,165
  • 16
  • 143
  • 189
htafoya
  • 18,261
  • 11
  • 80
  • 104

2 Answers2

1

As I have researched, I must maintain old features which are the ones included in the official Docs:

<uses-feature android:name="android.hardware.camera" android:required="false"/>
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>

The android.hardware.camera2.full feature doesn't exist. As features are not tightly related to class implementation.

htafoya
  • 18,261
  • 11
  • 80
  • 104
0

By official supported devices docs if your app targets > 21 you can safely remove those flags.

Ivan Milisavljevic
  • 2,048
  • 2
  • 13
  • 21