rozPierog / Cofi

Free and open-source coffee brew timer. Customizable time settings and an easy-to-use interface. Perfect cup every time.
https://rozpierog.github.io/Cofi/
GNU General Public License v3.0
348 stars 30 forks source link

Wear OS app doesn't sync with the phone app #141

Closed AmaryllisVFX closed 1 year ago

AmaryllisVFX commented 1 year ago

Describe the bug The Wear OS app doesn't sync my recipes from the phone app and only displays the default recipes. The watch app also prompts me to install the phone app even though I have it installed already. If I open any of the default recipes the watch app crashes. I've tried reinstalling both the phone and watch apps multiple times along with trying the play store version and sideloading the app manually.

To Reproduce

  1. Open the watch app
  2. Open a recipe
  3. Watch app crashes

Expected behavior The watch app correctly syncs all the recipes from the phone app and is able to run the recipes without crashing.

Smartphone:

Watch:

Additional context The watch app used to work correctly with the initial release and stopped working with subsequent versions.

rozPierog commented 1 year ago

I'm sorry that has happened to you @AmaryllisVFX First of all I need to know if you have app from the play store installed on both your Poco and your Fossil. For sync to work the app needs to be from the same "source" so you either need to have it both from the play store or both from GitHub (and phone app should be a "play store" variant) I've tested it on emulator (but only WearOS 3, because there are no ARM system images of wearOS 2) and it worked fine. I'll try to investigate it further.

Do you remember last working version? Or approximately when was it working?

AmaryllisVFX commented 1 year ago

I have the play store versions on both the phone and the watch. The watch app worked fine on 1.11.0

rozPierog commented 1 year ago

Okay, thanks. I'll investigate it, sorry for the inconveniences

AmaryllisVFX commented 1 year ago

No worries! Thank you for responding so quickly

rozPierog commented 1 year ago

@AmaryllisVFX I've managed to isolate and fix the issue with app crashing on WearOS 2, thanks for reporting it! I've released new version and I hope that it will also fix your sync problems. If you want to install new version as apk

It's in review on the Play Store so it will take some time for it to be visible there.

AmaryllisVFX commented 1 year ago

Sideloaded it just now and it works perfectly now. That was a really quick fix. Thanks again!