Quickstart
Follow these steps to have a basic integration of the app's miles® SDK in your Xamarin application.
Last updated
Follow these steps to have a basic integration of the app's miles® SDK in your Xamarin application.
Last updated
Xamarin Quickstart
Work In Progress
Minimum Android version: 4.1 (API 16) Minimum iOS version : 7.0 Minimum XCode version : 7
We publish the Xamarin SDK on Nuget under the name of XAPM
You need to add NuGet packages in 3 different places:
Main project
iOS project
Android project
In main project, add NuGet package :
XAPM.Interface
No additional configuration required
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.