github googlevr/cardboard v1.3.0

latest releases: v1.31.0, v1.30.1, v1.30.0...
5 years ago

Cardboard SDK v1.3.0 (2020-10-20)

Breaking & behavioral changes

None.

New APIs and capabilities

  • Added new CardboardDistortionRenderer constructors for to support multiple rendering APIs in a future release. Only OpenGL ES 2 is currently implemented.
  • Added validation for pointers passed in to each API function before dereferencing them. Invalid parameters get logged to the debug console.
  • Added validation that Cardboard_initializeAndroid() has been called before any other API function is. Invalid calls get logged to the debug console.
  • Updated iOS sample app to work with iOS 14.
  • Changed Android minimum SDK version to 16 from 19 in Android SDK.
  • Changed Android target API version to 30 from 28 in Android SDK and sample app.

Deprecations

  • CardboardDistortionRenderer_create has been removed. Call CardboardOpenGlEs2DistortionRenderer_create instead.

Other changes

  • Merged #91: Added Android Studio styling.
  • Fixed #29: Repository contains a gitignore file.
  • Added support for apps that use Cronet for network operations. See CronetEngine.createURLStreamHandlerFactory for specifics.
  • Changed use of Context in Android specific code to work with any Context that has a WindowManager where previously it only worked with Context objects of type Activity. This helps when dependency injection frameworks like Dagger.
  • Improved Android API compatibility to get screen pixel density.
  • Added a toast explaining when barcode detection libraries are not available and a WiFi update of Google Play Services is required.

Bug fixes

  • Fixed #29: A .gitignore file has been added to the SDK repository.
  • Fixed #33: Unity XR plugin no longer requires both iOS and Android Unity modules to be installed.
  • Fixed #34: On Android, Unity projects entering XR mode won't crash anymore if Cardboard XR Plugin is not enabled in Player Settings > XR Plug-in Management.
  • Fixed #50: Unity XR plugin displays gear and close textures after loading a new scene.
  • Fixed #55, merged #2: Unity XR plugin no longer throws an error when building for platforms other than Android or iOS.
  • Fixed #59 and #98: Unity XR plugin can be turned on and off at runtime.
  • Fixed #89: QR code scanner accepts both TEXT and URL barcode types.

Don't miss a new cardboard release

NewReleases is sending notifications on new releases.