Skip to content

Commit ba62db7

Browse files
committed
Update plugin version, changelog and readme.
1 parent bebe79e commit ba62db7

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
## Pending (master branch only)
1+
## 2022.2.2 (master branch only)
22
* [Android] Fix touch detection when using Unity's New Input System. [#938](https://github.com/juicycleff/flutter-unity-view-widget/pull/938)
33
* [Android] Workaround for mUnityplayer error in Unity plugins using the AndroidJavaProxy. [#908](https://github.com/juicycleff/flutter-unity-view-widget/pull/908)
44
* [Android] Add namespace for Android gradle plugin (AGP) 8 compatibility.
55
* [Android] Fix kotlin compilation error with Flutter 3.24 and newer. [#973](https://github.com/juicycleff/flutter-unity-view-widget/issues/973)
6+
* [Android] Update documentation for new `.gradle.kts` files.
7+
* [iOS] Add an empty privacy manifest.
8+
* [Web] Don't crash on unknown event data from Unity.
69
* Disable windows support in `pubspec.yaml` to avoid confusion. Windows support was never completed.
710

811
## 2022.2.1

README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@
1414
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`.
1515

1616
<br />
17+
1718
### Notes
1819
- Use Windows or Mac to export and build your project.
1920
Users on Ubuntu have reported a lot of errors in the Unity export.
2021
- Emulator support is limited and requires special setup. Please use a physical device for Android and iOS.
21-
- Supports Unity 2019.4.3 or later, we recommend the latest LTS.
22+
- Supports Unity 2019.4.3 up to 2022.3.x, we recommend the latest 2022.3 LTS.
23+
Check [this github issue](https://github.com/juicycleff/flutter-unity-view-widget/issues/967) for support of Unity 6.
2224
- Use only OpenGLES3 as Graphics API on Android for AR compatibility.
2325
- Windows isn't supported because of the lack of [Flutter PlatformView support](https://github.com/flutter/flutter/issues/31713).
2426

@@ -32,18 +34,12 @@ is not compatible with other versions, it just mean it's been tested to work wit
3234

3335
## Installation
3436

35-
First depend on the library by adding this to your packages `pubspec.yaml`:
36-
- Flutter 3.0.0
37-
```yaml
38-
dependencies:
39-
flutter_unity_widget: ^2022.2.0
40-
```
41-
37+
This plugin requires Flutter >= 3.3.0
4238

43-
- Pre Flutter 3.0.0 (This version will gradually be deprecated)
39+
First depend on the library by adding this to your packages `pubspec.yaml`:
4440
```yaml
4541
dependencies:
46-
flutter_unity_widget: ^2022.1.0+7
42+
flutter_unity_widget: ^2022.2.1 # use the latest compatible version
4743
```
4844
4945
Now inside your Dart code you can import it.
@@ -328,7 +324,10 @@ allprojects {
328324

329325
<details>
330326
<summary>:information_source: <b>iOS</b></summary>
331-
327+
328+
> 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.
329+
330+
332331
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
333332
the *ios/UnityLibrary/Unity-Iphone.xcodeproj* file.
334333

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_unity_widget
22
description: Flutter Unity 3D widget for embedding Unity game scenes in flutter. This library now supports Unity as a Library.
3-
version: 2022.2.1
3+
version: 2022.2.2
44
#authors:
55
# - Rex Raphael <[email protected]>
66
# - Thomas Stockx <[email protected]>

0 commit comments

Comments
 (0)