This website is no longer maintained. Please, visit documentation.indigitall.com to read our updated documentation.
EN |
ESQuick Guide to Integration of the Xamarin SDK.
It is important since the project contains the configuration data of your application, that is, the domain where your website is hosted, the safari or iOS certificates or the firebase key that android uses. It all depends on the platforms (web or app) that the project uses.
This article shows the minimum development that must be done to start registering devices and being able to carry out the first push campaigns.
Our SDK is vailable through NuGet.
NuGet it is a package management system. It consists of a command line client and an online database of public and private packages.
To add our SDK to your project through NuGet you have to look for the Com.Indigitall.Xamarin package.
Add this package to your project (PCL, Android and iOS) as follows:
This integration has been done with the IDE Visual Studio.
You can see it in this tutorial video or read the instructions below:
<manifest ...>
<!-- ... -->
<!-- START indigitall permissions -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<!-- END indigitall permissions -->
<application ...>
<!-- ... -->
<!-- START indigitall services -->
<service android:name="com.indigitall.android.services.StatisticService" />
<service android:name="com.indigitall.android.services.NightService" />
<receiver android:name="com.indigitall.android.receivers.BootReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
<receiver android:name="com.indigitall.android.receivers.LocationReceiver">
<intent-filter>
<action android:name="LocationReceiver.Action.LOCATION_UPDATE" />
</intent-filter>
</receiver>
<service android:name="com.indigitall.android.services.FirebaseMessagingService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<meta-data android:name="indigitall.color" android:resource="@color/colorprimary" />
<meta-data android:name="indigitall.icon" android:resource="@mipmap/launcher_foreground" />
<!-- END indigitall services -->
</application>
</manifest>