The IBM Hyper Protect iOS SDK for CareKit is an addon for the CareKit framework that consumes IBM Hyper Protect Services for zero-trust persistent cloud storage and bi-directional synchronization across multiple devices with just 2 lines of code
This SDK implements CareKit’s Remote Synchronization API and must be coupled with the backend SDK IBM-HyperProtectMBaaS on the server side.
Note, this is a pre-1.0 release and is still in beta
This package can be imported into XCode using Swift Package Manager:
Now import the package with
import IBMHyperProtectSDK
and pass it in to your OCKStore:
let remote = IBMMongoRemote(/* credentials and connection information */)
let store = OCKStore(name: "SampleAppStore", type:
inMemory, remote: remote)
By default if no backend API information is passed in, it will default to https://localhost:3000
. Pass in the apiLocation
parameter to point to your IBM Hyper Protect MBaaS deployed locally for development or in IBM Cloud. If the MBaaS is deployed to the IBM Cloud, a certificate may be needed to go through the authentication challenge. This certificate may be added to your project folder. If no value is passed into certificate
, it will default to carekit-root
.
We’re always looking for contributors to help improve the CareKit and IBM Hyper Protect community. Please follow the guide
Detailed end-to-end instructions for deploying the IBM-HyperProtectMBaaS and the iOS SDK (this project) with a CareKit sample app are provided here.