Updated project to work correctly with latest (recommended) target SDK for Android projects. This includes the following changes:
Updating compileSdk and targetSdk from 27 to 30. For apps submitted to the Play store now, at least API level 29 is required; 30 will be mandatory going forward.
Updating from ARCore 1.4 to the current version 1.19, also important for 64bit requirement of ARCore based apps.
Update from AppCompat libraries (deprecated) to AndroidX libraries. Also updated all other dependency libraries from Google to the latest version.
Disable screen rotation by default to prevent reloading the Sumerian screen when rotation changes. Also integrated DisplayRotationHandler from official ARCore Android SDK example, but keeping variable naming in line with Amazon Sumerian sample.
Update gitignore as per official JetBrains recommendations to exclude Android Studio files that should not be present on Git.
The sample app was tested with Android Studio 4.1 (RC2) and an Android 11 Pixel 4 phone and works fine. A Sumerian-based Android app using the same code is live in the Google Play store and passed certification.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Description of changes:
Updated project to work correctly with latest (recommended) target SDK for Android projects. This includes the following changes:
The sample app was tested with Android Studio 4.1 (RC2) and an Android 11 Pixel 4 phone and works fine. A Sumerian-based Android app using the same code is live in the Google Play store and passed certification.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.