Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maui support? #122

Open
TheSundayDev opened this issue Jun 17, 2024 · 9 comments
Open

Maui support? #122

TheSundayDev opened this issue Jun 17, 2024 · 9 comments

Comments

@TheSundayDev
Copy link

Hi all,
just to know if there will be support also for .net MAUI.
thanks

@atkinsonbg
Copy link

atkinsonbg commented Jul 24, 2024

I'm using this now in a Maui app and its working great. This is what I'm seeing to date:

  • Macos: Works on the iOS Simulator
  • Macos: Works on the Android emulator
  • Windows 11: Android emulator does not seem to support multicast here, so it is not working, but I don't think its a package issue

@TheSundayDev
Copy link
Author

hi,
thanks for your answer.
are you using version 4.0.4?
I'm not able to install it in the maui project.

@atkinsonbg
Copy link

atkinsonbg commented Jul 24, 2024

Yes, 4.0.4, and using .NET 8.0.100

Here are my packages (not all of them, but these are the Maui ones):

<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.20" />
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.20" />
<PackageReference Include="Microsoft.Maui.Controls.Core" Version="8.0.20" />
<PackageReference Include="Rssdp" Version="4.0.4" />

@TheSundayDev
Copy link
Author

hi,
my errors here:
NU1605: Warning As Error: Detected package downgrade: System.Collections from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Primitives 4.0.11 -> runtime.unix.System.Net.Primitives 4.3.0 -> System.Collections (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Collections (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Resources.ResourceManager from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Primitives 4.0.11 -> runtime.unix.System.Net.Primitives 4.3.0 -> System.Resources.ResourceManager (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Resources.ResourceManager (>= 4.0.1)
NU1605: Warning As Error: Detected package downgrade: System.Runtime.Extensions from 4.3.0 to 4.1.0. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Primitives 4.0.11 -> runtime.unix.System.Net.Primitives 4.3.0 -> System.Runtime.Extensions (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Runtime.Extensions (>= 4.1.0)
NU1605: Warning As Error: Detected package downgrade: System.Threading from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Primitives 4.0.11 -> runtime.unix.System.Net.Primitives 4.3.0 -> System.Threading (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Threading (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Collections from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Collections (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Collections (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Diagnostics.Debug from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Diagnostics.Debug (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Diagnostics.Debug (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Net.Primitives from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Net.Primitives (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Net.Primitives (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Resources.ResourceManager from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Resources.ResourceManager (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Resources.ResourceManager (>= 4.0.1)
NU1605: Warning As Error: Detected package downgrade: System.Runtime.Extensions from 4.3.0 to 4.1.0. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Runtime.Extensions (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Runtime.Extensions (>= 4.1.0)
NU1605: Warning As Error: Detected package downgrade: System.Threading from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Threading (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Threading (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Text.Encoding.Extensions from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.IO.FileSystem 4.3.0 -> runtime.unix.System.IO.FileSystem 4.3.0 -> System.Text.Encoding.Extensions (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Text.Encoding.Extensions (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Collections from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Primitives 4.0.11 -> runtime.win.System.Net.Primitives 4.3.0 -> System.Collections (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Collections (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Resources.ResourceManager from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Primitives 4.0.11 -> runtime.win.System.Net.Primitives 4.3.0 -> System.Resources.ResourceManager (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Resources.ResourceManager (>= 4.0.1)
NU1605: Warning As Error: Detected package downgrade: System.Runtime.Extensions from 4.3.0 to 4.1.0. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Primitives 4.0.11 -> runtime.win.System.Net.Primitives 4.3.0 -> System.Runtime.Extensions (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Runtime.Extensions (>= 4.1.0)
NU1605: Warning As Error: Detected package downgrade: System.Threading from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Primitives 4.0.11 -> runtime.win.System.Net.Primitives 4.3.0 -> System.Threading (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Threading (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Collections from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.win.System.Net.Sockets 4.3.0 -> System.Collections (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Collections (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Diagnostics.Debug from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.win.System.Net.Sockets 4.3.0 -> System.Diagnostics.Debug (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Diagnostics.Debug (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Net.Primitives from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.win.System.Net.Sockets 4.3.0 -> System.Net.Primitives (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Net.Primitives (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Resources.ResourceManager from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.win.System.Net.Sockets 4.3.0 -> System.Resources.ResourceManager (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Resources.ResourceManager (>= 4.0.1)
NU1605: Warning As Error: Detected package downgrade: System.Runtime.Extensions from 4.3.0 to 4.1.0. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.win.System.Net.Sockets 4.3.0 -> System.Runtime.Extensions (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Runtime.Extensions (>= 4.1.0)
NU1605: Warning As Error: Detected package downgrade: System.Threading from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.win.System.Net.Sockets 4.3.0 -> System.Threading (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Threading (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Text.Encoding.Extensions from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.win.System.Net.Sockets 4.3.0 -> System.IO.FileSystem 4.3.0 -> runtime.win.System.IO.FileSystem 4.3.0 -> System.Text.Encoding.Extensions (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Text.Encoding.Extensions (>= 4.0.11)
Package restore failed. Rolling back package changes for 'MyApp'.

@TheSundayDev
Copy link
Author

hi all,
Someone can help me?
thanks

@atkinsonbg
Copy link

Can you post all your PackageReferences from your csproj?

@TheSundayDev
Copy link
Author

Hi,
thanks for your answer.
here the list

<ItemGroup>
	<PackageReference Include="AWSSDK.CognitoIdentityProvider" Version="3.7.402.1" />
	<PackageReference Include="ColorPicker.Maui" Version="1.0.0" />
	<PackageReference Include="CommunityToolkit.Maui" Version="9.0.2" />
	<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
	<PackageReference Include="CsvHelper" Version="33.0.1" />
	<PackageReference Include="FirebaseDatabase.net" Version="4.2.0" />
	<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.80" />
	<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.80" />
	<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />
	<PackageReference Include="Microsoft.Maui.Controls.Core" Version="8.0.80" />
	<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
	<PackageReference Include="plist-cil" Version="2.2.0" />
	<PackageReference Include="Plugin.InAppBilling" Version="7.1.3" />
	<PackageReference Include="Plugin.LocalNotification" Version="11.1.4" />
	<PackageReference Include="Plugin.NFC" Version="0.1.26" />
	<PackageReference Include="Plugin.StoreReview" Version="6.2.0" />
	<PackageReference Include="sqlite-net-pcl" Version="1.8.116" />
	<PackageReference Include="SQLitePCLRaw.bundle_green" Version="2.1.9" />
	<PackageReference Include="SQLitePCLRaw.provider.dynamic_cdecl" Version="2.1.9" />
	<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.0.1" />
	<PackageReference Include="TimeZoneConverter" Version="6.1.0" />
	<PackageReference Include="VideoLAN.LibVLC.Android" Version="3.5.3" />
	<PackageReference Include="VideoLAN.LibVLC.iOS" Version="3.3.18" />
	<PackageReference Include="Xamarin.Build.Download" Version="0.11.4" />
	<PackageReference Include="Xamarin.Firebase.iOS.Analytics" Version="8.10.0.3" />
	<PackageReference Include="Xamarin.Firebase.iOS.CloudMessaging" Version="8.10.0.3" />
	<PackageReference Include="Xamarin.Firebase.iOS.RemoteConfig" Version="8.10.0.3" />
</ItemGroup>

@TheSundayDev
Copy link
Author

Hi all,
any news on this topic?
thanks a lot!

@TheSundayDev
Copy link
Author

fixed installing all required packages.
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants