INRIX documentation logo

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://libraries.io/cocoapods/INRIX-iOS-ClientLibrary

Installation is simple:

pod try INRIX-iOS-ClientLibrary

If for some reason you want direct access to the codebase, please use GitHub: https://github.com/INRIX/iOS-MobileSDK. However, this method is not recommended as you will miss out on SDK updates: product improvements, security fixes, or operating system related changes.

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:8.0'

If for some reason you want direct access to the codebase, please use GitHub: https://github.com/INRIX/iOS-MobileSDK. However, this method is not recommended as you will miss out on SDK updates: product improvements, security fixes, or operating system related changes.

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()
);