Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkatz6 authored Sep 21, 2023
1 parent 881009f commit 432d015
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ This repository contains source code for the integration of Avalonia and MAUI fr
### Using MAUI Essentials inside of the Avalonia app

1. Follow the same steps as in [Embedding MAUI controls inside of the Avalonia app](#embedding-maui-controls-inside-of-the-avalonia-app) except the last one.
2. Now you can call Essentials API from Avalonia code:
2. Depending on MAUI version, you might need to add `<UseMauiEssentials>true</UseMauiEssentials>` to your csproj file as well.
3. Now you can call Essentials API from Avalonia code:
```csharp
private async void Button_OnClick(object? sender, RoutedEventArgs e)
{
Expand Down

0 comments on commit 432d015

Please sign in to comment.