Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.