Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
21 changes: 10 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

<br />

### 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).

Expand All @@ -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.
Expand Down Expand Up @@ -328,7 +324,10 @@ allprojects {

<details>
<summary>:information_source: <b>iOS</b></summary>


> 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.

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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 <rex.raphael@outlook.com>
# - Thomas Stockx <thomas@stockxit.com>
Expand Down