Skip to content

Commit

Permalink
v0.7.2: Fixes missing texturing on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
CariusLars committed Oct 30, 2022
1 parent 8138f15 commit d48ada7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions 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

Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions ios/Classes/IosARView.swift
Expand Up @@ -230,6 +230,7 @@ class IosARView: NSObject, FlutterPlatformView, ARSCNViewDelegate, UIGestureReco
func initializeARView(arguments: Dictionary<String,Any>, result: FlutterResult){
// Set plane detection configuration
self.configuration = ARWorldTrackingConfiguration()
self.configuration.environmentTexturing = .automatic
if let planeDetectionConfig = arguments["planeDetectionConfig"] as? Int {
switch planeDetectionConfig {
case 1:
Expand Down
2 changes: 1 addition & 1 deletion 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

Expand Down

0 comments on commit d48ada7

Please sign in to comment.