.NET MAUI Example App
A comprehensive .NET MAUI application demonstrating all Apptrove SDK features.
Overview
The MAUI SDK Simulator showcases:
- Complete SDK integration
- Cross-platform support (Android & iOS)
- Production-ready C# code
- Comprehensive logging
Features Demonstrated
| Feature | Description |
|---|---|
| SDK Initialization | Environment config, ATT, SKAdNetwork |
| Event Tracking | Built-in, custom, and revenue events |
| Deep Linking | Simple and deferred deep links |
| Push Notifications | FCM (Android) and APN (iOS) tokens |
| Uninstall Tracking | Firebase Analytics integration |
Quick Start
1. Clone Repository
git clone https://github.com/ApptroveLabs/maui-simulator.git
cd maui-simulator
2. Configure SDK
Update App.xaml.cs:
var config = new AppTroveSDKConfig("YOUR_SDK_KEY", AppTroveEnvironment.Development);
3. Build and Run
# Android
dotnet build -f net10.0-android
# iOS (macOS only)
dotnet build -f net10.0-ios
Repository Structure
maui-simulator/
├── App.xaml.cs # SDK initialization
├── Pages/
│ ├── HomePage.xaml # Main dashboard
│ ├── BuiltInEventsPage.xaml # Built-in event tracking
│ ├── CustomEventsPage.xaml # Custom event tracking
│ ├── DeepLinkingPage.xaml # Deep link testing
│ ├── ProductPage.xaml # Product display
│ ├── AddToCartPage.xaml # Cart functionality
│ └── CakePage.xaml # Product detail
├── Platforms/
│ ├── Android/
│ │ ├── MainActivity.cs # Deep link handling
│ │ └── AndroidManifest.xml
│ └── iOS/
│ ├── AppDelegate.cs # Deep link handling
│ ├── Info.plist
│ └── Entitlements.plist
└── MauiSdkSimulator.csproj
Support
- Email: support@trackier.com
- Issues: GitHub Issues