Skip to content
Jihad Khawaja edited this page Mar 31, 2024 · 43 revisions

Documentation

Requirements

Dependencies

Supported Platforms

  • Windows 7 or higher
  • macOS 11 or higher
  • Android 7.0 (API 24) or higher
  • iOS 14 or higher

Usage

Solution (.sln)

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

Client

  1. Install the MAUI preview package when installing the Visual Studio 2022 Preview
  2. Set the Hub Connection URL here

UI Components

Refer to MudBlazor docs for components documentation.

Theme

Refer to MudBlazor customization for theming documentation. You can change it in the MainLayout

Common Issues

  • 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

Discord

Join the Discord server to get updates, ask questions or send a feedback.

Clone this wiki locally