-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
This issue has been moved from a ticket on Developer Community.
Testing with a MAUI RC2 project in VS4Mac 2022 Preview (build 8754)
Simply in the MainPage class I am trying to debug the result of bleService.GetPlatform(). This should be a string of android, ios or windows.
If I hover over this variable to have the IDE tell me what it is it says it is null. This is also confirmed in the locals pane. However when I output the variable (as I do in the line above) I can see from the output panel that the variable is ios as expected.
Sample project I was using.
OpenOWDiag.zip
In this sample I was targeting a macOS build. In this specific case I am expecting my result to be ios even though this is macOS. However I don’t expect this to be the cause of the problem. I also tested to iOS simulator (I did need to delete iOS/BLEService.cs to build). Debugging on an Android phone worked as expected.
Original Comments
Feedback Bot on 5/7/2022, 02:04 AM:
(private comment, text removed)
Original Solutions
(no solutions)
