Skip to content

A Flutter project to run flutter_unity_widget on Android without any Unity setup. Intended for reproducing platformview bugs.

Notifications You must be signed in to change notification settings

timbotimbo/flutter_fuw_reproduction_android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter_fuw_reproduction_android

A Flutter project to run flutter_unity_widget on Android without any Unity setup. Intended for reproducing platformview bugs.

Project creation

Project created using flutter create using flutter 3.13.9.

  • pubspec.yaml and main.dart wer modified to include the flutter_unity_widget.
  • The unity export script modified android/settings.gradle
+ include ":unityLibrary"
+ project(":unityLibrary").projectDir = file("./unityLibrary")

and android/app/build.gradle

+ dependencies {
+    implementation project(':unityLibrary')
+ }

The android/unityLibrary folder contains an export made from Unity using flutter_unity_widget.
Normally this folder should be ignored in git, but in this repo it is deliberately included to be able to run this example without having to use the Unity software.

The export was made using the (outdated) Unity version 2019.4.40.
This is the last Unity version that precompiles the export, which make distribution much easier.

The unity project is currently omitted to reduce the repo size.

About

A Flutter project to run flutter_unity_widget on Android without any Unity setup. Intended for reproducing platformview bugs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published