Cardboard SDK v1.10.0 (2021-11-30)
Breaking & behavioral changes
- Changed Android minimum SDK version to 24 from 18 in Android SDK, sample app, and Unity SDK. If you want to maintain a lower minimum SDK, you must remove Vulkan support by making the following changes. All the locations can be found by searching for "#vulkan":
- Set
minSdkVersionto 16 in sdk/build.gradle. - Set
minSdkVersionto 16 in hellocardboard-android/build.gradle. - Remove all the sources, definitions and
dllibrary requirement that relate to Vulkan from CMakeLists.txt.
- Set
- Bitcode is now enabled in the iOS native sample app.
New APIs and capabilities
- Added Vulkan distortion renderer (alpha).
Deprecations
None
Other changes
- Removed bitcode disabling step from Unity build post processor.
- Changed Protobuf dependency version to 3.10.0 from 3.8.0 in Android SDK, native Android sample app and XR Plugin for Android.
- Removed
constqualifier from methodRenderEyeToDisplayin C++ classDistortionRenderer.
Bug fixes
- Fixed #257: Added a workaround for underlying issue Unity bug #1184957 by using the Unity build post processor to remove the Cardboard SDK .meta files from the bundle.
- Fixed #258: Fixed runtime crash when using the SDK on Android 6 or lower by bumping the Protobuf dependency version.
Known issues
None
Tested devices
- Android
- Google Pixel 3A (Android 11)
- Google Pixel 3XL (Android 12)
- Google Pixel 4XL (Android 12)
- Google Pixel 5 (Android 11)
- Google Pixel 5A 5G (Android 12)
- Samsung Galaxy S8+ (Android 8)
- Samsung Galaxy S9 (Exynos) (Android 10)
- Samsung Galaxy S9 (Qualcomm) (Android 9)
- iOS
- iPod Touch 7th gen (iOS 12.3)
- iPhone 6 (iOS 12.5)
- iPhone X (iOS 14.4)
- iPhone SE (iOS 14.6)