- Install the .NET 9 SDK from https://dotnet.microsoft.com/en-us/download/dotnet/9.0
- Install the .NET MAUI workload by running
dotnet workload install maui
. - If you want to build and test the MAUI app for iOS, install Xcode from the Mac App Store.
- If you want to build and test the MAUI app for Android, install Android Studio, or install the Android SDK, Java JDK, and Android emulator.
-
- Create an application at https://portal.ditto.live. Make note of the app ID and online playground token
- Copy the
.env.sample
file at the top level of the quickstart repo to.env
and add your app ID and online playground token.
These commands will build and run the app on the default iOS target:
cd DittoMauiTasksApp
dotnet build -t:Run -f net9.0-ios
These commands will build and run the app on the default Android target:
cd DittoMauiTasksApp
dotnet build -t:Run -f net9.0-android
Building the MAUI app for platforms other than iOS and Android is not supported by Ditto at this time.