-
Notifications
You must be signed in to change notification settings - Fork 693
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
ProximityDevice NFC events not triggered / NFC doesn't work at all #9358
Comments
Because anything under the Windows namespace is a Windows feature, then I would think that it would be faster to obtain support elsewhere. This would be a Windows issue after all. |
Hi @DarranRowe, thank you for your quick reply. It's the Windows namespace, but as I understand it, exclusively as part of the Windows Runtime. I assumed that when it comes to UWP and WinUI apps then this would be the correct place to go. At least it can't be https://github.com/dotnet/runtime |
For questions, the Microsoft Q&A site is the better option here. The C# and Universal Windows Platform (UWP) tags would help round things down. Regarding whether this is the correct place to report it. You have to remember that WinUI 3 is just a library that is loaded into a desktop application. This repository only covers anything under the Microsoft.UI.Xaml namespace (and related namespaces like Microsoft.UI.Composition and Microsoft.UI.Content). Windows.Networking.Proximity.ProximityDevice falls outside of this scope, even if it is being used in a WinUI 3 application. |
Let's track this via microsoft/WindowsAppSDK#4356. |
Describe the bug
We have an app that we migrated from UWP to WinUI 3 a while ago.
Unfortunately, we discovered that with the WinUI 3 app the ProximityDevice NFC feature no longer triggers events / no longer works at all.
We use simple code that can be found in many examples and have set
<DeviceCapability Name="proximity"/>
this works in UWP and doesn't work in WinUI3
See min Repo examples
Works: https://github.com/minze-it/BlankProximityUWP
Doesn't work: https://github.com/minze-it/BlankProximityMaui
Steps to reproduce the bug
Expected behavior
SubscribeForMessage delegate handler is invoked
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.4.5: 1.4.240411001
Windows version
Windows 11 (22H2): Build 22621, Windows 11 (21H2): Build 22000
Additional context
Also tested with 1.5 p1. No difference
The text was updated successfully, but these errors were encountered: