yavsc/src/PostIt
Paul Schneider 214056a3b1 WIP app invite: scaffold MAUI Essentials dependency in shared PostIt
Adds Microsoft.Maui.Essentials package and <UseMaui>true</UseMaui> to
src/PostIt/PostIt/PostIt.csproj so the shared project can compile code
that calls MAUI Essentials APIs (Microsoft.Maui.ApplicationModel.*).

Also adds a draft ContactService that wraps Contacts.Default.GetAllAsync()
behind a runtime platform check and permission request.

WIP caveats:
- The portable MAUI Essentials facade compiles on net10.0 but throws
  NotImplementedInReferenceAssemblyException at runtime when no
  platform-specific MAUI Essentials binary is loaded. A PostIt.Android
  project (or equivalent) must reference the Android MAUI Essentials
  implementation for Contacts.Default.GetAllAsync() to actually work.
- On desktop (Linux/macOS/Windows) the API is unsupported by design;
  ContactService currently throws PlatformNotSupportedException. A
  desktop stub returning Array.Empty<Contact>() is the likely next step.
- No tests yet. The scaffold is unverified at runtime; build passes.
2026-08-18 00:31:26 +01:00
..
PostIt WIP app invite: scaffold MAUI Essentials dependency in shared PostIt 2026-08-18 00:31:26 +01:00
PostIt.Android fixes the compile and timestamps to db 2026-07-11 03:26:13 +01:00
PostIt.Browser Exploiting GitVersion 2026-06-28 14:11:26 +01:00
PostIt.Desktop using Material.Avalonia 2026-07-09 23:28:46 +01:00
Directory.Packages.props WIP app invite: scaffold MAUI Essentials dependency in shared PostIt 2026-08-18 00:31:26 +01:00