Skip to content

Commit aa54cf2

Browse files
authored
Merge branch 'juicycleff:master' into fuw_unity_package
2 parents db41646 + 1a38bb5 commit aa54cf2

File tree

319 files changed

+46066
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

319 files changed

+46066
-0
lines changed

.github/workflows/main.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: genopets
2+
3+
on: [pull_request, push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
12+
- uses: subosito/flutter-action@v2
13+
with:
14+
flutter-version: '3.3.0'
15+
channel: 'stable'
16+
17+
- name: Clean Dependencies
18+
run: flutter clean
19+
20+
- name: Install Dependencies
21+
run: flutter packages get
22+
23+
- name: Format
24+
run: flutter format --set-exit-if-changed lib test
25+
26+
- name: Analyze
27+
run: flutter analyze lib test
28+
29+
- name: Run tests
30+
run: flutter test --no-pub --coverage --test-randomize-ordering-seed random

.metadata

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This file tracks properties of this Flutter project.
2+
# Used by Flutter tool to assess capabilities and perform upgrades etc.
3+
#
4+
# This file should be version controlled and should not be manually edited.
5+
6+
version:
7+
revision: 9b2d32b605630f28625709ebd9d78ab3016b2bf6
8+
channel: stable
9+
10+
project_type: plugin

.vscode/launch.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Run Web",
6+
"request": "launch",
7+
"type": "dart",
8+
"program": "example/lib/main.dart",
9+
"args": [
10+
"--web-renderer",
11+
"canvaskit",
12+
"--web-port",
13+
"42765",
14+
"-d",
15+
"chrome"
16+
]
17+
}
18+
]
19+
}

CHANGELOG.md

Lines changed: 262 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,262 @@
1+
## Pending (master branch only)
2+
* [Android] Fix touch detection when using Unity's New Input System. [#938](https://github.com/juicycleff/flutter-unity-view-widget/pull/938)
3+
* [Android] Workaround for mUnityplayer error in Unity plugins using the AndroidJavaProxy. [#908](https://github.com/juicycleff/flutter-unity-view-widget/pull/908)
4+
* [Android] Add namespace for Android gradle plugin (AGP) 8 compatibility.
5+
* [Android] Fix kotlin compilation error with Flutter 3.24 and newer. [#973](https://github.com/juicycleff/flutter-unity-view-widget/issues/973)
6+
7+
## 2022.2.1
8+
9+
* [iOS] Fix Unity not receiving Lifecycle events on iOS. [#704](https://github.com/juicycleff/flutter-unity-view-widget/pull/704)
10+
* [Android] Remove the white background color to allow Unity transparency like on iOS. [#719](https://github.com/juicycleff/flutter-unity-view-widget/pull/719)
11+
* [Web] Replace webview package to update `webview_flutter` dependency from 2.x to 4.x. [#761](https://github.com/juicycleff/flutter-unity-view-widget/pull/761)
12+
* [Web] Add support for web base not being on the root [#865](https://github.com/juicycleff/flutter-unity-view-widget/pull/865)
13+
14+
## 2022.2.0
15+
16+
* Enable AndroidView due to native view improvement in flutter 3.3.0
17+
18+
## 2022.1.7+1
19+
20+
* **BREAKING-CHANGE**:
21+
* `webUrl` is now removed!
22+
* You don't need to pass webUrl anymore! This plugin is automatically reading it from your `Uri` -> this means that everything is prepared for your Debug and Release Apps!
23+
* Update dependencies
24+
* Override `webview_flutter` to `^2.8.0` (compatible)
25+
26+
## 2022.1.7
27+
28+
* Fix latest Android Build and Run Performance (see [#643](https://github.com/juicycleff/flutter-unity-view-widget/issues/643) -> Thank to: [@timbotimbo](https://github.com/timbotimbo))
29+
* Add iOS Debug and Release Builds
30+
* Add Android Debug and Release Builds
31+
* Fix iOS XCode Settings for Unity < 2020
32+
* Update actual compatibility to Unity 2022.1.7f1
33+
34+
## 2022.1.1+4
35+
36+
* 🌎 Web is now stable 🚀:
37+
* Refactored WebView
38+
* Refactored webUrl -> we are handling now everything for you!
39+
* use now: `webUrl: http://localhost:${Uri.base.port}` (for Debug only)
40+
* for production remember to leave out the last `/` at the end of your url!
41+
* Refactored Interfaces
42+
* Use PointerInterceptor if you need stacked widgets (see `/examples` and Readme)
43+
* Performance Improvements (Communication between HTMLElementView and Flutter)
44+
* 🛠️ Fix Android Crash if you use ARFoundation (ARCore)
45+
* 🛠️ Add updated UnityPackage: `few-2022.1.1-v2.unitypackage` -> use this for latest web and android fixes
46+
47+
## 2022.1.1+3
48+
49+
* Fixed array index range crash on ios
50+
51+
## 2022.1.1+2
52+
53+
* Fixed android screen offset
54+
55+
## 2022.1.1+1
56+
57+
* Fixed issue with unity crashing on ios when screen is pushed into stack
58+
59+
## 2022.1.1
60+
61+
* Fixed issues [#35](https://github.com/juicycleff/flutter-unity-view-widget/pull/595) by [@jamesncl](https://github.com/juicycleff/flutter-unity-view-widget/issues?q=is%3Apr+author%3Ajamesncl)
62+
* Force expensive surface as default for android
63+
64+
## 2022.1.0+6
65+
66+
* Pre Flutter 3.0.0 release
67+
68+
## 2022.1.0+5
69+
70+
* Migrated to Flutter 3.0.0
71+
* Issues with Android with AndroidView now exists
72+
73+
## 2022.1.0+4
74+
75+
* Fixed unity screen turning white on scene load (Android)
76+
77+
## 2022.1.0+2
78+
79+
* Fixed analysis errors
80+
81+
## 2022.1.0+1
82+
83+
* Full support for web
84+
* Fixed android view refocus issue when detached or diposed
85+
86+
## 2022.1.0
87+
88+
* Fixed android freezing with AndroidView
89+
* Fixed FUW export scripts
90+
91+
CHANGELOG.md
92+
93+
## 4.2.5+1
94+
95+
* Removed MultiWindowSupport due to issus on Windows machine export not containing the class
96+
97+
## 4.2.5
98+
99+
* Fixed ios crashing on screen change and on hot reload
100+
101+
## 4.2.4
102+
103+
* Fixed issue with android freezing when screen loses focus
104+
105+
## 4.2.3
106+
107+
* Fixed iOS Run/Build errors: [471](https://github.com/juicycleff/flutter-unity-view-widget/issues/471)
108+
109+
## 4.2.2
110+
111+
* Added support for border radius
112+
* Exposed UI Level for iOS for rendering some UI components ontop of Android
113+
114+
## 4.2.1
115+
116+
* Improved nullsafety
117+
118+
## 4.2.0
119+
120+
* Null safe merged to master
121+
122+
## 4.1.0-null-safe
123+
124+
* Fixed bitcode enabled issue on iOS. [369](https://github.com/juicycleff/flutter-unity-view-widget/issues/369)
125+
126+
## 4.1.0
127+
128+
* Fixed bitcode enabled issue on iOS. [369](https://github.com/juicycleff/flutter-unity-view-widget/issues/369)
129+
130+
## 4.0.2
131+
132+
* Fixing project not compiling though to not overriding class member properly. [@xcxooxl](https://github.com/xcxooxl)
133+
* Removed register-unregister mismatch and removed duplicate calls. [@jakeobrien](https://github.com/jakeobrien)
134+
* Fix for unityDidUnload callback not firing. [@jakeobrien](https://github.com/jakeobrien)
135+
* Docs improvement. [@shinriyo](https://github.com/shinriyo)
136+
137+
## 4.0.1+1
138+
139+
* Fix issue with gestureRecogniser being null
140+
141+
## 4.0.1
142+
143+
* Allow optional use of AndroidView over PlatformViewLink on android
144+
145+
## 4.0.0
146+
147+
* Stable release for v4
148+
149+
## 4.0.0-alpha.4
150+
151+
* Fixed ios method channel ID bug
152+
153+
## 4.0.0-alpha.3
154+
155+
* Small improvements
156+
157+
## 4.0.0-alpha.2
158+
159+
* Fixed communication issues on Android
160+
* Fixed plugin not found on Android
161+
162+
## 4.0.0-alpha.1
163+
164+
* Fixed unload crash on iOS (Requires Unity 2019.4.3 or later)
165+
* Migrated from Objective-c to Swift for iOS
166+
* Migrated from Java to Kotlin on Android
167+
* Fixed issues with channel ID
168+
* Small bug fixes
169+
* Improved iOS performance
170+
* Removed boilerplate code from Android native code
171+
172+
## 3.0.2
173+
174+
* Fixed leaked stream bug
175+
176+
## 3.0.1
177+
178+
* Fixed minor bugs
179+
180+
## 3.0.0
181+
182+
* Lots of breaking changes
183+
* Deprecated APIs
184+
* Fixed [Issue 231](https://github.com/juicycleff/flutter-unity-view-widget/issues/231)
185+
* Fixed [Issue 230](https://github.com/juicycleff/flutter-unity-view-widget/issues/230)
186+
187+
188+
## 2.0.0+2
189+
190+
* fixed some bugs
191+
192+
## 2.0.0+1
193+
194+
* delete duplicated UnityPlayerActivity
195+
196+
## 2.0.0
197+
198+
* Added support for unity scene loaded events [@juicycleff](https://github.com/juicycleff)
199+
* Exposed core unity player api such as quit and unload [@juicycleff](https://github.com/juicycleff)
200+
* Complete rewrite of package to fix bugs [@juicycleff](https://github.com/juicycleff)
201+
* Improved build scripts [@juicycleff](https://github.com/juicycleff)
202+
* Support for large teams with flutter unity cli [@juicycleff](https://github.com/juicycleff)
203+
* Plug and play support for Android [@juicycleff](https://github.com/juicycleff)
204+
205+
## 0.1.6+8
206+
207+
* Breaking change for unityframework iOS
208+
209+
## 0.1.6+7
210+
211+
* Breaking change for unityframework iOS
212+
213+
## 0.1.6+6
214+
215+
* Breaking change for unityframework iOS
216+
217+
## 0.1.6+5
218+
219+
* Reworked onUnityMessage for iOS [@krispypen](https://github.com/krispypen)
220+
221+
## 0.1.6+4
222+
223+
* Improved description
224+
225+
## 0.1.6+3
226+
227+
* Better communication between flutter and unity [@thomas-stockx](https://github.com/thomas-stockx) (Android) & [@krispypen](https://github.com/krispypen) (iOS)
228+
* Fixed issues [#35](https://github.com/snowballdigital/flutter-unity-view-widget/issues/35) by [@thomas-stockx](https://github.com/thomas-stockx)
229+
* Fixed issues [#36](https://github.com/snowballdigital/flutter-unity-view-widget/issues/36) by [@thomas-stockx](https://github.com/thomas-stockx)
230+
* Fixed issues [#33](https://github.com/snowballdigital/flutter-unity-view-widget/issues/33) by [@thomas-stockx](https://github.com/thomas-stockx)
231+
* Fixed issues [#41](https://github.com/snowballdigital/flutter-unity-view-widget/issues/41) by [@thomas-stockx](https://github.com/thomas-stockx)
232+
233+
* Fixed issues [#38](https://github.com/snowballdigital/flutter-unity-view-widget/issues/38) by [@krispypen](https://github.com/krispypen)
234+
* Fixed issues [#56](https://github.com/snowballdigital/flutter-unity-view-widget/issues/38) by [@krispypen](https://github.com/krispypen)
235+
236+
## 0.1.6+2
237+
238+
* Fixed issues with `onUnityMessage` [@thomas-stockx](https://github.com/thomas-stockx)
239+
240+
## 0.1.6+1
241+
242+
* Adding Metal renderer support (on iOS) [@krispypen](https://github.com/krispypen)
243+
244+
## 0.1.6
245+
246+
* iOS support for the Unity 2019.3 new export format Unity as a Library [@krispypen](https://github.com/krispypen)
247+
248+
## 0.1.5
249+
250+
* Android support for the Unity 2019.3 new export format Unity as a Library [@thomas-stockx](https://github.com/thomas-stockx)
251+
252+
## 0.1.4
253+
254+
* Support for AR on Android thanks to [@thomas-stockx](https://github.com/thomas-stockx)
255+
256+
## 0.1.3+4
257+
258+
* Change input source of Flutter touch events so they work in Unity [@thomas-stockx](https://github.com/thomas-stockx)
259+
* Instructions on how to implement Vuforia AR
260+
* Fix postMessage throwing exceptions on Android [@thomas-stockx](https://github.com/thomas-stockx)
261+
* Add video tutorial, replace `unity-player` with `unity-classes` in example [@lorant-csonka-planorama](https://github.com/lorant-csonka-planorama)
262+
* Remove java and UnityPlayer changes to the windowmanager [@thomas-stockx](https://github.com/thomas-stockx)

analysis_options.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
analyzer:

android/.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
*.iml
2+
.gradle
3+
/local.properties
4+
/.idea/workspace.xml
5+
/.idea/libraries
6+
.DS_Store
7+
/build
8+
/captures

0 commit comments

Comments
 (0)