I'm having trouble with an AR game I have published. When testing with broadcast and when installing the APK locally it all works fine, but when installing the game from the Play store, you can't see the AR background (this is the video feed from the camera). It just appears as a black screen. However, if the user goes into settings and manually updates the permissions for the app to allow camera then it starts working.
I have the camera option checked in the export settings, but I had to manually update the manifest.xml to include...
<uses-feature android:name="android.hardware.camera.ar" android:required="true" />
...for google Play Store to accept the APK (because of the AR Core stuff). I'm not sure if that is what is messing up the camera permissions. I've tinkering some more with the manifest but still having the same problem.
If I true updating <uses-feature android:name="android.hardware.camera" android:required="false" /> to <uses-feature android:name="android.hardware.camera" android:required="true" />, then I get the error when trying to upload the APK to Play Store:
" Upload failed
The uses-feature android.hardware.camera.ar is required in in the AndroidManifest.xml file when a dependency on ARCore is specified as required."
Does anyone have any permissions experience who could help with this? Thanks!