/MauiFlutterBinding

An example of how to integrate flutter with .NET MAUI.

Primary LanguageObjective-CMIT LicenseMIT

Maui Flutter Binding

An example of how to integrate flutter with .NET MAUI.

Table of contents

Requirements

Usage

.NET MAUI

Build and run the project directly. The framework are already build.

Android Binding

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.

iOS 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.

Flutter build

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.

More