ionic-team / CapacitorWatch

Build apps for watches with Capacitor
MIT License
43 stars 6 forks source link

Error while updating the Data #40

Open ivinantony opened 5 months ago

ivinantony commented 5 months ago

i was adding a Ui to the watch and worked fine when i updated the UI with a $number variable also showed correctly. but when sending values to the variable using updateWatchData getting some errors. Accessing StateObject's object without being installed on a View. This will create a new instance each time.

can you just write a bit more in detail how to update with an example. this will help us better.

ivinantony commented 5 months ago
Screenshot 2024-05-03 at 7 02 49 PM
MitchellPeck commented 4 months ago

i get the same errors, value update works fine for me as well. only thing im having an issue with is getting more than one component to display.