# flutnet-xamarin-libs **Repository Path**: jojonb/flutnet-xamarin-libs ## Basic Information - **Project Name**: flutnet-xamarin-libs - **Description**: Flutnet=Xamarin+Flutter - **Primary Language**: C# - **License**: GPL-3.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-07-23 - **Last Updated**: 2024-06-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Flutnet Runtime Libraries [](https://www.gnu.org/licenses/lgpl-3.0) | Flutnet.Android | Flutnet.iOS | | ----------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | | [](https://www.nuget.org/packages/Flutnet.Android/) | [](https://www.nuget.org/packages/Flutnet.iOS/) | This repository holds the class libraries that allow the communication between Flutter and Xamarin inside a Xamarin.Android or Xamarin.iOS project. The main components for initializing and managing this communication layer are the [FlutnetRuntime](https://www.flutnet.com/Documentation/Reference/Flutnet-Runtime) and the [FlutnetBrigde](https://www.flutnet.com/Documentation/Reference/Flutnet-Bridge) classes. For more information on the overall architecture please read through the [Flutnet documentation](https://www.flutnet.com/Documentation/Introduction/Flutnet-Architecture). These libraries are published on [NuGet Gallery](https://www.nuget.org/) with the names [Flutnet.Android](https://www.nuget.org/packages/Flutnet.Android/) and [Flutnet.iOS](https://www.nuget.org/packages/Flutnet.iOS/). - [What is Flutnet?](#what-is-flutnet) - [System requirements](#system-requirements) - [Building procedure](#building-procedure) - [Sample app](#sample-app) - [Contributing](#contributing) - [License](#license) ## What is Flutnet? Flutnet is a set of tools and libraries that allows you to create rich and beautiful Xamarin apps using [Flutter](https://flutter.dev/) as UI Layer and .NET as backend. For more details please visit https://www.flutnet.com/.
## Building procedure
1. [Build the source projects](#build-the-source-projects)
2. [Create the NuGet packages](#create-the-nuget-packages)
3. [(optionally) Build using custom _Flutnet.Interop_ packages](#optionally-build-using-custom-flutnetinterop-packages)
### Build the source projects
The following script will build all the projects within the `Flutnet.sln` solution, restoring all the required NuGet packages:
- `src/Flutnet.Android`
- `src/Flutnet.iOS`
- `src/Flutnet.ServiceModel`
```sh
scripts/build-src.sh
```
>You can always compile the .sln file in a IDE. Please make sure to build `Release` configuration before moving on to the next step.
### Create the NuGet packages
Once the Xamarin bindings have been built, run the following script to create the corresponding NuGet packages:
```sh
scripts/pack.sh
```
All the packages will be placed into `artifacts/nuget-packages/` folder.
### (optionally) Build using custom _Flutnet.Interop_ packages
The projects in this repository reference by default the _Flutnet.Interop_ packages that are published on NuGet Gallery. If you want these projects to reference your own bindings (i.e. local NuGet packages that you built on your own), please edit the `NuGet.Config` files and/or the `