Android Play Store-添加Camera2 API插件后,Ionic应用程序突然不兼容

Android Play Store-添加Camera2 API插件后,Ionic应用程序突然不兼容,android,google-play,android-manifest,Android,Google Play,Android Manifest,我有一个Ionic应用程序,当我准备发布我的新版本时,我基于Camera2 API开发了一个新插件,Play Store说它与以前兼容的所有6069设备(手机)都不兼容 这些是我添加到AndroidManifest.xml中的功能,它们没有提到任何设备与之兼容: android.hardware.camera2.autofocus android.hardware.camera2.full android.hardware.camera 我认为大多数(如果不是全部的话)设备都会支持这些功能

我有一个Ionic应用程序,当我准备发布我的新版本时,我基于Camera2 API开发了一个新插件,Play Store说它与以前兼容的所有6069设备(手机)都不兼容

这些是我添加到
AndroidManifest.xml
中的功能,它们没有提到任何设备与之兼容:

  • android.hardware.camera2.autofocus
  • android.hardware.camera2.full
  • android.hardware.camera
我认为大多数(如果不是全部的话)设备都会支持这些功能


有什么建议吗?谢谢。

您需要小心精确匹配功能名称,因为如果拼写错误,您将无法与任何设备匹配(因为没有设备报告支持该拼写错误的功能)

具体地说,系统中没有
android.hardware.camera2.autofocus
android.hardware.camera2.full
。您可能需要
android.hardware.camera.autofocus
android.hardware.camera.level.full