Expand my Community achievements bar.

SOLVED

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 Accepted Solution

Avatar

Correct answer by
Community Advisor

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:

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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:

Avatar

Level 1

Hi, This link leading to 404 page, could you please share us the correct link to get the dependency files.