I think they use SensorManager API which we could also use if Google Play Services isn’t available. SensorManager just has one big downside that it loses your steps if you restart your device, but at least it’d be better than nothing on de-googled devices.