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 (si apre in una nuova scheda). Additionally, for the Android operating system, an Android Context is required
Activation
Sezione intitolata “Activation”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.
App version
Sezione intitolata “App version”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.
Releasing resources
Sezione intitolata “Releasing resources”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.
Best Practice
Sezione intitolata “Best Practice”The recommended approach is to call GiPStechAI.init when the application starts and GiPStechAI.shutdown just before the application is destroyed.