Skip to content

ricardoarchive/xamarin-salesforce-dmp-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Salesforce DMP SDK for Xamarin

Xamarin.Android binding library for Salesforce DMP SDK.

For more information on Salesforce DMP SDK see the Android documentation reference.

This binding library is available on Nuget.

Sample

The SDK require 3 permissions:

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>

Those permissions have been added in the package and will be automatically set in your manifest on build.

You will also need to manually a service registration in your manifest:

<service android:name="com.krux.androidsdk.aggregator.EventPublisherService" android:enabled="true" />

If you are using proguard, add those lines:

-dontwarn javax.annotation.**
-dontwarn sun.misc.Unsafe

For implementation, see the Ricardo.Salesforce.DMP.Android.Sample project.

License

  • xamarin-salesforce-dmp-android is licensed under MIT