android-WatchFace icon indicating copy to clipboard operation
android-WatchFace copied to clipboard

Step Counter default provider isn't functional

Open littleariel opened this issue 7 years ago • 2 comments

Running Google Fit 2.08.21, WearOS 2.3, and Google Play Services 15.0.90 on Ticwatch Pro, the STEP_COUNT system provider isn't working anymore.

To reproduce the issue, just add the following at the end of initializeComplicationsAndBackground()

// TEST SYSTEM PROVIDERS
// Watch battery works:
setDefaultSystemComplicationProvider(LEFT_COMPLICATION_ID, SystemProviders.WATCH_BATTERY, ComplicationData.TYPE_SHORT_TEXT);

 // Steps do NOT work (that's a bug):
setDefaultSystemComplicationProvider(RIGHT_COMPLICATION_ID, SystemProviders.STEP_COUNT, ComplicationData.TYPE_SHORT_TEXT);

When running this on the watch, the left complication shows the watch battery as expected. The right complication shows "--" for the steps instead of the daily step count, which is a bug.

I confirmed the Google Fit app shows non-zero steps on the watch. Note that going into the watch face configuration activity and explicitly replacing the default step count with the Google Fit step count works and shows the right value.

littleariel avatar Feb 24 '19 19:02 littleariel

Confirmed bug is happening with Google Fit 2.08 and 2.09 (released today). The bug is NOT present on Google Fit 2.06.

littleariel avatar Feb 26 '19 01:02 littleariel

This issue/PR has been migrated to the new Wear OS repo (linked above), so I am closing it here.

codingjeremy avatar Sep 05 '19 18:09 codingjeremy