Stay organized with collections Save and categorize content based on your preferences.
Enable AR to use augmented reality features in your new or existing app.
Configure your app to be AR Required or AR OptionalTo save space on individual devices, all AR features are stored in an app called Google Play Services for AR that is updated separately by the Play Store. Android apps that use AR features communicate with Google Play Services for AR using the ARCore SDK. An app that supports AR features can be configured in two ways: AR Required and AR Optional. This designation determines how the app interacts with the Google Play Services for AR app.
An AR Required app cannot function without ARCore. It requires an ARCore supported device that has installed Google Play Services for AR.
An AR Optional app uses ARCore to enhance existing functionality. It has optional AR features which are only activated on ARCore supported devices that have installed Google Play Services for AR.
ARSession.Install()
coroutine to download and install ARCore. Android minSdkVersion
requirements Android 7.0 (API Level 24) Android 4.4 (API Level 19), though running any AR functionality requires at least Android 7.0 (API Level 24) Must use ARSession.state
to check ARCore support and install status check_circle check_circle Must use the ARSession.Install()
coroutine to install Google Play Services for AR check_circle check_circle Make your app AR Required Android
Navigate to Edit > Project Settings > XR Plug-in Management > ARCore. Requirement is set to Required by default.
Click Edit > Project Settings > Player, select the tab with the Android icon.
Under Other Settings > Identification, specify a Minimum API Level that is 24
or higher.
Navigate to Edit > Project Settings > XR Plug-in Management > ARKit. Requirement is set to Required by default.
Click Edit > Project Settings > Player, select the tab with the iOS icon.
Under Other Settings > Configuration, specify the Target minimum iOS Version for your app.
Navigate to Edit > Project Settings > XR Plug-in Management > ARCore.
From the Requirement drop-down menu, select Optional to set your app to AR optional.
Click Edit > Project Settings > Player, select the tab with the Android icon.
Under Other Settings > Identification, specify a Minimum API Level that is 24
or higher.
Navigate to Edit > Project Settings > XR Plug-in Management > ARKit.
From the Requirement drop-down menu, select Optional to set your app to AR Optional.
Click Edit > Project Settings > Player, select the tab with the iOS icon.
Under Other Settings > Configuration, specify the Target minimum iOS Version for your app.
Both AR Required and AR Optional apps must use the ARSession.Install()
coroutine before creating an ARCore session to check whether a compatible version of Google Play Services for AR is (still) installed and to ensure that all required ARCore device profile data has been downloaded.
During runtime, AR Required apps will automatically perform runtime checks to ensure that the target device:
Set ARSession.attemptUpdate
to false
to disable these default checks. Your app should still handle these conditions:
ARSession.Install()
. Device supports ARCore and Google Play Services for AR and ARCore device profile data is installed and up to date. Creates an ARCore Session
and starts using ARCore.
You can also check the ARSession.state
for installation and support states.
To publish your app on the Play Store, make sure that your app complies with ARCore's User Privacy Requirements.
What’s nextExcept as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-28 UTC."],[[["AR apps can be configured as **AR Required** (core functionality) or **AR Optional** (enhanced functionality)."],["AR Required apps need ARCore-supported devices and automatically install Google Play Services for AR, while AR Optional apps do not."],["Both app types must perform runtime checks to ensure ARCore compatibility and necessary data before enabling AR features."],["Developers need to set the app's AR requirement and minimum API level in project settings for both Android and iOS."],["All AR apps must comply with ARCore's User Privacy Requirements for Play Store publication."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3