From e0ae0d6b43034bc4246f637a710badb9efa0b99c Mon Sep 17 00:00:00 2001 From: Tim H Date: Mon, 28 Jul 2025 11:46:38 +0200 Subject: [PATCH] Update plugin version, changelog and readme. --- CHANGELOG.md | 5 ++++- README.md | 21 ++++++++++----------- pubspec.yaml | 2 +- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 615941ea..664341e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,11 @@ -## Pending (master branch only) +## 2022.2.2 (master branch only) * [Android] Fix touch detection when using Unity's New Input System. [#938](https://github.com/juicycleff/flutter-unity-view-widget/pull/938) * [Android] Workaround for mUnityplayer error in Unity plugins using the AndroidJavaProxy. [#908](https://github.com/juicycleff/flutter-unity-view-widget/pull/908) * [Android] Add namespace for Android gradle plugin (AGP) 8 compatibility. * [Android] Fix kotlin compilation error with Flutter 3.24 and newer. [#973](https://github.com/juicycleff/flutter-unity-view-widget/issues/973) +* [Android] Update documentation for new `.gradle.kts` files. +* [iOS] Add an empty privacy manifest. +* [Web] Don't crash on unknown event data from Unity. * Disable windows support in `pubspec.yaml` to avoid confusion. Windows support was never completed. ## 2022.2.1 diff --git a/README.md b/README.md index bae00a6e..bed4cd00 100644 --- a/README.md +++ b/README.md @@ -14,11 +14,13 @@ Flutter unity 3D widget for embedding unity in flutter. Now you can make awesome gamified features of your app in Unity and get it rendered in a Flutter app both in fullscreen and embeddable mode. Works great on `Android, iPad OS, iOS, Web`.
+ ### Notes - Use Windows or Mac to export and build your project. Users on Ubuntu have reported a lot of errors in the Unity export. - Emulator support is limited and requires special setup. Please use a physical device for Android and iOS. -- Supports Unity 2019.4.3 or later, we recommend the latest LTS. +- Supports Unity 2019.4.3 up to 2022.3.x, we recommend the latest 2022.3 LTS. + Check [this github issue](https://github.com/juicycleff/flutter-unity-view-widget/issues/967) for support of Unity 6. - Use only OpenGLES3 as Graphics API on Android for AR compatibility. - Windows isn't supported because of the lack of [Flutter PlatformView support](https://github.com/flutter/flutter/issues/31713). @@ -32,18 +34,12 @@ is not compatible with other versions, it just mean it's been tested to work wit ## Installation -First depend on the library by adding this to your packages `pubspec.yaml`: - - Flutter 3.0.0 -```yaml -dependencies: - flutter_unity_widget: ^2022.2.0 -``` - +This plugin requires Flutter >= 3.3.0 - - Pre Flutter 3.0.0 (This version will gradually be deprecated) +First depend on the library by adding this to your packages `pubspec.yaml`: ```yaml dependencies: - flutter_unity_widget: ^2022.1.0+7 + flutter_unity_widget: ^2022.2.1 # use the latest compatible version ``` Now inside your Dart code you can import it. @@ -328,7 +324,10 @@ allprojects {
:information_source: iOS - + + > Because of Apple's privacy manifest requirements, you need a minimal Unity version of 2021.3.35 or 2022.3.18 to publish an app. + + 1. Open the *ios/Runner.xcworkspace* (workspace, not the project) file in Xcode, right-click on the Navigator (not on an item), go to **Add Files to "Runner"** and add the *ios/UnityLibrary/Unity-Iphone.xcodeproj* file. diff --git a/pubspec.yaml b/pubspec.yaml index c4597ba2..86824c2e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_unity_widget description: Flutter Unity 3D widget for embedding Unity game scenes in flutter. This library now supports Unity as a Library. -version: 2022.2.1 +version: 2022.2.2 #authors: # - Rex Raphael # - Thomas Stockx