SDK Configuration and Plug-in

This section aims to assist developers in customizing and extending the functionality of the SDK to meet their application's specific requirements. It offers comprehensive guidance on configuring the SDK to work with different custom parameters and creating and integrating plug-ins into the SDK for improved functionality.

SDK Configuration Options and Parameters

To configure your public access token, open your project's Info.plist file and add an NBMapAccessKey key whose value is your public access token.

1
<key>NBMapAccessKey</key> <your public access token/>

Set permissions

In order for the SDK to track the user's location and provide audible instructions even when the device is locked or another application is being used, you need to set the appropriate permissions. To do this, navigate to the Signing & Capabilities tab and locate the Background Modes section. From there, enable Audio, AirPlay, and Picture in Picture and Location updates. Alternatively, you can add the audio and location values to the UIBackgroundModes array in the Info tab

© 2024 NextBillion.ai all rights reserved.