Expand my Community achievements bar.

Nomination window for the Adobe Community Advisor Program, Class of 2025, is now open!

Looking for guidance/example/documentation on .NET/C# mobile apps for Adobe Mobile SDK implementation

Avatar

Level 2

We've completed initial Adobe Mobile SDK configuration, including push notification setup, but still looking for how best to set/map our mobile app code as it is in a different language (C#) than any available documentation and sample code. Is there any available examples/documentation for Maui/.NET? Thanks. 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Level 7

To integrate Adobe Mobile SDK with a .NET MAUI app, follow these steps:

  1. Adobe SDK Setup: Ensure your Adobe Mobile SDK is configured with the necessary services (Analytics, Target, Push Notifications).

  2. Create Platform-Specific Code:

    • Use Xamarin.iOS and Xamarin.Android bindings to integrate Adobe SDK into the native iOS and Android platforms.
    • Create interfaces in C# (e.g., IAdobeAnalyticsService) and implement them using platform-specific code.
  3. Push Notification: Follow platform-specific guidelines to integrate push notifications (using Firebase for Android, APNs for iOS).

  4. Dependency Service: Use MAUI's dependency service to call the native Adobe SDK methods in your shared C# code.

  5. Test and Debug: Test on both platforms to ensure proper integration and functionality.

For more details: