Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

googlesamples/android-WatchFace: Step Counter default provider isn't functional #6

Closed
codingjeremy opened this issue Aug 3, 2019 · 1 comment
Labels
migrated googlesamples Issue migrated from old repo location (googlesamples/)

Comments

@codingjeremy
Copy link
Contributor

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.

@codingjeremy
Copy link
Contributor Author

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

@codingjeremy codingjeremy added the migrated googlesamples Issue migrated from old repo location (googlesamples/) label Aug 7, 2019
@codingjeremy codingjeremy changed the title Step Counter default provider isn't functional googlesamples/android-WatchFace: Step Counter default provider isn't functional Aug 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
migrated googlesamples Issue migrated from old repo location (googlesamples/)
Projects
None yet
Development

No branches or pull requests

1 participant