An example of how to integrate flutter with .NET MAUI.
- Xcode
- Android Studio
- Visual Studio for Mac or VSCode
- Objective Sharpie
Build and run the project directly. The framework are already build.
Run build.sh in Android.Native to rebuild/modify the binding framework. You can open the binding project with android studio to test. There is an android app there. Copy the jars that are needed to Android.Binding.
Run build.sh in iOS.Native to rebuild/modify the binding framework. Sharpie does make an error but the file is generated correctly. You can open the binding xcodeproj with xcode to test. Copy the xcframework that are neaded to iOS.Binding.
Read the doc to embedded flutter at Add Flutter to an existing app. The command are :
flutter build ios-framework
flutter build aar
The release App.xcframework does not work on the simulator. To make it work replace the ios-arm64_x86_64-simulator part from the debug build. You can do it using flutter_app/build.sh.