Location
const onLocationChange = (value: Location, timestamp?: Date) => {
console.log(value, timestamp);
};
COBI.mobile.location.read(onLocationChange); // Instantly get the current value
COBI.mobile.location.subscribe(onLocationChange);
COBI.mobile.location.unsubscribe(onLocationChange);const onLocationChange = (value, timestamp) => {
console.log(value, timestamp);
};
COBI.mobile.location.read(onLocationChange); // Instantly get the current value
COBI.mobile.location.subscribe(onLocationChange);
COBI.mobile.location.unsubscribe(onLocationChange);Last updated