Supported platforms
Beta. The Gleap C# SDK is published as a pre-release (
0.1.0-beta.1). Expect the odd
change before the stable 1.0 release.🏗 Installation
The MAUI binding ships as theGleap.Maui package (it reuses the shared Gleap.Core engine). MAUI supplies persistence (Preferences) and device metadata (DeviceInfo); you supply the native WebView bridge for each platform.
Requirements
- The
mauiworkload — install withdotnet workload install maui. - The platform SDKs for the targets you build (Android SDK / Xcode for iOS & MacCatalyst).
Add the package
--prerelease flag is required while the SDK is in beta. This pulls in the shared Gleap.Core engine automatically.
Configure the SDK
Gleap renders the web widget in a native WebView. Provide aGleapSDK.Bridge.IWebViewChannel over your MAUI WebView (a MauiWebViewChannel is included), then attach Gleap and initialize the session:
Gleap.StartConversation(), Gleap.TrackEvent(...), …).
Congratulations 🎉 You are all set 👋
Platform notes
- The one piece you wire per platform is the WebView bridge: iOS/MacCatalyst post to
window.webkit.messageHandlers.gleapCallback, Android exposesGleapJSBridge.gleapCallback, and Windows reuses the WebView2 channel. See the SDK README for the exact wiring. - Screenshots / replays depend on the WebView host and are not captured natively on every target yet.
- The
net10.0-windowstarget only builds on Windows; the mobile targets require their platform SDKs.