Replace Xamarin.Essentials with .NET MAUI Essentials

This commit is contained in:
Salman Ahmed 2022-12-12 01:26:13 +03:00
parent 467e879021
commit c900965a82
2 changed files with 2 additions and 4 deletions

View File

@ -5,6 +5,7 @@
using System; using System;
using Foundation; using Foundation;
using Microsoft.Maui.Devices;
using osu.Framework.Graphics; using osu.Framework.Graphics;
using osu.Framework.Input.Handlers; using osu.Framework.Input.Handlers;
using osu.Framework.iOS.Input; using osu.Framework.iOS.Input;
@ -12,7 +13,6 @@ using osu.Game;
using osu.Game.Overlays.Settings; using osu.Game.Overlays.Settings;
using osu.Game.Updater; using osu.Game.Updater;
using osu.Game.Utils; using osu.Game.Utils;
using Xamarin.Essentials;
namespace osu.iOS namespace osu.iOS
{ {

View File

@ -4,6 +4,7 @@
<SupportedOSPlatformVersion>13.4</SupportedOSPlatformVersion> <SupportedOSPlatformVersion>13.4</SupportedOSPlatformVersion>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<MtouchUseLlvm>false</MtouchUseLlvm> <!-- This currently causes random lockups during gameplay. https://github.com/mono/mono/issues/18973 --> <MtouchUseLlvm>false</MtouchUseLlvm> <!-- This currently causes random lockups during gameplay. https://github.com/mono/mono/issues/18973 -->
<UseMauiEssentials>true</UseMauiEssentials>
</PropertyGroup> </PropertyGroup>
<Import Project="..\osu.iOS.props" /> <Import Project="..\osu.iOS.props" />
<ItemGroup> <ItemGroup>
@ -13,7 +14,4 @@
<ProjectReference Include="..\osu.Game.Rulesets.Osu\osu.Game.Rulesets.Osu.csproj" /> <ProjectReference Include="..\osu.Game.Rulesets.Osu\osu.Game.Rulesets.Osu.csproj" />
<ProjectReference Include="..\osu.Game.Rulesets.Taiko\osu.Game.Rulesets.Taiko.csproj" /> <ProjectReference Include="..\osu.Game.Rulesets.Taiko\osu.Game.Rulesets.Taiko.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<PackageReference Include="Xamarin.Essentials" Version="1.7.0" />
</ItemGroup>
</Project> </Project>