Enable/Disable
The SDK can be enabled and disabled at runtime. To make GeoUniq SDK start, you need to enable it by calling the method GeoUniq.enable()
at least once.
You might do that into the main activity of your app, as in the example below.
Once enabled, the SDK will not stop until you disable it by calling GeoUniq.disable()
. That is, it will keep performing automatic operations, such as tracking the device position, even after a device reboot or an update of the app. Disabling the SDK at runtime is useful if you want the SDK to stop completely. For example, you could remotely control a configuration parameter of your app to stop the SDK for all or some of your installations.
If you simply don't want GeoUniq to keep collecting location data for a specific User, you can do that without completely disabling the SDK (see Handle user consent). This way you can still exploit the mobile-side functionalities that the SDK provides without having GeoUniq collecting data for the specific user
Last updated