Skip to content

Commit 971ba9d

Browse files
committed
Merge branch 'master' into experimental/unity_6000.
2 parents eb773bc + ba62db7 commit 971ba9d

24 files changed

+37
-1035
lines changed

.github/workflows/main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
- uses: subosito/flutter-action@v2
1313
with:
14-
flutter-version: '3.3.0'
14+
flutter-version: '3.24.5'
1515
channel: 'stable'
1616

1717
- name: Clean Dependencies
@@ -21,7 +21,7 @@ jobs:
2121
run: flutter packages get
2222

2323
- name: Format
24-
run: flutter format --set-exit-if-changed lib test
24+
run: dart format --set-exit-if-changed lib test
2525

2626
- name: Analyze
2727
run: flutter analyze lib test

CHANGELOG.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
1-
## Pending (experimental/unity_6000 branch)
2-
6000.0.0-alpha
1+
## 6000.0.0 (experimental/unity_6000 branch)
2+
* Includes all fixes up to 2022.2.2.
33

44
**Breaking changes**
5-
* Android now requires an export from Unity 6000. For Unity 2019.3-2022.3 use the latest 2022.x plugin.
6-
* This plugin now requires Java 17 and Gradle 8.x
5+
* [Android] This plugin now requires an export from Unity 6000.0 or newer.
6+
For Unity 2019.4-2022.3 use the latest 2022.x plugin.
7+
* [Android] This plugin now requires Java 17 and Gradle 8.x.
8+
* [Android] [iOS] Exports require unitypackage `fuw-6000.0.x` or newer.
9+
* Delete existing export folders like`android/unityLibrary` or `ios/UnityLibrary`when you upgrade your Unity version.
710

8-
## Pending (forked from master branch)
11+
12+
## 2022.2.2 (master branch)
913
* [Android] Fix touch detection when using Unity's New Input System. [#938](https://github.com/juicycleff/flutter-unity-view-widget/pull/938)
1014
* [Android] Workaround for mUnityplayer error in Unity plugins using the AndroidJavaProxy. [#908](https://github.com/juicycleff/flutter-unity-view-widget/pull/908)
1115
* [Android] Add namespace for Android gradle plugin (AGP) 8 compatibility.
1216
* [Android] Fix kotlin compilation error with Flutter 3.24 and newer. [#973](https://github.com/juicycleff/flutter-unity-view-widget/issues/973)
17+
* [Android] Update documentation for new `.gradle.kts` files.
18+
* [iOS] Add an empty privacy manifest.
19+
* [Web] Don't crash on unknown event data from Unity.
20+
* Disable windows support in `pubspec.yaml` to avoid confusion. Windows support was never completed.
1321

1422
## 2022.2.1
1523

README.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,16 @@
1313

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

16-
Windows support is a work in progress.
1716
<br />
17+
1818
### Notes
1919
- Use Windows or Mac to export and build your project.
2020
Users on Ubuntu have reported a lot of errors in the Unity export.
2121
- Emulator support is limited and requires special setup. Please use a physical device for Android and iOS.
22-
- Supports Unity 2019.4.3 or later, we recommend the latest LTS.
23-
- Use only OpenGLES3 as Graphics API on Android for AR compatibility.
24-
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.
24+
- Use only OpenGLES3 as Graphics API on Android for AR compatibility.
25+
- Windows isn't supported because of the lack of [Flutter PlatformView support](https://github.com/flutter/flutter/issues/31713).
2526

2627
## Notice
2728
Need me to respond, tag me [Rex Isaac Raphael](https://github.com/juicycleff).
@@ -31,22 +32,14 @@ This plugin expects you to atleast know how to use Unity Engine. If you have iss
3132
Moving forward, versioning of the package will change to match unity releases after proper test. Mind you this does not mean the package
3233
is not compatible with other versions, it just mean it's been tested to work with a unity version.
3334

34-
Windows coming soon.
35-
3635
## Installation
3736

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

45-
46-
- 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`:
4740
```yaml
4841
dependencies:
49-
flutter_unity_widget: ^2022.1.0+7
42+
flutter_unity_widget: ^2022.2.1 # use the latest compatible version
5043
```
5144
5245
Now inside your Dart code you can import it.
@@ -331,7 +324,10 @@ allprojects {
331324

332325
<details>
333326
<summary>:information_source: <b>iOS</b></summary>
334-
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+
335331
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
336332
the *ios/UnityLibrary/Unity-Iphone.xcodeproj* file.
337333

example/windows/.gitignore

Lines changed: 0 additions & 17 deletions
This file was deleted.

example/windows/CMakeLists.txt

Lines changed: 0 additions & 95 deletions
This file was deleted.

example/windows/flutter/CMakeLists.txt

Lines changed: 0 additions & 103 deletions
This file was deleted.

example/windows/flutter/generated_plugin_registrant.cc

Lines changed: 0 additions & 14 deletions
This file was deleted.

example/windows/flutter/generated_plugin_registrant.h

Lines changed: 0 additions & 15 deletions
This file was deleted.

example/windows/flutter/generated_plugins.cmake

Lines changed: 0 additions & 24 deletions
This file was deleted.

example/windows/runner/CMakeLists.txt

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)