Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

Xamarin components for Experience Cloud Solutions 4.x SDK

This topic describes how to get started using Xamarin components for Mobile solutions 4.x SDK.

Last Updated: January 10, 2019

Getting Started

Important: Adobe Mobile SDK is no longer available in the Xamarin Components Store or in the NuGet Gallery. To download the Xamarin components, go to GitHub.

Android

Import the ADBMobile Component to your Xamarin.Android project:

  1. Open your Xamarin project

  2. Open References dialog and click the .Net Assembly tab.

  3. Select ADBMobile.XamarinAndroidBinding.dll from the lib/Android folder.

  4. Add your ADBMobileConfig.json file to the Assets folder of your project.

  5. Add permissions for:

    • INTERNET
    • ACCESS_NETWORK_STATE
     <uses-permission android:name="android.permission.INTERNET" />
     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  6. If you are using In-app messaging, add the following activity and receiver :

     <activity 
     android:name="com.adobe.mobile.MessageFullScreenActivity" 
     android:theme="@android:style/Theme.Translucent.NoTitleBar" />
     <receiver android:name="com.adobe.mobile.MessageNotificationHandler" />
  7. If you are using acquisition, add the following receiver :

     <receiver android:name="com.your.package.name.GPBroadcastReceiver" android:exported="true">
     <intent-filter>
         <action android:name="com.android.vending.INSTALL_REFERRER" />
     </intent-filter>
     </receiver>

iOS

Import the ADBMobile Component to your Xamarin.iOS project:

  1. Open your Xamarin project.
  2. Open References dialog and click the .Net Assembly tab.
  3. Select ADBMobile.XamarinIOSBinding.dll from the lib/ios-unified folder.
  4. Add your ADBMobileConfig.json file to the project.