aws-samples / amazon-sumerian-arcore-starter-app

A sample Android project that demonstrates how to create a simple augmented reality experience using Google's ARCore with the Amazon Sumerian service.
Apache License 2.0
53 stars 36 forks source link

Add specific required feature for AR camera as required for Google Play Store Submissions #8

Closed andijakl closed 5 years ago

andijakl commented 5 years ago

Description of changes:

Submitting an app to the Google Play Store based on the original starter app fails with the following message:

"The uses-feature android.hardware.camera.ar is required in in the AndroidManifest.xml file when a dependency on ARCore is specified as required."

This commit adds the required line to the manifest to fix the error. Additionally, I moved the dependencies before the element, as recommended by Android Studio.

An ARCore-based Amazon Sumerian app that I submitted to the Play Store was allowed to go live with these changes. For reference: you can check how the dependencies are shown and that the app is only available on ARCore enabled phones as intended in the app store listing.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

mike-starr commented 5 years ago

Thanks for catching this.