Skip to content

ARCore SDK for Android v1.2.0

Compare
Choose a tag to compare
@avirodov avirodov released this 08 May 19:35

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 (specifically ArCoreApk.checkAvailability() and ArCoreApk.requestInstall()). The implementation is frozen to always return true as it did in release 1.1.
  • C: ArSession_checkSupported() is now deprecated. Device capability checking is part of ARCore installation functionality (specifically ArCoreApk_checkAvailability() and ArCoreApk_requestInstall()). The implementation is frozen to always return AR_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 a SUPPORTED_* Availability.
  • C: For AR-Required apps, ArCoreApk_checkAvailability() will always immediately return an AR_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 methods getTranslation(), getRotationQuaternion() and rotateVector() 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 their AndroidManifest.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 of ERROR_NOT_AUTHORIZED. This is a known issue and will be fixed in an upcoming release.