MAUI NET10, Visual Studio 2026, Joya Touch Cradle control

Hello,

I’am building an app for the Joya Touch 22. This app needs to detect if the Joya is docked in its cradle and be able to perform an unlock.

I’ve used nuget package ‘datalogic-xamarin-sdk’ version 1.46.0 to do this, but it was quite a struggle to implement this. Its working now but I had to use deprecated properties and methods: DLCradleManager.Instance, InsertionState, SetLeverStatus.

I still don’t know the ‘right’ way to do this, the documentation Namespaces talks about namespace which do not exist in the NuGet package. There was a namespace ‘Com.Datalogic.Cradle’ where I discovered the deprecated props and methods.

There is also a reference to a github project xamarin-samples with solution ‘JoyaTouchCradleSampleAPI’, but Visual Studio 2026 doesn’t support Xamarin anymore.

I would really appriciate if you can add a sample to github project xamarin-samples with a MAUI solution which demonstrates the correct way to use the NuGet package ‘datalogic-xamarin-sdk’.

Best regards,

Hi,

Have you tried using the Modernize option and the Copilot chat within the project? In VS 2022 I updated the decodeListener sample to .NET MAUI using that approach, and it was very straightforward to reach the goal of testing on .NET MAUI.

Best regards