The location is updated sporadically while the hub is connected. When it gets disconnected, the current location is stored. If you want to receive continous location updates, use mobile.location.
constonHubLocationChange= (value:Placemark, timestamp?:Date) => {console.log(value, timestamp);};COBI.app.hubLocation.read(onHubLocationChange); // Instantly get the current valueCOBI.app.hubLocation.subscribe(onHubLocationChange);COBI.app.hubLocation.unsubscribe(onHubLocationChange);
constonHubLocationChange= (value, timestamp) => {console.log(value, timestamp);};COBI.app.hubLocation.read(onHubLocationChange); // Instantly get the current valueCOBI.app.hubLocation.subscribe(onHubLocationChange);COBI.app.hubLocation.unsubscribe(onHubLocationChange);