-
Notifications
You must be signed in to change notification settings - Fork 29
MAUI
Jihad Khawaja edited this page Mar 31, 2024
·
43 revisions
- dotnet 7.0, You can use Visual Studio 2022 17.4 or higher or install dotnet-7.0 SDK and runtime and use your favorite editor like Visual Studio Code (Required)
- .NET Multi-platform App UI development (MAUI) workload
- MobileChat Client NuGet Package
- Windows 7 or higher
- macOS 11 or higher
- Android 7.0 (API 24) or higher
- iOS 14 or higher
- Inside the solution apply this command in the developer console in Visual Studio when you first launch the project or in a terminal inside project src folder root.
dotnet workload restore
dotnet restore
- Set multiple project startup by right clicking the solution and then properties and select multiple startup project. Select MobileChat.MAUI and MobileChat.Server to start, Position the MobileChat.Server above MobileChat.MAUI to start before it.
- Install the MAUI preview package when installing the Visual Studio 2022 Preview
- Set the Hub Connection URL here
Refer to MudBlazor docs for components documentation.
Refer to MudBlazor customization for theming documentation. You can change it in the MainLayout
- If you couldn't deploy the application make you sure you uninstall the old one and then try again and check the deploy option in the build configuration manager.
- Can't connect on the Android emulator device? Make sure you use your IPv4 address instead of "localhost" on the Server (launchSettings.json -> applicationUrl) and Client (Source.cs -> HubConnectionURL) and android:usesCleartextTraffic="true" exist in your android manifest.xml here