Before using any class of this library, the first step is to call the function WayFi.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.
Activation
Section titled “Activation”This library must be activated the first time it is used, which requires contacting the GiPStech server. Once activated, the license is typically valid for one month and is automatically renewed whenever an internet connection is available.
Releasing resources
Section titled “Releasing resources”To properly release all resources, call the WayFi.shutdown function. After invoking this function, a new initialization is required before using the library again. If you wish to release all native objects without fully shutting down the library, you can use the WayFi.releaseAll function instead.
Example
Section titled “Example”The following code calls the init and shutdown functions
WayFi.init( devKey = "your_dev_key", context = context)
...
WayFi.shutdown()