
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
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 7 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.