We've cached the sensor config in the config manager, and we cache the consented state in the $rootScope in the javascript side. Maybe we should cache the consented state in the native data collection code as well.
Although it is only checked when an initialize transition is received, so it is not as critical as caching the config, which is used on an ongoing basis to detect when the trip should end, etc.
We've cached the sensor config in the config manager, and we cache the consented state in the
$rootScope
in the javascript side. Maybe we should cache the consented state in the native data collection code as well.Although it is only checked when an initialize transition is received, so it is not as critical as caching the config, which is used on an ongoing basis to detect when the trip should end, etc.