Baseflow / Baseflow/XamarinMediaManager

CrossMediaManager.Current.Init() exception

Open
#915 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
763
Forks
299
PR merge metrics
No merged PRs in 30d

Description

Hello, I try to use your very promising Nuget library in order to play music from websites, and retrieve music information of current playing song.

I have created a XAML/WPF .NET 7.0 project in Visual Studio, and added the Plugin.MediaManager .v.1.2.2, but I get an exception at CrossMediaManager.Current.Init() in my code, with the following error message:

'This functionality is not implemented in the portable version of this assembly. You should reference the NuGet package from your main application project in order to reference the platform-specific implementation.'

What am I doing wrong/missing?

Many thanks in advance

Per

Sweden

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the Plugin.MediaManager 1.2.2 package references in the reported XAML/WPF .NET 7 project and trace CrossMediaManager.Current.Init(). Verify which platform-specific implementation the application resolves. Done means the initialization no longer throws the portable-assembly exception in the reported setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.