Skip to content

Commit e740b1a

Browse files
committed
merged from temp repo
1 parent adbcd8c commit e740b1a

File tree

232 files changed

+8768
-52359
lines changed

Some content is hidden

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

232 files changed

+8768
-52359
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## 2.0.0
2+
3+
* Added support for unity scene loaded events [@juicycleff](https://github.com/juicycleff)
4+
* Exposed core unity player api such as quit and unload [@juicycleff](https://github.com/juicycleff)
5+
* Complete rewrite of package to fix bugs [@juicycleff](https://github.com/juicycleff)
6+
* Improved build scripts [@juicycleff](https://github.com/juicycleff)
7+
* Support for large teams with flutter unity cli [@juicycleff](https://github.com/juicycleff)
8+
* Plug and play support for Android [@juicycleff](https://github.com/juicycleff)
9+
110
## 0.1.6+8
211

312
* Breaking change for unityframework iOS

README.md

+103-91
Large diffs are not rendered by default.

android/.idea/gradle.xml

+5-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/.idea/misc.xml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/.idea/modules.xml

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/build.gradle

+21-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
group 'com.rexraphael.flutterunitywidget'
2-
version '1.0-SNAPSHOT'
1+
group 'com.xraph.plugins.flutterunitywidget'
2+
version '1.1-SNAPSHOT'
33

44
buildscript {
55
repositories {
@@ -8,14 +8,22 @@ buildscript {
88
}
99

1010
dependencies {
11-
classpath 'com.android.tools.build:gradle:3.4.1'
11+
classpath 'com.android.tools.build:gradle:3.4.3'
1212
}
1313
}
1414

1515
rootProject.allprojects {
1616
repositories {
1717
google()
1818
jcenter()
19+
20+
// DO NOT MODIFY
21+
// BUILD_ADD_UNITY_LIBS
22+
23+
// FOR DEV ONLY
24+
flatDir {
25+
dirs "libs"
26+
}
1927
}
2028
}
2129

@@ -25,16 +33,22 @@ android {
2533
compileSdkVersion 28
2634

2735
defaultConfig {
28-
minSdkVersion 16
36+
minSdkVersion 19
2937
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
3038
}
3139
lintOptions {
3240
disable 'InvalidPackage'
3341
}
3442
}
3543

44+
def lifecycle_version = '2.2.0'
45+
3646
dependencies {
37-
implementation project(':UnityExport')
38-
//Remember to add unity jar from unity export as a module dependency and add the module below
39-
implementation project(':unity-classes')
47+
implementation project(':unityLibrary')
48+
implementation(name: 'unity-classes', ext:'jar')
49+
implementation "androidx.lifecycle:lifecycle-common:$lifecycle_version"
50+
implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycle_version"
51+
52+
// FOR DEV ONLY
53+
// implementation(name: 'flutter', ext:'jar')
4054
}

android/libs/flutter.jar

10.6 MB
Binary file not shown.

android/libs/unity-classes.jar

11.8 KB
Binary file not shown.

android/src/main/AndroidManifest.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.rexraphael.flutterunitywidget">
2+
package="com.xraph.plugins.flutterunitywidget">
33
</manifest>

android/src/main/java/com/rexraphael/flutterunitywidget/FlutterUnityView.java

-142
This file was deleted.

android/src/main/java/com/rexraphael/flutterunitywidget/FlutterUnityViewFactory.java

-36
This file was deleted.

android/src/main/java/com/rexraphael/flutterunitywidget/FlutterUnityWidgetPlugin.java

-13
This file was deleted.

android/src/main/java/com/rexraphael/flutterunitywidget/UnityEventListener.java

-5
This file was deleted.

0 commit comments

Comments
 (0)