.NET MAUI on the WebRun your MAUI app in the browser on WebAssembly - real DOM elements, no Blazor. Try the web sample and the .NET MAUI GalleryRun your MAUI app in the browser on WebAssembly - real DOM elements, no Blazor. Try the web sample and the .NET MAUI GalleryGet started
.NET MAUI on Apple TVNative UIKit views driven by the Siri Remote and the tvOS focus engineNative UIKit views driven by the Siri Remote and the tvOS focus engineGet started
Universal Hubs Hubs - The SignalR but with transports for Bluetooth, HTTP/Network, & Peer Nearby Connectivity - ULTRA Comms for your appsHubs - The SignalR but with transports for Bluetooth, HTTP/Network, & Peer Nearby Connectivity - ULTRA Comms for your appsLet's Communicate
Controls 3.0MAUI & Blazor NET11 SupportMAUI & Blazor NET11 Support
The game center bridge gives the page the platform’s game service: Apple Game Center on iOS, Mac Catalyst and
macOS, and Google Play Games Services v2 on Android. It’s built on Shiny.GameCenter. Unlocks,
progress and scores are recorded on the device first and sent once the player is signed in and online, so a page can
record them offline without retrying.
The page names achievements and leaderboards by these keys, so it never carries App Store Connect or Play Console ids.
A key that isn’t registered goes to the service as a platform id. Incremental achievements must be registered with
the step count set in the Play Console, because Apple counts progress as a percentage and the device converts it. An app
that already calls services.AddGameCenter(…) keeps its registration, and the options passed to the bridge are not used.
Platform setup is Shiny.GameCenter’s: the Game Center entitlement and capability on Apple, and the Play Games
APP_ID and signing-key SHA-1s on Android. See Shiny.GameCenter.
unlock, progress, increment, reveal and scores never fail because the player is offline or signed out. They
are stored on the device, kept across restarts, and sent after sign-in or when connectivity returns. Progress is an
absolute step count, so a retry never counts twice, and progress never goes backwards. GET games reports how many
items are still waiting in pendingCount; POST games/flush sends them now and answers the new status.
Reading — achievements, scores and friends — needs a signed-in player and answers 401 not_authenticated otherwise.
Shiny signs the player in silently at launch. POST games/signin shows the service’s sign-in UI when it’s needed and
answers { player }, which is null when the player declines. On Apple, after repeated cancels Game Center stops
offering its sheet, and the player has to sign in from Settings. games.player fires whenever the player signs in,
signs out or switches accounts.
GET games/friends asks for consent the first time. Apple shows a one-time prompt, and needs
NSGKFriendListUsageDescription in Info.plist. Google shows a dialog and answers ConsentRequested: ask again once the
player is back in the app.
Null when the player declined — or, on Apple, when Game Center has stopped offering its sheet after repeated cancels, and the player has to sign in from Settings.
The player's friends who can see this game, asking for consent the first time. Apple needs NSGKFriendListUsageDescription in Info.plist. Google shows a dialog and answers ConsentRequested: ask again when the player is back.
Sends what is queued now and answers with what is left. It runs on its own after every change, at sign-in and when connectivity returns, so call it only to wait for the queue to drain.
Null when the player declined — or, on Apple, when Game Center has stopped offering its sheet after repeated cancels, and the player has to sign in from Settings.