ResearchKit wrapper for Kinvey
The kinvey-researchkit package can be used to develop ResearchKit applications on the Kinvey platform. It wraps the Kinvey iOS SDK with classes that allow easy mapping of ResearchKit objects to a Kinvey backend.
Please refer to the Kinvey DevCenter for documentation on using Kinvey.
- iOS 9 or later
- XCode 8.1 or above, Swift 2.3 or Swift 3
- Kinvey app ID and secret. If you have not created a Kinvey app yet, create one here.
KinveyResearchKit.workspace. The workspace contains two projects:
KinveyResearchKit- is a wrapper SDK that exposes classes to back ResearchKit objects with a Kinvey backend.
ORKCatalog- is a fork of the ResearchKit sample, that shows how to use
KinveyResearchKitin your app.
ORKCatalogwith values you obtain from Kinvey.
Before run other operations, run either
Onboardingsection) in order to have an active user which allows you to save data in Kinvey's backend
How to use
We made the following changes to the
ORKCatalog sample. To use the SDK in your own project, you will need to make similar changes -
- Add framework dependencies to
- Add code in the
AppDelegateto initialize Kinvey and login with user (refer to the Getting Started guide for details)
- For every
ORKResult, setting the
ResultViewController.resultproperty also saves the result to Kinvey (refer to the Data Store guide for details on how to save data to Kinvey)
See LICENSE for details.
We like to see contributions from the community! If you see a bug, want to add a new capability, or just want to give us feedback, we'd love to hear from you. See CONTRIBUTING.md for details on reporting bugs and making contributions.