ionic-team / ionic-team/CapacitorWatch

Error while updating the Data

Open
#40 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
49
Forks
11
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.