Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
capacitor-cloudkit
Advanced tools
Basic CloudKit authentication plugin. v1 is Capacitor 4, v2 is Capacitor 5, v3 is Capacitor 6.
npm install capacitor-cloudkit
npx cap sync
Each different platform requires a different ckAPIToken
.
postMessage
.cloudkit-icloud.baseline.getbaseline.app://
, so I'll be using that as an example. I set mine to cloudkit-icloud.baseline.getbaseline.app://callback
.https://example.com
or some similar existant but blank domain.cloudkit-icloud.baseline.getbaseline.app
)func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey: Any] = [:]) -> Bool
in AppDelegate
:if (url.scheme == "PUT CALLBACK URL SCHEME HERE (e.g. cloudkit-icloud.baseline.getbaseline.app)") {
NotificationCenter.default.post(name: NSNotification.Name("cloudkitLogin"), object: url);
}
authenticate(options: SignInOptions) => Promise<{ ckWebAuthToken: string; }>
Param | Type |
---|---|
options | SignInOptions |
Returns: Promise<{ ckWebAuthToken: string; }>
fetchRecord(options: FetchRecordOptions) => Promise<any>
Only available on iOS.
Param | Type |
---|---|
options | FetchRecordOptions |
Returns: Promise<any>
Prop | Type |
---|---|
containerIdentifier | string |
environment | 'development' | 'production' |
ckAPIToken | string |
Prop | Type |
---|---|
containerIdentifier | string |
database | 'private' | 'public' | 'shared' |
by | 'recordName' |
recordName | string |
FAQs
Basic CloudKit authentication plugin.
The npm package capacitor-cloudkit receives a total of 14 weekly downloads. As such, capacitor-cloudkit popularity was classified as not popular.
We found that capacitor-cloudkit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.