Allow companion app to write same data to Apple health app as zwift app

Zwift writes cycling distance to Apple health app when running on iPhone. But when using companion in iPhone connected to a computer it doesn’t write cycling distance.
It also differs I the data it can read from health.