ARCore SDK for Android v1.2.0
Updated on 2018-05-11 to remove temporary APK sideload instructions.
Breaking changes
None.
New APIs and capabilities
- Cloud Anchors API. Enables developers to build shared AR experiences across iOS and Android, by allowing anchors created on one device to be transformed into cloud anchors and shared with users on other devices.
- Augmented Images API. Enables ARCore apps to detect and track images.
- Vertical plane detection. ARCore now detects both horizontal and vertical planes.
Deprecations
- Java:
Session.isSupported()
is now deprecated. Device capability checking is part of ARCore installation functionality (specificallyArCoreApk.checkAvailability()
andArCoreApk.requestInstall()
). The implementation is frozen to always returntrue
as it did in release 1.1. - C:
ArSession_checkSupported()
is now deprecated. Device capability checking is part of ARCore installation functionality (specificallyArCoreApk_checkAvailability()
andArCoreApk_requestInstall()
). The implementation is frozen to always returnAR_SUCCESS
as it did in release 1.1.
Behavioral changes
- The default session config now enables both horizontal and vertical plane detection. Previously only horizontal planes were detected.
Other changes
- Updated documentation for session config
UpdateMode
AR_UPDATE_MODE_BLOCKING
to specify behavior when camera images do not arrive by the built-in timeout. - Java: For AR-Required apps,
ArCoreApk.checkAvailability()
will always immediately return aSUPPORTED_*
Availability
. - C: For AR-Required apps,
ArCoreApk_checkAvailability()
will always immediately return anAR_AVAILABILITY_SUPPORTED_*
code. - ARCore SDK will now work properly when built into a library that is then built into an release proguarded app, by adding
-keepattributes *Annotation*
in your library's proguard spec. - Java: Added
Pose
convenience methodsgetTranslation()
,getRotationQuaternion()
androtateVector()
that return an array instead of taking an output array as an argument. - Sample apps have new, distinct icons.
Bug fixes
- Applications using
launchMode="singleTask"
in theirAndroidManifest.xml
(which is the default for Unity and Unreal apps) will no longer display a blank screen if the user exits the app and re-launches it while the "This app requires the latest version of ARCore" screen is displayed.
Known Issues
- If the API key specified for authenticating with the ARCore Cloud Anchor service is invalid, the final cloud anchor state of the anchor will be
ERROR_INTERNAL
instead ofERROR_NOT_AUTHORIZED
. This is a known issue and will be fixed in an upcoming release.