Releases: google-ar/arcore-android-sdk
ARCore SDK for Android v1.46.0
Breaking & behavioral changes
- ARCore's
targetSdkVersion
has been updated to Android API level 35. If your app does not specify atargetSdkVersion
, your app'stargetSdkVersion
will become 35 due to manifest merging.
ARCore SDK for Android v1.45.0
New APIs and capabilities
Flash Mode
ARCore now supports enabling the device's torch mode, allowing for better perception capabilities in dark environments.
Kotlin/Java:
Config.FlashMode
: configuration option for enabling or disabling the flash unit on the device.- See the Developer guide for more details on how to detect flash capabilities, and how to enable the torch mode.
C:
ArFlashMode
: configuration option for enabling or disabling the flash unit on the device.- See the Developer guide for more details on how to detect flash capabilities, and how to enable the torch mode.
ARCore SDK for Android v1.44.0
Known issues
- None.
Breaking & behavioral changes
- None.
New APIs and capabilities
- None.
Deprecations
- None.
Bug fixes
- Fixed situations where the normal vector of vertical planes would sometimes face away from the camera.
google/model-viewer#4771
. - Various bug fixes and performance improvements.
ARCore SDK for Android v1.43.0
Known issues
- None.
Breaking & behavioral changes
- None.
New APIs and capabilities
- None.
Deprecations
- None.
Bug fixes
- Various bug fixes and performance improvements.
ARCore SDK for Android v1.42.0
Bug fixes
- Fixed an issue when installing ARCore on certain devices using Android 14.
Other changes
- Updated
okhttp
dependency from 3.12.0 to 4.10.0 in the ml_kotlin sample.
ARCore SDK for Android v1.41.0
Bug fixes
- #1271: Fixed an issue that could cause methods of the
ArCoreApk
class (Java) andArCoreApk_*
functions (NDK) to return errors or incorrect non-availability when running in dev builds or other otherwise as a side-loaded app.
ARCore SDK for Android v1.40.0
Breaking & behavioral changes
- ARCore's
targetSdkVersion
has been updated to Android API level 34. If your app does not specify atargetSdkVersion
, your app'stargetSdkVersion
will become 34 due to manifest merging.
Bug fixes
- #1602: Fixed a
NullPointerException
when closing an ARCore session with aSharedCamera
that was already closed.
ARCore SDK for Android v1.39.0
Known issues
- None.
Breaking & behavioral changes
- None.
New APIs and capabilities
- None.
Deprecations
- None.
Other changes
- Upgraded sample apps using
de.javagl:obj
to version 0.4.0 from version 0.2.1.
Bug fixes
- Various bug fixes and performance improvements.
ARCore SDK for Android v1.38.0
Known issues
- #1573: On certain Android devices, enabling 60FPS mode causes the tracking to become unsynchronized with the camera feed. The 60FPS mode has been temporarily disabled on these devices and will not appear in supported camera configurations.
Other changes
- Removed Streetscape Geometry shaders from samples that do not use them.
Bug fixes
- Various bug fixes and performance improvements.
ARCore SDK for Android v1.37.0
Known issues
- #1573: On certain devices, enabling 60FPS mode causes the tracking to become unsynchronized with the camera feed. The 60FPS mode has been temporarily disabled on these devices and will not appear in supported camera configurations.
New APIs and capabilities
Scene Semantics
Scene Semantics provides richer details about the surrounding scene, making it easier to understand the world around the user. Scene Semantics runs an ML model on the camera image feed and provides a semantic image with each pixel corresponding to one of 11 labels of outdoor concepts.
See Introduction to Scene Semantics and the semantics_java sample app for more information.
Kotlin/Java:
Frame.acquireSemanticImage()
Frame.getSemanticLabelFraction()
Frame.acquireSemanticConfidenceImage()
SemanticLabel
C:
ArFrame_acquireSemanticImage()
ArFrame_getSemanticLabelFraction()
ArFrame_acquireSemanticConfidenceImage()
ArSemanticLabel
Streetscape Geometry
Streetscape Geometry is a new ARCore Geospatial API that provides the geometry of buildings and terrain in an area around the user when the Geospatial API is enabled.
See Streetscape Geometry Developer Guide (Kotlin/Java) and Streetscape Geometry Developer Guide (C) for more information. Additionally, the geospatial_java sample app has been updated to include Streetscape Geometry.
Kotlin/Java:
Config.StreetscapeGeometryMode
StreetscapeGeometry
StreetscapeGeometry.Quality
StreetscapeGeometry.Type
Mesh
C:
ArStreetscapeGeometryMode
ArStreetscapeGeometry
ArStreetscapeGeometryQuality
ArStreetscapeGeometryType
ArMesh
Rooftop anchors
Rooftop anchors are a new Geospatial anchor type that helps you anchor content to a rooftop.
See Geospatial anchors (Java) and Geospatial anchors (C) for more information. Additionally, the geospatial_java sample app has been updated to include Rooftop anchors.
Kotlin/Java:
C:
Geospatial Depth
When both the Depth API and Streetscape Geometry modes are enabled in an ARCore session in areas with VPS coverage, the generated depth images are improved using Streetscape Geometry. Streetscape Geometry is integrated into each generated depth image out to a range of 65.535 meters. No changes are needed when calling the Depth API to see this benefit.
See Geospatial Depth (Java) and Geospatial Depth (C) for more information.
Vulkan rendering support
ARCore now provides Vulkan rendering support by exposing the camera image through an AHardwareBuffer
. You can use this Hardware Buffer by binding it to a VkImage
.
See Rendering your ARCore application using Vulkan and the hello_ar_vulkan_c sample app for more information.
Java:
C:
Electronic Image Stabilization (EIS)
You can configure ARCore to use Electronic Image Stabilization, which smooths camera frames for a more fluid user experience.
See Enabling Electronic Image Stabilization and the hello_eis_kotlin sample app for more information.
Kotlin/Java:
Config.ImageStabilizationMode
Frame.transformCoordinates3d()
Session.isImageStabilizationModeSupported()
- There is a known issue where calling
Frame.transformCoordinates3d()
with 2D coordinates other thanOPENGL_NORMALIZED_DEVICE_COORDINATES
will cause a crash instead of throwingIllegalArgumentException
. This will be resolved in the following release.
C:
ArImageStabilizationMode
ArFrame_transformCoordinates3d()
ArSession_isImageStabilizationModeSupported()
- There is a known issue where calling
ArFrame_transformCoordinates3d()
with 2D coordinates other thanAR_COORDINATES_2D_OPENGL_NORMALIZED_DEVICE_COORDINATES
will cause your app to abort instead of returningAR_ERROR_INVALID_ARGUMENT
. This will be resolved in the following release.
ARCore async APIs
This release introduces new ARCore async APIs to improve ergonomics when working with asynchronous operations, following the Future paradigm.
Java:
- Resolving Terrain anchors: Use [
Earth.resolveAnchorOnTerrainAsync()
] to obtain a [ResolveAnchorOnTerrainFuture
]. The old symbol [Earth.resolveAnchorOnTerrain()
] has been deprecated and may be removed in a later version of ARCore. - Resolving Cloud anchors: Use [
Session.resolveCloudAnchorAsync()
] to obtain a [ResolveCloudAnchorFuture
]. The old symbol [`Se...