The INRIX Mobile SDK can help with implementing INRIX data into iOS or Android devices.
Why should I use the SDK?
The SDK helps with authorization, token management, error handling, version control, and API management. It is a stable implementation that can help developers quickly build and launch apps with rich automotive and mobility data.
How do I get started with the SDK?
The first step is to get an authorization token. If you are a new customer and do not have a token, please contact support@inrix.com.
iOS
Installation
We recommend that developers use Cocoapods for SDK management: https://cocoapods.org/pods/INRIX-iOS-ClientLibrary
Installation is simple:
pod 'INRIX-iOS-ClientLibrary'
Initialization
Once installed, the SDK needs to be initialized at startup. The initialization process is as simple as adding (please refer to detailed documentation for coreOptions):
let inrixCore = IXCLCreateInrixCoreX(coreOptions)
Android
Installation
We recommend that developers use Gradle for SDK management: https://inrix.jfrog.io/inrix/sdk-releases/com/inrix/sdk/core/
Installation is simple:
compile 'com.inrix.sdk:core:9.0'
Initialization
Once installed, the SDK needs to be initialized at startup. The initialization process is as simple as adding (please refer to detailed documentation for coreOptions):
Context appContext = context.getApplicationContext();
InrixCore.initialize(
appContext,
new Configuration.Builder(appContext).build()
);