@expo-kit/cloudkit 0.1.1 → 58.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +9 -5
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # @expo-kit/cloudkit
2
2
 
3
- Typed iCloud sync for Expo apps. Your app keeps its own database; this package syncs its records between the user's devices through their private iCloud, using Apple's `CKSyncEngine` in Swift. Part of expo-kit, small packages for Expo apps. Not made by Expo or Apple.
3
+ [![npm](https://img.shields.io/npm/v/@expo-kit/cloudkit)](https://www.npmjs.com/package/@expo-kit/cloudkit)
4
+
5
+ Typed iCloud sync for Expo apps. Your app keeps its own database; this package syncs its records between the user's devices through their private iCloud, using Apple's `CKSyncEngine` in Swift. Part of [expo-kit](https://github.com/islamashraful/expo-kit), small packages for Expo apps. Not made by Expo or Apple.
4
6
 
5
7
  - Works with any data: you describe your records once in TypeScript, and every call is typed from that.
6
8
  - Native Swift on JSI (Expo Modules API), no old bridge.
@@ -13,7 +15,7 @@ iOS 17+ only. Needs a development build (not Expo Go).
13
15
  ## Install
14
16
 
15
17
  ```sh
16
- npx expo install @expo-kit/cloudkit expo-build-properties
18
+ npx expo install @expo-kit/cloudkit
17
19
  ```
18
20
 
19
21
  `app.json`:
@@ -23,15 +25,13 @@ npx expo install @expo-kit/cloudkit expo-build-properties
23
25
  "expo": {
24
26
  "ios": { "bundleIdentifier": "com.example.app" },
25
27
  "plugins": [
26
- ["@expo-kit/cloudkit", { "containers": ["iCloud.com.example.app"] }],
27
- ["expo-build-properties", { "ios": { "enableSceneSupport": true } }]
28
+ ["@expo-kit/cloudkit", { "containers": ["iCloud.com.example.app"] }]
28
29
  ]
29
30
  }
30
31
  }
31
32
  ```
32
33
 
33
34
  - The plugin adds the iCloud entitlements, background pushes, and sets iOS 17 as the minimum.
34
- - `enableSceneSupport` is needed for Expo SDK 57 apps built with Xcode 27 (the app crashes at launch without it). SDK 58+ doesn't need it.
35
35
  - The first signed build registers the container on your Apple team (Xcode automatic signing does this).
36
36
 
37
37
  ## 1. Describe the data
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expo-kit/cloudkit",
3
- "version": "0.1.1",
3
+ "version": "58.0.0",
4
4
  "description": "Typed CloudKit sync for Expo apps, built on CKSyncEngine",
5
5
  "keywords": [
6
6
  "expo",
@@ -16,6 +16,10 @@
16
16
  "url": "git+https://github.com/islamashraful/expo-kit.git",
17
17
  "directory": "packages/cloudkit"
18
18
  },
19
+ "homepage": "https://github.com/islamashraful/expo-kit/tree/main/packages/cloudkit#readme",
20
+ "bugs": {
21
+ "url": "https://github.com/islamashraful/expo-kit/issues"
22
+ },
19
23
  "main": "build/index.js",
20
24
  "types": "build/index.d.ts",
21
25
  "exports": {
@@ -44,17 +48,17 @@
44
48
  "test": "bun test"
45
49
  },
46
50
  "dependencies": {
47
- "@expo-kit/core": "^0.1.0"
51
+ "@expo-kit/core": "^58.0.0"
48
52
  },
49
53
  "peerDependencies": {
50
- "expo": "*",
54
+ "expo": "^58.0.0",
51
55
  "react": "*",
52
56
  "react-native": "*"
53
57
  },
54
58
  "devDependencies": {
55
59
  "@types/bun": "1.3.0",
56
- "@types/react": "~19.2.2",
57
- "expo": "~57.0.28",
60
+ "@types/react": "~19.3.0",
61
+ "expo": "~58.0.14",
58
62
  "typescript": "~6.0.3"
59
63
  },
60
64
  "publishConfig": {