arcore-android-sdk

ARCore SDK for Android Studio

OTHER License

Stars
5K

Bot releases are hidden (Show)

arcore-android-sdk - ARCore SDK for Android v1.25.0

Published by jeremyvc over 3 years ago

New APIs and capabilities

  • None

Deprecations

  • None

Other changes

  • Updated Java and native sample apps to targetSdkVersion 30 (Android 11).

Bug fixes

  • Various bug fixes and performance improvements.
arcore-android-sdk - ARCore SDK for Android v1.24.0

Published by bsanjin over 3 years ago

New APIs and capabilities

Deprecations

None

Other changes

Bug fixes

  • Fixed memory leaks in hello_ar_c when rendering a plane that was subsumed and when attempting to render a plane that was not being tracked.
arcore-android-sdk - ARCore SDK for Android v1.23.0

Published by bsanjin over 3 years ago

Breaking & behavioral changes

New APIs and capabilities

Deprecations

Deletions

Other changes

Bug fixes

  • Various bug fixes and performance improvements.
arcore-android-sdk - ARCore SDK for Android v1.22.0

Published by bsanjin almost 4 years ago

Breaking & behavioral changes

Known issues

  • Support for stereo camera depth is expected to become available in ARCore SDK 1.23.0.

New APIs and capabilities

None.

Deprecations

None.

Other changes

Bug fixes

  • Various bug fixes and performance improvements.
arcore-android-sdk - ARCore SDK for Android v1.21.0

Published by bsanjin almost 4 years ago

Upcoming breaking change affecting Cloud Anchors apps built using ARCore SDK 1.11.0 or earlier

Beginning in December 2020, AR-enabled apps built using ARCore SDK 1.11.0 or earlier will no longer be able to host or resolve Cloud Anchors.

Apps built with ARCore SDK 1.12.0 or later are unaffected. Their use of Cloud Anchors APIs is covered by the Cloud Anchors deprecation policy.

Known issues

  • Issue 141500087: When using Android Emulator x86_64 system images on macOS with ARCore SDK 1.16.0 or later, Google Play Services for AR will crash. As a workaround, use an x86 system image.

Breaking & behavioral changes

None.

New APIs and capabilities

Deprecations

None.

Other changes

Bug fixes

  • Fixed memory leak in hello_ar_c, which now correctly releases acquired depth images.
  • Fixed crash in hello_ar_java which occurred on certain GPUs.
arcore-android-sdk - ARCore SDK for Android v1.20.0

Published by bsanjin about 4 years ago

Known issues

  • Issue 141500087: When using Android Emulator x86_64 system images on macOS with ARCore SDK 1.16.0 or later, Google Play Services for AR will crash. As a workaround, use an x86 system image.

Breaking & behavioral changes

  • Beginning in December 2020, AR-enabled apps built using ARCore SDK 1.11.0 or earlier will no longer be able to host or resolve Cloud Anchors. Apps built with ARCore SDK 1.12.0 or later are unaffected. To learn more about this breaking change, and for instructions on how to update your app, see the Cloud Anchors deprecation policy.

New APIs and capabilities

Deprecations

Other changes

  • Java: Added new persistent_cloud_anchor_java sample app.
  • Changed hello_ar_java and hello_ar_c samples to acquire depth images only when tracking is active. This avoids logging unactionable errors when tracking is not active.

Bug fixes

  • Fixed an issue where Chrome WebXR immersive-ar stopped working on 64-bit Android Q+.
arcore-android-sdk - ARCore SDK for Android v1.19.0

Published by bsanjin about 4 years ago

Breaking change affecting previously published 32-bit-only apps

Google Play Services for AR (ARCore) has removed support for 32-bit-only ARCore-enabled apps running on 64-bit devices. Support for 32-bit apps running on 32-bit devices is unaffected.

If you have published a 32-bit-only (armeabi-v7a) version of your ARCore-enabled app without publishing a corresponding 64-bit (arm64-v8a) version, you must update your app to include 64-bit native libraries. 32-bit-only ARCore-enabled apps that are not updated may crash when attempting to start an augmented reality (AR) session.

To learn more about this breaking change, and for instructions on how to update your app, see https://developers.google.com/ar/64bit.

Known issues

  • Issue 141500087: When using Android Emulator x86_64 system images on macOS with ARCore SDK 1.16.0 or later, Google Play Services for AR will crash. As a workaround, use an x86 system image.

New APIs and capabilities

Deprecations

None.

Other changes

  • Updated Java and native sample apps to targetSdkVersion 29 (Android 10).
  • Refactored hello_ar_java to be easier to read.
  • Modified hello_ar_java to have a simpler plane rendering logic.
  • Modified augmented_image_java, augmented_image_c, and hello_ar_c to consistently use premultiplied alpha blending.
  • Added diffuseTextureAssetName parameter to specify the texture that should used in AugmentedFaceRenderer.createOnGlThread.
  • Added calls to Session.close in all Java sample apps to explicitly release native resources when destroying the activity.
  • Moved glm code used by samples to third_party/glm from libraries/glm.
  • LICENSE file now lists only the dependencies of the ARCore SDK binary and not Maven dependencies of the samples.
  • Fixed incorrect license URL in com.google.ar.core Maven POM file.

Bug fixes

  • Fixed a crash in hello_ar_c caused by incorrect arguments being passed to ArFrame_transformCoordinates2d in HelloArApplication::GetTextureTransformMatrix.
  • Fixed an issue where disabling Augmented Images would not reduce ARCore's CPU utilization rate as expected. Setting a null or empty Augmented Images database now reduces ARCore's CPU usage. Note, however, the CPU utilization is not reduced while Instant Placement is enabled. See ARCore Performance considerations for details.
arcore-android-sdk - ARCore SDK for Android v1.18.1

Published by bsanjin over 4 years ago

Note: this is a Google Play Services for AR (ARCore) APK-only release (version 1.18.1). The SDK version remains unchanged (version 1.18.0).

Bug fixes

  • Fixed a minor issue affecting Google Lens.
arcore-android-sdk - ARCore SDK for Android v1.18.0

Published by bsanjin over 4 years ago

Upcoming breaking change affecting previously published 32-bit-only apps

In August 2020, Google Play Services for AR (ARCore) will remove support
for 32-bit-only ARCore-enabled apps running on 64-bit devices. Support for
32-bit apps running on 32-bit devices is unaffected.

If you have published a 32-bit-only (armeabi-v7a) version of your
ARCore-enabled app without publishing a corresponding 64-bit (arm64-v8a)
version, you must update your app to include 64-bit native libraries before
August 2020. 32-bit-only ARCore-enabled apps that are not updated by this time
may crash when attempting to start an augmented reality (AR) session.

To learn more about this breaking change, and for instructions on how to update
your app, see https://developers.google.com/ar/64bit.

Known issues

  • Issue 141500087: When using Android Emulator x86_64 system images on macOS with ARCore SDK 1.16.0 or later, Google Play Services for AR will crash. As a workaround, use an x86 system image.

Breaking & behavioral changes

  • targetSdkVersion inside the ARCore Android Archive (AAR) file has been updated to API level 29. Specifying a targetSdkVersion in your project's build.gradle or AndroidManifest.xml will override the ARCore value.

New APIs and capabilities

Deprecations

None.

Other changes

  • Updated Java and native HelloAR sample apps to include Depth API usage.
  • Migrated Augmented Faces Java sample app from Sceneform to direct OpenGL calls.

Bug fixes

  • Fixed Cloud Anchors Privacy link in the cloud_anchor_java sample app. The incorrect link now redirects to the correct link, so existing apps with the incorrect link don't need to be updated.
arcore-android-sdk - ARCore SDK for Android v1.17.0

Published by noelvictor1 over 4 years ago

Upcoming breaking change affecting previously published 32-bit-only apps

In August 2020, Google Play Services for AR (ARCore) will remove support
for 32-bit-only ARCore-enabled apps running on 64-bit devices. Support for
32-bit apps running on 32-bit devices is unaffected.

If you have published a 32-bit-only (armeabi-v7a) version of your
ARCore-enabled app without publishing a corresponding 64-bit (arm64-v8a)
version, you must update your app to include 64-bit native libraries before
August 2020. 32-bit-only ARCore-enabled apps that are not updated by this time
may crash when attempting to start an augmented reality (AR) session.

To learn more about this breaking change, and for instructions on how to update
your app, see https://developers.google.com/ar/64bit.

Known issues

None.

Breaking & behavioral changes

None.

New APIs and capabilities

Deprecations

None.

Other changes

Bug fixes

  • Fixed a bug that caused a crash during the first installation of ARCore on certain devices.
arcore-android-sdk - ARCore SDK for Android v1.16.0

Published by noelvictor1 over 4 years ago

Upcoming breaking change affecting previously published 32-bit-only apps

In August 2020, Google Play Services for AR (ARCore) will remove support
for 32-bit-only ARCore-enabled apps running on 64-bit devices. Support for
32-bit apps running on 32-bit devices is unaffected.

If you have published a 32-bit-only (armeabi-v7a) version of your
ARCore-enabled app without publishing a corresponding 64-bit (arm64-v8a)
version, you must update your app to include 64-bit native libraries before
August 2020. 32-bit-only ARCore-enabled apps that are not updated by this time
may crash when attempting to start an augmented reality (AR) session.

To learn more about this breaking change, and for instructions on how to update
your app, see https://developers.google.com/ar/64bit.

Breaking & behavioral changes

  • Beginning with ARCore SDK 1.16.0, most devices will now return additional supported camera configs with lower GPU texture resolutions than the device's default GPU texture resolution. See the ARCore supported devices for details.

New APIs and capabilities

  • Expanded GPU resolutions are now available on more devices through the getSupportedCameraConfigs(CameraConfigFilter) API. See ARCore supported devices for details.

Deprecations

None.

Other changes

  • Cleaned up documentation for ArCameraConfigFilter type.

Bug fixes

  • Fixed the triangle winding direction in BackgroundRenderer in our samples, allowing it to work with GL_CULL_FACE.
arcore-android-sdk - ARCore SDK for Android v1.15.0

Published by noelvictor1 over 4 years ago

Breaking & behavioral changes

  • Update: A bug caused this feature to not work in 1.15.0, which is fixed in 1.16.0.Beginning with ARCore SDK 1.15.0, some devices will now return additional supported camera configs with lower GPU texture resolutions than the device's default GPU texture resolution. See the ARCore supported devices for details.

New APIs and capabilities

  • None

Deprecations

  • None

Other changes

  • Vertical plane detection works better on surfaces with low visual texture.

Bug fixes

  • None
arcore-android-sdk - ARCore SDK for Android v1.14.1

Published by noelvictor1 almost 5 years ago

Note: This is a Google Play Services for AR (APK) only release.

Bug fixes

  • Fixes an issue that caused Google Play Services for AR to crash on some devices
arcore-android-sdk - ARCore SDK for Android v1.14.0

Published by noelvictor1 almost 5 years ago

Breaking & behavioral changes

None.

New APIs and capabilities

  • Added CAMERA_UNAVAILABLE to the TrackingFailureReason enumeration to represent a temporary loss of the camera to another app on the device. After an app regains priority, tracking will resume.
  • Adds native error stack traces for some status failures.

Deprecations

None.

Other changes

None.

Bug fixes

  • Fixed the Shared Camera sample's black frame flicker when switching between AR and non-AR modes.
arcore-android-sdk - ARCore SDK for Android v1.13.0

Published by noelvictor1 almost 5 years ago

Breaking & behavioral changes

None.

New APIs and capabilities

None.

Deprecations

None.

Other changes

  • Updated the samples gradle plugin to 3.5.0 (fixes "Gradle Sync error: No value has been specified for property manifestOutputDirectory").
  • Fixed a compiler warning in C apps ("warning: explicitly defaulted default constructor is implicitly deleted").

Bug fixes

  • Apps built with ARCore SDK 1.13 and later now correctly verify that the camera permission has been granted at ARCore session creation time. This check was missing in Google Play Services for AR (ARCore) 1.8 through 1.12, causing apps built with ARCore SDK 1.12 and earlier to fail to create an ARCore session on some devices, but succeed on others.
arcore-android-sdk - ARCore SDK for Android v1.12.1

Published by noelvictor1 about 5 years ago

Note: This is a Google Play Services for AR (APK) only release.

Bug fixes

  • Fixes issues affecting users of Google Maps AR Walking Directions.
arcore-android-sdk - ARCore SDK for Android v1.12.0

Published by noelvictor1 about 5 years ago

Breaking & behavioral changes

  • The data captured by hostCloudAnchor() (Java) and ArSession_hostAndAcquireNewCloudAnchor() (NDK), which is uploaded to the ARCore Cloud Anchor API service has changed. See https://developers.google.com/ar/develop/java/cloud-anchors/overview-android#how-hosted to learn more.

  • resolveCloudAnchor() (Java) and ArSession_resolveAndAcquireNewCloudAnchor() (NDK) will no longer timeout or fail when the ARCore Cloud Anchor API service is unreachable, or the anchor cannot be immediately resolved. Instead, the API will continue to attempt to resolve the provided anchors until they are detached.

    • Java: ERROR_RESOLVING_LOCALIZATION_NO_MATCH and ERROR_SERVICE_UNAVAILABLE enums in CloudAnchorState are now deprecated and will no longer be returned.
    • NDK: AR_CLOUD_ANCHOR_STATE_ERROR_RESOLVING_LOCALIZATION_NO_MATCH and AR_CLOUD_ANCHOR_STATE_ERROR_SERVICE_UNAVAILABLE enums in the ArCloudAnchorState are now deprecated and will no longer be returned.

    These changes only affect apps built with ARCore SDK 1.12 or later. Apps built with older SDKs will not be affected by this change, and will continue to observe old behavior.

New APIs and capabilities

  • There is a new enum value that can be set for a Cloud Anchor's state. The ERROR_HOSTING_SERVICE_UNAVAILABLE value will be set for a Cloud Anchor during the hosting process, if the ARCore Cloud Anchor service is unreachable.

Deprecations

  • The following enum values in the CloudAnchorState are being deprecated:
    • Java: ERROR_RESOLVING_LOCALIZATION_NO_MATCH and ERROR_SERVICE_UNAVAILABLE enums in CloudAnchorState are now deprecated and will no longer be returned.
    • NDK: AR_CLOUD_ANCHOR_STATE_ERROR_RESOLVING_LOCALIZATION_NO_MATCH and AR_CLOUD_ANCHOR_STATE_ERROR_SERVICE_UNAVAILABLE enums in the ArCloudAnchorState are now deprecated and will no longer be returned.

Other changes

None.

Bug fixes

None.

arcore-android-sdk - ARCore SDK for Android v1.11.0

Published by noelvictor1 about 5 years ago

Breaking & behavioral changes

  • ARCore now targets 60fps on supported devices. Use new camera config filters to target 30fps on all ARCore devices. See ARCore supported devices for a list of supported devices.
  • All sample apps will now allow the device to sleep when tracking is lost, such as when the device is placed on a table or in a pocket or bag.

New APIs and capabilities

  • Ability to filter camera configurations based on Target FPS and Depth Sensor Usage:
    • New CameraConfigFilter class (Java) and ArCameraConfigFilter_*() functions (NDK) let an app filter the CameraConfig list based on Target FPS and/or Depth Camera Usage.
    • New Session.getSupportedCameraConfigs(CameraConfigFilter) (Java) and ArSession_getSupportedCameraConfigsWithFilter(…) (NDK) returns a list of supported camera configs based on the provided filter settings.

Deprecations

  • Session.getSupportedCameraConfigs() (Java) and ArSession_getSupportedCameraConfigs(…) (NDK) are now deprecated. Use getSupportedCameraConfigs(CameraConfigFilter) (Java) and ArSession_getSupportedCameraConfigsWithFilter(…)(NDK) instead.

Other changes

  • The ARCore service has been renamed to Google Play Services for AR. On Google Play devices it is now distributed as part of Google Play Services.
  • The samples have been updated to Gradle 5.4.1 and Android Gradle Plugin 3.4.1.
  • Samples now uses white for all detected planes, to avoid confusion due to users inferring meaning from the different colors.
  • Fixed a memory leak that occurs when an Activity is passed in as the Application Context during Session creation.
  • Added a switch to Computer Vision sample for toggling RGB camera passthrough.

Bug fixes

None

arcore-android-sdk - ARCore SDK for Android v1.10.0

Published by noelvictor1 over 5 years ago

Breaking & behavioral changes

  • None

New APIs and capabilities

  • New Environmental HDR mode added to Light Estimation API.
    • Environmental HDR provides developers with three APIs to replicate real world lighting when using the back-facing camera:
      • Main Directional Light: helps with casting shadows in the right direction.
      • Ambient Spherical Harmonics: helps model ambient illumination from all directions.
      • HDR Cubemap: provides specular highlights and reflections.
  • Add ArImage_* methods to access CPU image data not through Android NDK.

Deprecations

  • ArImage_getNdkImage(const ArImage* image, const AImage** out_ndk_image) (NDK) is now deprecated. Use the other ArImage_* functions to obtain image data.

Other changes

  • Java Config setters now return this, which allows method call chaining: session.configure(new Config(session).setA(..).setB(..));.
  • Augmented Faces runs faster and consumes less power.

Bug fixes

  • Previously, enabling Cloud Anchor mode with the front-facing (selfie) camera did not return an unsupported configuration error. This is now fixed.
arcore-android-sdk - ARCore SDK for Android v1.9.0

Published by fredsa over 5 years ago

Breaking changes/behavioral changes

  • When using a Session that is configured to use a front-facing (selfie) camera, getSupportedCameraConfigs() will return one or more supported camera configs. For apps built using ARCore SDK 1.7.0 or 1.8.0, three identical camera configs were returned when using the front-facing (selfie) camera.
  • getMeshTriangleIndices(…) now returns a ShortBuffer instead of a CharBuffer.
  • Augmented Images are now tracked once they leave the camera frame. See "New APIs and capabilities" below for details.

New APIs and capabilities

  • ARCore can now track moving Augmented Images. Previously, images were assumed to not move, and their pose would only be updated infrequently.
  • ARCore can continue tracking images even though they are longer visible to the camera. Use AugmentedImage#getTrackingMethod() (Java) or ArAugmentedImage_getTrackingMethod() (NDK) to determine whether the image is currently being tracked by the camera (FULL_TRACKING), or is being tracked based on its last known pose (LAST_KNOWN_POSE).
  • Adds the Scene Viewer feature, which can be used to view 3D models in AR from most Android browsers with the <model-viewer> web component.

Other changes

  • Removes the check for the device tracking state in augmented_image_c and augmented_image_java samples. Augmented Images now can track images when the device tracking state is not tracking.

Bug fixes

  • Fixed a NullPointerException that was thrown when setting a null AugmentedImageDatabase in the session configuration.
  • Fixed issue causing face meshes to only render on Android O (API Level 26) and above devices, due to mesh data being returned with incorrect byte order.