Quickstart
Follow these steps to have a basic integration of the app's miles® SDK in your Xamarin application.
Work In Progress
Conditions and minimum requirements
Minimum Android version: 4.1 (API 16) Minimum iOS version : 7.0 Minimum XCode version : 7
I. Installation
We publish the Xamarin SDK on Nuget under the name of XAPM
Adding NuGet packages
You need to add NuGet packages in 3 different places:
Main project
iOS project
Android project
In main project, add NuGet package :
XAPM.Interface
II. Configuration
No additional configuration required
III. Initialization
You will also need to initialize the SDK in 3 different places
In main project, in file App.xaml.cs, init the SDK :
partnerID :
<PARTNER_ID>
partnerSecret :
<PARTNER_SECRET>
appId :
<APP_ID>
baseUrl :
<BASE_URL>
In file MainPage.xaml.cs, call the method APM.RefreshSDK();
You're done with the installation !
You should be able to see our SDK on your application.
Head to the next section to start integrating our SDK into your app's features.
Last updated