flutter_unity_widget ARKIT DEMO
Demonstrates how to use the flutter_unity_widget plugin with Unity3D ARKIT using the Unity Foundation Demo.
Run the sample on Android
- Open the
unityproject and build it: Menu -> Flutter -> Export Android
android/unity-classes/unity-classes.jarand overwrite the existing file. You only need to do this each time you use a different Unity version.
Run the sample on iOS
unityproject and build it: Menu -> Flutter -> Export iOS
Be sure you use at least Unity version 2019.3 or up.
open ios/Runner.xcworkspace (workspace!, not the project) in Xcode and add the exported project in the workspace root (with a right click in the Navigator, not on an item -> Add Files to “Runner” -> add the UnityExport/Unity-Iphone.xcodeproj file
Select the Unity-iPhone/Data folder and change the Target Membership for Data folder to UnityFramework