carekit-apple / CareKit

CareKit is an open source software framework for creating apps that help people better understand and manage their health.
https://www.researchandcare.org
Other
2.4k stars 443 forks source link

Information on OCK Remote recognizable #599

Open scdi opened 3 years ago

scdi commented 3 years ago

How do we get more information, code snippets, or implementation of OCK Remote recognizable?

erik-apple commented 3 years ago

It's still technically in beta, so the documentation isn't complete yet, but you can find two example implementations in the CareKit repo.

In the unit tests, there is a SimulatedServer and a SimulatedRemote that demonstrate how the server and the app are supposed to talk with one another. That's a good place to start! Follow this link to the source.

You can also reference the open source implementations by IBM and ParseCareKit by @cbaker6 for real-life examples. I believe @nizar has written a Firebase version as well, but I'm not sure if it's open source or not.