From d48ada78b1c694bfcee639d576ee5cd4defff5ae Mon Sep 17 00:00:00 2001 From: Lars Carius Date: Sun, 30 Oct 2022 18:36:28 +0100 Subject: [PATCH] v0.7.2: Fixes missing texturing on iOS --- CHANGELOG.md | 3 +++ README.md | 2 +- ios/Classes/IosARView.swift | 1 + pubspec.yaml | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e9ab459..033e46e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 0.7.2 +* Fixes missing texturing on iOS + ## 0.7.1 * Adds config to fix iOS cloud anchors not being able to upload diff --git a/README.md b/README.md index 00195894..d9979ad3 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Or manually add this to your `pubspec.yaml` file (and run `flutter pub get`): ```yaml dependencies: - ar_flutter_plugin: ^0.7.1 + ar_flutter_plugin: ^0.7.2 ``` ### Importing diff --git a/ios/Classes/IosARView.swift b/ios/Classes/IosARView.swift index fb332a98..49b239fc 100644 --- a/ios/Classes/IosARView.swift +++ b/ios/Classes/IosARView.swift @@ -230,6 +230,7 @@ class IosARView: NSObject, FlutterPlatformView, ARSCNViewDelegate, UIGestureReco func initializeARView(arguments: Dictionary, result: FlutterResult){ // Set plane detection configuration self.configuration = ARWorldTrackingConfiguration() + self.configuration.environmentTexturing = .automatic if let planeDetectionConfig = arguments["planeDetectionConfig"] as? Int { switch planeDetectionConfig { case 1: diff --git a/pubspec.yaml b/pubspec.yaml index d1730875..942acf3b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: ar_flutter_plugin description: Flutter Plugin for creating (collaborative) Augmented Reality experiences - Supports ARKit for iOS and ARCore for Android devices. -version: 0.7.1 +version: 0.7.2 homepage: https://lars.carius.io repository: https://github.com/CariusLars/ar_flutter_plugin