Skip to content
Select language:English

Initialization

Updated 1 min read

Before using any class from the AIDK, the first step is to call the function GiPStechAI.init. This function requires the GiPStech development key, which is linked to the package name (Android) and/or the bundle identifier (iOS) of the app. To obtain a development key, please contact GiPStech (opens in a new tab). Additionally, for the Android operating system, an Android Context is required

The AIDK operates without requiring an internet connection, allowing the location system to function even when the device is offline.

However, internet access is necessary to activate the library. The activation is typically valid for one month and is automatically renewed whenever an internet connection is available.

You can optionally send your app version to the GiPStech server using GiPStechAI.setAppVersion. This call must be made before initialization.

This enables GiPStech to identify the version of the app in use and, if necessary, revoke the license for outdated versions when misuse or security issues are detected.

Using this function is highly recommended.

To free all resources, call the function GiPStechAI.shutdown. This should be done when the application is closing or when GiPStech services are no longer needed.

The recommended approach is to call GiPStechAI.init when the application starts and GiPStechAI.shutdown just before the application is destroyed.