You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most of the time, the conditional compilation directives are enough, and those are the ones provided by Xamarin, by default: __ANDROID__, __IOS__. For Wasm, it's defined manually as __WASM__ until nuget supports it properly.
Just answers the second issue for compiler directives... regarding the first question, it would be quite cool if you could add support for Windows.System.Profile.AnalyticsInfo, providing information about the OS and it's version.
DeviceFamily for example holds "Windows.Mobile", "Windows.Xbox" and so on. Why not add adding "Android" or even "Android.Mobile" there?
Activity
jeromelaban commentedon Jun 28, 2018
Most of the time, the conditional compilation directives are enough, and those are the ones provided by Xamarin, by default:
__ANDROID__,__IOS__. For Wasm, it's defined manually as__WASM__until nuget supports it properly.Also, part of the information can be found here in RuntimeInformation
queequac commentedon Jul 6, 2018
Just answers the second issue for compiler directives... regarding the first question, it would be quite cool if you could add support for
Windows.System.Profile.AnalyticsInfo, providing information about the OS and it's version.DeviceFamily for example holds "Windows.Mobile", "Windows.Xbox" and so on. Why not add adding "Android" or even "Android.Mobile" there?
davidjohnoliver commentedon Oct 6, 2020
This has been implemented! (#1970 and #2574)
Merge pull request unoplatform#74 from unoplatform/pj/fix-gtk
chore: MOAR LOGGING
chore: MOAR LOGGING