@sqliteai/sqlite-sync-expo 0.8.58

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 (30) hide show
  1. package/LICENSE.md +41 -0
  2. package/README.md +86 -0
  3. package/android/jniLibs/arm64-v8a/cloudsync.so +0 -0
  4. package/android/jniLibs/armeabi-v7a/cloudsync.so +0 -0
  5. package/android/jniLibs/x86_64/cloudsync.so +0 -0
  6. package/app.plugin.js +165 -0
  7. package/ios/CloudSync.xcframework/Info.plist +59 -0
  8. package/ios/CloudSync.xcframework/_CodeSignature/CodeDirectory +0 -0
  9. package/ios/CloudSync.xcframework/_CodeSignature/CodeRequirements +0 -0
  10. package/ios/CloudSync.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
  11. package/ios/CloudSync.xcframework/_CodeSignature/CodeResources +323 -0
  12. package/ios/CloudSync.xcframework/_CodeSignature/CodeSignature +0 -0
  13. package/ios/CloudSync.xcframework/ios-arm64/CloudSync.framework/CloudSync +0 -0
  14. package/ios/CloudSync.xcframework/ios-arm64/CloudSync.framework/Headers/CloudSync.h +31 -0
  15. package/ios/CloudSync.xcframework/ios-arm64/CloudSync.framework/Info.plist +1 -0
  16. package/ios/CloudSync.xcframework/ios-arm64/CloudSync.framework/Modules/module.modulemap +1 -0
  17. package/ios/CloudSync.xcframework/ios-arm64/CloudSync.framework/_CodeSignature/CodeResources +124 -0
  18. package/ios/CloudSync.xcframework/ios-arm64_x86_64-simulator/CloudSync.framework/CloudSync +0 -0
  19. package/ios/CloudSync.xcframework/ios-arm64_x86_64-simulator/CloudSync.framework/Headers/CloudSync.h +31 -0
  20. package/ios/CloudSync.xcframework/ios-arm64_x86_64-simulator/CloudSync.framework/Info.plist +1 -0
  21. package/ios/CloudSync.xcframework/ios-arm64_x86_64-simulator/CloudSync.framework/Modules/module.modulemap +1 -0
  22. package/ios/CloudSync.xcframework/ios-arm64_x86_64-simulator/CloudSync.framework/_CodeSignature/CodeResources +124 -0
  23. package/ios/CloudSync.xcframework/macos-arm64_x86_64/CloudSync.framework/CloudSync +0 -0
  24. package/ios/CloudSync.xcframework/macos-arm64_x86_64/CloudSync.framework/Headers/CloudSync.h +31 -0
  25. package/ios/CloudSync.xcframework/macos-arm64_x86_64/CloudSync.framework/Info.plist +1 -0
  26. package/ios/CloudSync.xcframework/macos-arm64_x86_64/CloudSync.framework/Modules/module.modulemap +1 -0
  27. package/ios/CloudSync.xcframework/macos-arm64_x86_64/CloudSync.framework/_CodeSignature/CodeResources +124 -0
  28. package/package.json +43 -0
  29. package/src/index.d.ts +12 -0
  30. package/src/index.js +25 -0
package/LICENSE.md ADDED
@@ -0,0 +1,41 @@
1
+ Elastic License 2.0 (modified for open-source use)
2
+
3
+ Copyright © 2025 SQLite Cloud, Inc.
4
+
5
+ This software is licensed under the Elastic License 2.0, with the additional grant described below.
6
+
7
+ You may not use this file except in compliance with the Elastic License 2.0 and the conditions outlined here.
8
+
9
+ You may obtain a copy of the Elastic License 2.0 at:
10
+
11
+ ```
12
+ https://www.elastic.co/licensing/elastic-license
13
+ ```
14
+
15
+ Software distributed under the Elastic License is distributed on an "AS IS" BASIS,
16
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+
18
+ See the Elastic License 2.0 for the specific language governing permissions and limitations under the license.
19
+
20
+ ---
21
+
22
+ ## Additional Grant for Open-Source Projects
23
+
24
+ In addition to the permissions granted under the Elastic License 2.0:
25
+
26
+ * **Free Use in Open-Source Projects**:
27
+ You may use, copy, distribute, and prepare derivative works of the software — in source or object form, with or without modification — freely and without fee, provided the software is incorporated into or used by an **open-source project** licensed under an OSI-approved open-source license.
28
+
29
+ ---
30
+
31
+ ## Conditions
32
+
33
+ 1. For **open-source projects**, the software may be used, copied, modified, and distributed without restriction or fee.
34
+
35
+ 2. For **non–open-source or commercial production use**, you may use, copy, distribute, and prepare derivative works of the software only with a commercial license from SQLite Cloud, Inc.
36
+
37
+ 3. You may not provide the software to third parties as a managed service, such as a hosted or cloud-based service, unless you have a license for that use.
38
+
39
+ 4. The software may not be used to circumvent the license grant limitations.
40
+
41
+ 5. Any permitted use is subject to compliance with the Elastic License 2.0, this additional grant, and applicable law.
package/README.md ADDED
@@ -0,0 +1,86 @@
1
+ # @sqliteai/sqlite-sync-expo
2
+
3
+ SQLite Sync extension for React Native/Expo apps.
4
+
5
+ **Version:** 0.8.58
6
+
7
+ This package provides pre-built SQLite Sync binaries for iOS and Android, along with an Expo config plugin that automatically configures your native projects.
8
+
9
+ ## Installation
10
+
11
+ ```bash
12
+ npm install @sqliteai/sqlite-sync-expo
13
+ # or
14
+ yarn add @sqliteai/sqlite-sync-expo
15
+ ```
16
+
17
+ ## Setup
18
+
19
+ ### 1. Add Plugin to app.json
20
+
21
+ ```json
22
+ {
23
+ "expo": {
24
+ "plugins": ["@sqliteai/sqlite-sync-expo"]
25
+ }
26
+ }
27
+ ```
28
+
29
+ ### 2. Run Prebuild
30
+
31
+ ```bash
32
+ npx expo prebuild --clean
33
+ ```
34
+
35
+ The plugin will automatically:
36
+ - **iOS**: Copy `CloudSync.xcframework` and add it to your Xcode project with embed & sign
37
+ - **Android**: Copy `cloudsync.so` files to `jniLibs` for each architecture
38
+
39
+ ### 3. Load Extension in Code
40
+
41
+ ```typescript
42
+ import { open } from '@op-engineering/op-sqlite';
43
+ import { Platform } from 'react-native';
44
+
45
+ const db = open({ name: 'mydb.db' });
46
+
47
+ // Load SQLite Sync extension
48
+ if (Platform.OS === 'ios') {
49
+ // iOS requires the bundle ID and framework name
50
+ const path = db.getDylibPath('ai.sqlite.cloudsync', 'CloudSync');
51
+ db.loadExtension(path);
52
+ } else {
53
+ // Android just needs the library name
54
+ db.loadExtension('cloudsync');
55
+ }
56
+
57
+ // Verify it works
58
+ const result = db.execute('SELECT cloudsync_uuid() as uuid');
59
+ console.log('SQLite Sync UUID:', result.rows[0].uuid);
60
+ ```
61
+
62
+ ## Supported Platforms
63
+
64
+ ### iOS
65
+ - arm64 (devices)
66
+ - arm64 + x86_64 simulator
67
+
68
+ ### Android
69
+ - arm64-v8a
70
+ - armeabi-v7a
71
+ - x86_64
72
+
73
+ ## Requirements
74
+
75
+ - Expo SDK 51+
76
+ - React Native 0.73+
77
+ - [@op-engineering/op-sqlite](https://github.com/nickcurizon/op-sqlite) for loading extensions
78
+
79
+ ## Links
80
+
81
+ - [SQLite Sync Documentation](https://github.com/sqliteai/sqlite-sync)
82
+ - [SQLite Cloud](https://sqlitecloud.io)
83
+
84
+ ## License
85
+
86
+ See [LICENSE.md](./LICENSE.md)
package/app.plugin.js ADDED
@@ -0,0 +1,165 @@
1
+ /**
2
+ * Expo Config Plugin for SQLite Sync Extension
3
+ *
4
+ * This plugin automatically configures iOS and Android to include the SQLite Sync
5
+ * native binaries. Just add "@sqliteai/sqlite-sync-expo" to your app.json plugins.
6
+ *
7
+ * Usage in app.json:
8
+ * {
9
+ * "expo": {
10
+ * "plugins": ["@sqliteai/sqlite-sync-expo"]
11
+ * }
12
+ * }
13
+ */
14
+
15
+ const {
16
+ withXcodeProject,
17
+ withDangerousMod,
18
+ IOSConfig,
19
+ } = require('expo/config-plugins');
20
+ const fs = require('fs');
21
+ const path = require('path');
22
+
23
+ // Get the directory where this package is installed
24
+ const PACKAGE_ROOT = __dirname;
25
+
26
+ /**
27
+ * iOS: Add CloudSync.xcframework to the Xcode project
28
+ */
29
+ function withSqliteSyncIOS(config) {
30
+ return withXcodeProject(config, (config) => {
31
+ const projectRoot = config.modRequest.projectRoot;
32
+ const projectName = config.modRequest.projectName;
33
+ const xcodeProject = config.modResults;
34
+
35
+ // Source path: xcframework bundled with this package
36
+ const srcFrameworkPath = path.join(PACKAGE_ROOT, 'ios', 'CloudSync.xcframework');
37
+
38
+ // Destination path: inside the iOS project
39
+ const destFrameworkPath = path.join(
40
+ projectRoot,
41
+ 'ios',
42
+ projectName,
43
+ 'CloudSync.xcframework'
44
+ );
45
+
46
+ // Check source exists
47
+ if (!fs.existsSync(srcFrameworkPath)) {
48
+ throw new Error(
49
+ `CloudSync.xcframework not found at ${srcFrameworkPath}. ` +
50
+ 'This is a bug in @sqliteai/sqlite-sync-expo - the package is missing iOS binaries.'
51
+ );
52
+ }
53
+
54
+ // Copy xcframework to iOS project directory
55
+ console.log(`[@sqliteai/sqlite-sync-expo] Copying xcframework to ${destFrameworkPath}`);
56
+ fs.cpSync(srcFrameworkPath, destFrameworkPath, { recursive: true });
57
+
58
+ // Get the main app target
59
+ const target = IOSConfig.XcodeUtils.getApplicationNativeTarget({
60
+ project: xcodeProject,
61
+ projectName: projectName,
62
+ });
63
+
64
+ // Check if "Embed Frameworks" build phase exists, create if not
65
+ const embedFrameworksBuildPhase = xcodeProject.buildPhaseObject(
66
+ 'PBXCopyFilesBuildPhase',
67
+ 'Embed Frameworks'
68
+ );
69
+
70
+ if (!embedFrameworksBuildPhase) {
71
+ console.log('[@sqliteai/sqlite-sync-expo] Creating "Embed Frameworks" build phase');
72
+ xcodeProject.addBuildPhase(
73
+ [],
74
+ 'PBXCopyFilesBuildPhase',
75
+ 'Embed Frameworks',
76
+ target.uuid,
77
+ 'frameworks'
78
+ );
79
+ }
80
+
81
+ // Add the framework to the project
82
+ const relativePath = `${projectName}/CloudSync.xcframework`;
83
+ console.log(`[@sqliteai/sqlite-sync-expo] Adding framework: ${relativePath}`);
84
+
85
+ xcodeProject.addFramework(relativePath, {
86
+ target: target.uuid,
87
+ customFramework: true,
88
+ embed: true,
89
+ sign: true,
90
+ link: true,
91
+ });
92
+
93
+ console.log('[@sqliteai/sqlite-sync-expo] iOS setup complete');
94
+ return config;
95
+ });
96
+ }
97
+
98
+ /**
99
+ * Android: Copy libcloudsync.so files to jniLibs
100
+ */
101
+ function withSqliteSyncAndroid(config) {
102
+ return withDangerousMod(config, [
103
+ 'android',
104
+ async (config) => {
105
+ const projectRoot = config.modRequest.projectRoot;
106
+
107
+ // Source directory: .so files bundled with this package
108
+ const srcDir = path.join(PACKAGE_ROOT, 'android', 'jniLibs');
109
+
110
+ // Destination: android/app/src/main/jniLibs
111
+ const jniLibsDir = path.join(
112
+ projectRoot,
113
+ 'android',
114
+ 'app',
115
+ 'src',
116
+ 'main',
117
+ 'jniLibs'
118
+ );
119
+
120
+ // Architectures we support
121
+ const architectures = ['arm64-v8a', 'armeabi-v7a', 'x86_64'];
122
+
123
+ for (const arch of architectures) {
124
+ const srcFile = path.join(srcDir, arch, 'cloudsync.so');
125
+ const destDir = path.join(jniLibsDir, arch);
126
+ const destFile = path.join(destDir, 'cloudsync.so');
127
+
128
+ // Check source exists
129
+ if (!fs.existsSync(srcFile)) {
130
+ console.warn(
131
+ `[@sqliteai/sqlite-sync-expo] Warning: ${srcFile} not found, skipping ${arch}`
132
+ );
133
+ continue;
134
+ }
135
+
136
+ // Create destination directory
137
+ fs.mkdirSync(destDir, { recursive: true });
138
+
139
+ // Copy the .so file
140
+ console.log(`[@sqliteai/sqlite-sync-expo] Copying ${arch}/cloudsync.so`);
141
+ fs.copyFileSync(srcFile, destFile);
142
+ }
143
+
144
+ console.log('[@sqliteai/sqlite-sync-expo] Android setup complete');
145
+ return config;
146
+ },
147
+ ]);
148
+ }
149
+
150
+ /**
151
+ * Main plugin function - combines iOS and Android plugins
152
+ */
153
+ function withSqliteSync(config) {
154
+ console.log('[@sqliteai/sqlite-sync-expo] Configuring SQLite Sync extension...');
155
+
156
+ // Apply iOS modifications
157
+ config = withSqliteSyncIOS(config);
158
+
159
+ // Apply Android modifications
160
+ config = withSqliteSyncAndroid(config);
161
+
162
+ return config;
163
+ }
164
+
165
+ module.exports = withSqliteSync;
@@ -0,0 +1,59 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>AvailableLibraries</key>
6
+ <array>
7
+ <dict>
8
+ <key>BinaryPath</key>
9
+ <string>CloudSync.framework/CloudSync</string>
10
+ <key>LibraryIdentifier</key>
11
+ <string>macos-arm64_x86_64</string>
12
+ <key>LibraryPath</key>
13
+ <string>CloudSync.framework</string>
14
+ <key>SupportedArchitectures</key>
15
+ <array>
16
+ <string>arm64</string>
17
+ <string>x86_64</string>
18
+ </array>
19
+ <key>SupportedPlatform</key>
20
+ <string>macos</string>
21
+ </dict>
22
+ <dict>
23
+ <key>BinaryPath</key>
24
+ <string>CloudSync.framework/CloudSync</string>
25
+ <key>LibraryIdentifier</key>
26
+ <string>ios-arm64_x86_64-simulator</string>
27
+ <key>LibraryPath</key>
28
+ <string>CloudSync.framework</string>
29
+ <key>SupportedArchitectures</key>
30
+ <array>
31
+ <string>arm64</string>
32
+ <string>x86_64</string>
33
+ </array>
34
+ <key>SupportedPlatform</key>
35
+ <string>ios</string>
36
+ <key>SupportedPlatformVariant</key>
37
+ <string>simulator</string>
38
+ </dict>
39
+ <dict>
40
+ <key>BinaryPath</key>
41
+ <string>CloudSync.framework/CloudSync</string>
42
+ <key>LibraryIdentifier</key>
43
+ <string>ios-arm64</string>
44
+ <key>LibraryPath</key>
45
+ <string>CloudSync.framework</string>
46
+ <key>SupportedArchitectures</key>
47
+ <array>
48
+ <string>arm64</string>
49
+ </array>
50
+ <key>SupportedPlatform</key>
51
+ <string>ios</string>
52
+ </dict>
53
+ </array>
54
+ <key>CFBundlePackageType</key>
55
+ <string>XFWK</string>
56
+ <key>XCFrameworkFormatVersion</key>
57
+ <string>1.0</string>
58
+ </dict>
59
+ </plist>
@@ -0,0 +1,323 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>files</key>
6
+ <dict>
7
+ <key>ios-arm64/CloudSync.framework/CloudSync</key>
8
+ <data>
9
+ abxyrIn7DeTidIjaBUu+BXHaOHk=
10
+ </data>
11
+ <key>ios-arm64/CloudSync.framework/Headers/CloudSync.h</key>
12
+ <data>
13
+ HhLoU+u0Z1WYbe1ieuR9nqYMOP8=
14
+ </data>
15
+ <key>ios-arm64/CloudSync.framework/Info.plist</key>
16
+ <data>
17
+ aHgFCbr2zzPmULN9RN6EcdyELxI=
18
+ </data>
19
+ <key>ios-arm64/CloudSync.framework/Modules/module.modulemap</key>
20
+ <data>
21
+ ro9xghwl6x7oHnWfH0PiOV6up+o=
22
+ </data>
23
+ <key>ios-arm64/CloudSync.framework/_CodeSignature/CodeResources</key>
24
+ <data>
25
+ P0dYzUCZkoGoWqRi0aUwlKkVL9Q=
26
+ </data>
27
+ <key>ios-arm64_x86_64-simulator/CloudSync.framework/CloudSync</key>
28
+ <data>
29
+ EuDaVmm07Y/VMP3TCSJ2BlqGSqg=
30
+ </data>
31
+ <key>ios-arm64_x86_64-simulator/CloudSync.framework/Headers/CloudSync.h</key>
32
+ <data>
33
+ HhLoU+u0Z1WYbe1ieuR9nqYMOP8=
34
+ </data>
35
+ <key>ios-arm64_x86_64-simulator/CloudSync.framework/Info.plist</key>
36
+ <data>
37
+ aHgFCbr2zzPmULN9RN6EcdyELxI=
38
+ </data>
39
+ <key>ios-arm64_x86_64-simulator/CloudSync.framework/Modules/module.modulemap</key>
40
+ <data>
41
+ ro9xghwl6x7oHnWfH0PiOV6up+o=
42
+ </data>
43
+ <key>ios-arm64_x86_64-simulator/CloudSync.framework/_CodeSignature/CodeResources</key>
44
+ <data>
45
+ P0dYzUCZkoGoWqRi0aUwlKkVL9Q=
46
+ </data>
47
+ <key>macos-arm64_x86_64/CloudSync.framework/CloudSync</key>
48
+ <data>
49
+ 1ULz8IuKNnpSuf36jCXZKvjFau0=
50
+ </data>
51
+ <key>macos-arm64_x86_64/CloudSync.framework/Headers/CloudSync.h</key>
52
+ <data>
53
+ HhLoU+u0Z1WYbe1ieuR9nqYMOP8=
54
+ </data>
55
+ <key>macos-arm64_x86_64/CloudSync.framework/Info.plist</key>
56
+ <data>
57
+ aHgFCbr2zzPmULN9RN6EcdyELxI=
58
+ </data>
59
+ <key>macos-arm64_x86_64/CloudSync.framework/Modules/module.modulemap</key>
60
+ <data>
61
+ ro9xghwl6x7oHnWfH0PiOV6up+o=
62
+ </data>
63
+ <key>macos-arm64_x86_64/CloudSync.framework/_CodeSignature/CodeResources</key>
64
+ <data>
65
+ P0dYzUCZkoGoWqRi0aUwlKkVL9Q=
66
+ </data>
67
+ </dict>
68
+ <key>files2</key>
69
+ <dict>
70
+ <key>ios-arm64/CloudSync.framework/CloudSync</key>
71
+ <dict>
72
+ <key>hash</key>
73
+ <data>
74
+ abxyrIn7DeTidIjaBUu+BXHaOHk=
75
+ </data>
76
+ <key>hash2</key>
77
+ <data>
78
+ BF8ZJlELa5TBogQCP0Eba1ToSHA7NGhnOvo0klQSJvw=
79
+ </data>
80
+ </dict>
81
+ <key>ios-arm64/CloudSync.framework/Headers/CloudSync.h</key>
82
+ <dict>
83
+ <key>hash</key>
84
+ <data>
85
+ HhLoU+u0Z1WYbe1ieuR9nqYMOP8=
86
+ </data>
87
+ <key>hash2</key>
88
+ <data>
89
+ g1UmPX4/qWnSZ1/V1vYvGmLuafHBsAJFj++vpY6+xXA=
90
+ </data>
91
+ </dict>
92
+ <key>ios-arm64/CloudSync.framework/Info.plist</key>
93
+ <dict>
94
+ <key>hash</key>
95
+ <data>
96
+ aHgFCbr2zzPmULN9RN6EcdyELxI=
97
+ </data>
98
+ <key>hash2</key>
99
+ <data>
100
+ tPEmioAqaNdl6MkrjHvZaefzRPQucoWVfhXa3iEIdqc=
101
+ </data>
102
+ </dict>
103
+ <key>ios-arm64/CloudSync.framework/Modules/module.modulemap</key>
104
+ <dict>
105
+ <key>hash</key>
106
+ <data>
107
+ ro9xghwl6x7oHnWfH0PiOV6up+o=
108
+ </data>
109
+ <key>hash2</key>
110
+ <data>
111
+ bIwPn3WW18gPsoCQuL+cYaEBTMqTFCR6Y8FSln2GcXQ=
112
+ </data>
113
+ </dict>
114
+ <key>ios-arm64/CloudSync.framework/_CodeSignature/CodeResources</key>
115
+ <dict>
116
+ <key>hash</key>
117
+ <data>
118
+ P0dYzUCZkoGoWqRi0aUwlKkVL9Q=
119
+ </data>
120
+ <key>hash2</key>
121
+ <data>
122
+ 8UQseDzDBKRi36UOxEwCsk2MM/jJpxJ1LpQfYAp2ZSs=
123
+ </data>
124
+ </dict>
125
+ <key>ios-arm64_x86_64-simulator/CloudSync.framework/CloudSync</key>
126
+ <dict>
127
+ <key>hash</key>
128
+ <data>
129
+ EuDaVmm07Y/VMP3TCSJ2BlqGSqg=
130
+ </data>
131
+ <key>hash2</key>
132
+ <data>
133
+ oMp++4gTZiXYMpPYvHS9BlnN8WomtjdV3NRE/poliEU=
134
+ </data>
135
+ </dict>
136
+ <key>ios-arm64_x86_64-simulator/CloudSync.framework/Headers/CloudSync.h</key>
137
+ <dict>
138
+ <key>hash</key>
139
+ <data>
140
+ HhLoU+u0Z1WYbe1ieuR9nqYMOP8=
141
+ </data>
142
+ <key>hash2</key>
143
+ <data>
144
+ g1UmPX4/qWnSZ1/V1vYvGmLuafHBsAJFj++vpY6+xXA=
145
+ </data>
146
+ </dict>
147
+ <key>ios-arm64_x86_64-simulator/CloudSync.framework/Info.plist</key>
148
+ <dict>
149
+ <key>hash</key>
150
+ <data>
151
+ aHgFCbr2zzPmULN9RN6EcdyELxI=
152
+ </data>
153
+ <key>hash2</key>
154
+ <data>
155
+ tPEmioAqaNdl6MkrjHvZaefzRPQucoWVfhXa3iEIdqc=
156
+ </data>
157
+ </dict>
158
+ <key>ios-arm64_x86_64-simulator/CloudSync.framework/Modules/module.modulemap</key>
159
+ <dict>
160
+ <key>hash</key>
161
+ <data>
162
+ ro9xghwl6x7oHnWfH0PiOV6up+o=
163
+ </data>
164
+ <key>hash2</key>
165
+ <data>
166
+ bIwPn3WW18gPsoCQuL+cYaEBTMqTFCR6Y8FSln2GcXQ=
167
+ </data>
168
+ </dict>
169
+ <key>ios-arm64_x86_64-simulator/CloudSync.framework/_CodeSignature/CodeResources</key>
170
+ <dict>
171
+ <key>hash</key>
172
+ <data>
173
+ P0dYzUCZkoGoWqRi0aUwlKkVL9Q=
174
+ </data>
175
+ <key>hash2</key>
176
+ <data>
177
+ 8UQseDzDBKRi36UOxEwCsk2MM/jJpxJ1LpQfYAp2ZSs=
178
+ </data>
179
+ </dict>
180
+ <key>macos-arm64_x86_64/CloudSync.framework/CloudSync</key>
181
+ <dict>
182
+ <key>hash</key>
183
+ <data>
184
+ 1ULz8IuKNnpSuf36jCXZKvjFau0=
185
+ </data>
186
+ <key>hash2</key>
187
+ <data>
188
+ zwwu9Wrs7DV6fTZ9We9c0bd5fCE2VktdtQMUMuyPDYM=
189
+ </data>
190
+ </dict>
191
+ <key>macos-arm64_x86_64/CloudSync.framework/Headers/CloudSync.h</key>
192
+ <dict>
193
+ <key>hash</key>
194
+ <data>
195
+ HhLoU+u0Z1WYbe1ieuR9nqYMOP8=
196
+ </data>
197
+ <key>hash2</key>
198
+ <data>
199
+ g1UmPX4/qWnSZ1/V1vYvGmLuafHBsAJFj++vpY6+xXA=
200
+ </data>
201
+ </dict>
202
+ <key>macos-arm64_x86_64/CloudSync.framework/Info.plist</key>
203
+ <dict>
204
+ <key>hash</key>
205
+ <data>
206
+ aHgFCbr2zzPmULN9RN6EcdyELxI=
207
+ </data>
208
+ <key>hash2</key>
209
+ <data>
210
+ tPEmioAqaNdl6MkrjHvZaefzRPQucoWVfhXa3iEIdqc=
211
+ </data>
212
+ </dict>
213
+ <key>macos-arm64_x86_64/CloudSync.framework/Modules/module.modulemap</key>
214
+ <dict>
215
+ <key>hash</key>
216
+ <data>
217
+ ro9xghwl6x7oHnWfH0PiOV6up+o=
218
+ </data>
219
+ <key>hash2</key>
220
+ <data>
221
+ bIwPn3WW18gPsoCQuL+cYaEBTMqTFCR6Y8FSln2GcXQ=
222
+ </data>
223
+ </dict>
224
+ <key>macos-arm64_x86_64/CloudSync.framework/_CodeSignature/CodeResources</key>
225
+ <dict>
226
+ <key>hash</key>
227
+ <data>
228
+ P0dYzUCZkoGoWqRi0aUwlKkVL9Q=
229
+ </data>
230
+ <key>hash2</key>
231
+ <data>
232
+ 8UQseDzDBKRi36UOxEwCsk2MM/jJpxJ1LpQfYAp2ZSs=
233
+ </data>
234
+ </dict>
235
+ </dict>
236
+ <key>rules</key>
237
+ <dict>
238
+ <key>^.*</key>
239
+ <true/>
240
+ <key>^.*\.lproj/</key>
241
+ <dict>
242
+ <key>optional</key>
243
+ <true/>
244
+ <key>weight</key>
245
+ <real>1000</real>
246
+ </dict>
247
+ <key>^.*\.lproj/locversion.plist$</key>
248
+ <dict>
249
+ <key>omit</key>
250
+ <true/>
251
+ <key>weight</key>
252
+ <real>1100</real>
253
+ </dict>
254
+ <key>^Base\.lproj/</key>
255
+ <dict>
256
+ <key>weight</key>
257
+ <real>1010</real>
258
+ </dict>
259
+ <key>^version.plist$</key>
260
+ <true/>
261
+ </dict>
262
+ <key>rules2</key>
263
+ <dict>
264
+ <key>.*\.dSYM($|/)</key>
265
+ <dict>
266
+ <key>weight</key>
267
+ <real>11</real>
268
+ </dict>
269
+ <key>^(.*/)?\.DS_Store$</key>
270
+ <dict>
271
+ <key>omit</key>
272
+ <true/>
273
+ <key>weight</key>
274
+ <real>2000</real>
275
+ </dict>
276
+ <key>^.*</key>
277
+ <true/>
278
+ <key>^.*\.lproj/</key>
279
+ <dict>
280
+ <key>optional</key>
281
+ <true/>
282
+ <key>weight</key>
283
+ <real>1000</real>
284
+ </dict>
285
+ <key>^.*\.lproj/locversion.plist$</key>
286
+ <dict>
287
+ <key>omit</key>
288
+ <true/>
289
+ <key>weight</key>
290
+ <real>1100</real>
291
+ </dict>
292
+ <key>^Base\.lproj/</key>
293
+ <dict>
294
+ <key>weight</key>
295
+ <real>1010</real>
296
+ </dict>
297
+ <key>^Info\.plist$</key>
298
+ <dict>
299
+ <key>omit</key>
300
+ <true/>
301
+ <key>weight</key>
302
+ <real>20</real>
303
+ </dict>
304
+ <key>^PkgInfo$</key>
305
+ <dict>
306
+ <key>omit</key>
307
+ <true/>
308
+ <key>weight</key>
309
+ <real>20</real>
310
+ </dict>
311
+ <key>^embedded\.provisionprofile$</key>
312
+ <dict>
313
+ <key>weight</key>
314
+ <real>20</real>
315
+ </dict>
316
+ <key>^version\.plist$</key>
317
+ <dict>
318
+ <key>weight</key>
319
+ <real>20</real>
320
+ </dict>
321
+ </dict>
322
+ </dict>
323
+ </plist>
@@ -0,0 +1,31 @@
1
+ //
2
+ // cloudsync.h
3
+ // cloudsync
4
+ //
5
+ // Created by Marco Bambini on 16/05/24.
6
+ //
7
+
8
+ #ifndef __CLOUDSYNC__
9
+ #define __CLOUDSYNC__
10
+
11
+ #include <stdint.h>
12
+ #include <stdbool.h>
13
+ #ifndef SQLITE_CORE
14
+ #include "sqlite3ext.h"
15
+ #else
16
+ #include "sqlite3.h"
17
+ #endif
18
+
19
+ #ifdef __cplusplus
20
+ extern "C" {
21
+ #endif
22
+
23
+ #define CLOUDSYNC_VERSION "0.8.58"
24
+
25
+ int sqlite3_cloudsync_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi);
26
+
27
+ #ifdef __cplusplus
28
+ }
29
+ #endif
30
+
31
+ #endif
@@ -0,0 +1 @@
1
+ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>en</string> <key>CFBundleExecutable</key> <string>CloudSync</string> <key>CFBundleIdentifier</key> <string>ai.sqlite.cloudsync</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundlePackageType</key> <string>FMWK</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> <string>0.8.58</string> <key>CFBundleShortVersionString</key> <string>0.8.58</string> <key>MinimumOSVersion</key> <string>11.0</string> </dict> </plist>
@@ -0,0 +1 @@
1
+ framework module CloudSync { umbrella header "CloudSync.h" export * }
@@ -0,0 +1,124 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>files</key>
6
+ <dict>
7
+ <key>Headers/CloudSync.h</key>
8
+ <data>
9
+ HhLoU+u0Z1WYbe1ieuR9nqYMOP8=
10
+ </data>
11
+ <key>Info.plist</key>
12
+ <data>
13
+ aHgFCbr2zzPmULN9RN6EcdyELxI=
14
+ </data>
15
+ <key>Modules/module.modulemap</key>
16
+ <data>
17
+ ro9xghwl6x7oHnWfH0PiOV6up+o=
18
+ </data>
19
+ </dict>
20
+ <key>files2</key>
21
+ <dict>
22
+ <key>Headers/CloudSync.h</key>
23
+ <dict>
24
+ <key>hash2</key>
25
+ <data>
26
+ g1UmPX4/qWnSZ1/V1vYvGmLuafHBsAJFj++vpY6+xXA=
27
+ </data>
28
+ </dict>
29
+ <key>Modules/module.modulemap</key>
30
+ <dict>
31
+ <key>hash2</key>
32
+ <data>
33
+ bIwPn3WW18gPsoCQuL+cYaEBTMqTFCR6Y8FSln2GcXQ=
34
+ </data>
35
+ </dict>
36
+ </dict>
37
+ <key>rules</key>
38
+ <dict>
39
+ <key>^.*</key>
40
+ <true/>
41
+ <key>^.*\.lproj/</key>
42
+ <dict>
43
+ <key>optional</key>
44
+ <true/>
45
+ <key>weight</key>
46
+ <real>1000</real>
47
+ </dict>
48
+ <key>^.*\.lproj/locversion.plist$</key>
49
+ <dict>
50
+ <key>omit</key>
51
+ <true/>
52
+ <key>weight</key>
53
+ <real>1100</real>
54
+ </dict>
55
+ <key>^Base\.lproj/</key>
56
+ <dict>
57
+ <key>weight</key>
58
+ <real>1010</real>
59
+ </dict>
60
+ <key>^version.plist$</key>
61
+ <true/>
62
+ </dict>
63
+ <key>rules2</key>
64
+ <dict>
65
+ <key>.*\.dSYM($|/)</key>
66
+ <dict>
67
+ <key>weight</key>
68
+ <real>11</real>
69
+ </dict>
70
+ <key>^(.*/)?\.DS_Store$</key>
71
+ <dict>
72
+ <key>omit</key>
73
+ <true/>
74
+ <key>weight</key>
75
+ <real>2000</real>
76
+ </dict>
77
+ <key>^.*</key>
78
+ <true/>
79
+ <key>^.*\.lproj/</key>
80
+ <dict>
81
+ <key>optional</key>
82
+ <true/>
83
+ <key>weight</key>
84
+ <real>1000</real>
85
+ </dict>
86
+ <key>^.*\.lproj/locversion.plist$</key>
87
+ <dict>
88
+ <key>omit</key>
89
+ <true/>
90
+ <key>weight</key>
91
+ <real>1100</real>
92
+ </dict>
93
+ <key>^Base\.lproj/</key>
94
+ <dict>
95
+ <key>weight</key>
96
+ <real>1010</real>
97
+ </dict>
98
+ <key>^Info\.plist$</key>
99
+ <dict>
100
+ <key>omit</key>
101
+ <true/>
102
+ <key>weight</key>
103
+ <real>20</real>
104
+ </dict>
105
+ <key>^PkgInfo$</key>
106
+ <dict>
107
+ <key>omit</key>
108
+ <true/>
109
+ <key>weight</key>
110
+ <real>20</real>
111
+ </dict>
112
+ <key>^embedded\.provisionprofile$</key>
113
+ <dict>
114
+ <key>weight</key>
115
+ <real>20</real>
116
+ </dict>
117
+ <key>^version\.plist$</key>
118
+ <dict>
119
+ <key>weight</key>
120
+ <real>20</real>
121
+ </dict>
122
+ </dict>
123
+ </dict>
124
+ </plist>
@@ -0,0 +1,31 @@
1
+ //
2
+ // cloudsync.h
3
+ // cloudsync
4
+ //
5
+ // Created by Marco Bambini on 16/05/24.
6
+ //
7
+
8
+ #ifndef __CLOUDSYNC__
9
+ #define __CLOUDSYNC__
10
+
11
+ #include <stdint.h>
12
+ #include <stdbool.h>
13
+ #ifndef SQLITE_CORE
14
+ #include "sqlite3ext.h"
15
+ #else
16
+ #include "sqlite3.h"
17
+ #endif
18
+
19
+ #ifdef __cplusplus
20
+ extern "C" {
21
+ #endif
22
+
23
+ #define CLOUDSYNC_VERSION "0.8.58"
24
+
25
+ int sqlite3_cloudsync_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi);
26
+
27
+ #ifdef __cplusplus
28
+ }
29
+ #endif
30
+
31
+ #endif
@@ -0,0 +1 @@
1
+ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>en</string> <key>CFBundleExecutable</key> <string>CloudSync</string> <key>CFBundleIdentifier</key> <string>ai.sqlite.cloudsync</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundlePackageType</key> <string>FMWK</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> <string>0.8.58</string> <key>CFBundleShortVersionString</key> <string>0.8.58</string> <key>MinimumOSVersion</key> <string>11.0</string> </dict> </plist>
@@ -0,0 +1 @@
1
+ framework module CloudSync { umbrella header "CloudSync.h" export * }
@@ -0,0 +1,124 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>files</key>
6
+ <dict>
7
+ <key>Headers/CloudSync.h</key>
8
+ <data>
9
+ HhLoU+u0Z1WYbe1ieuR9nqYMOP8=
10
+ </data>
11
+ <key>Info.plist</key>
12
+ <data>
13
+ aHgFCbr2zzPmULN9RN6EcdyELxI=
14
+ </data>
15
+ <key>Modules/module.modulemap</key>
16
+ <data>
17
+ ro9xghwl6x7oHnWfH0PiOV6up+o=
18
+ </data>
19
+ </dict>
20
+ <key>files2</key>
21
+ <dict>
22
+ <key>Headers/CloudSync.h</key>
23
+ <dict>
24
+ <key>hash2</key>
25
+ <data>
26
+ g1UmPX4/qWnSZ1/V1vYvGmLuafHBsAJFj++vpY6+xXA=
27
+ </data>
28
+ </dict>
29
+ <key>Modules/module.modulemap</key>
30
+ <dict>
31
+ <key>hash2</key>
32
+ <data>
33
+ bIwPn3WW18gPsoCQuL+cYaEBTMqTFCR6Y8FSln2GcXQ=
34
+ </data>
35
+ </dict>
36
+ </dict>
37
+ <key>rules</key>
38
+ <dict>
39
+ <key>^.*</key>
40
+ <true/>
41
+ <key>^.*\.lproj/</key>
42
+ <dict>
43
+ <key>optional</key>
44
+ <true/>
45
+ <key>weight</key>
46
+ <real>1000</real>
47
+ </dict>
48
+ <key>^.*\.lproj/locversion.plist$</key>
49
+ <dict>
50
+ <key>omit</key>
51
+ <true/>
52
+ <key>weight</key>
53
+ <real>1100</real>
54
+ </dict>
55
+ <key>^Base\.lproj/</key>
56
+ <dict>
57
+ <key>weight</key>
58
+ <real>1010</real>
59
+ </dict>
60
+ <key>^version.plist$</key>
61
+ <true/>
62
+ </dict>
63
+ <key>rules2</key>
64
+ <dict>
65
+ <key>.*\.dSYM($|/)</key>
66
+ <dict>
67
+ <key>weight</key>
68
+ <real>11</real>
69
+ </dict>
70
+ <key>^(.*/)?\.DS_Store$</key>
71
+ <dict>
72
+ <key>omit</key>
73
+ <true/>
74
+ <key>weight</key>
75
+ <real>2000</real>
76
+ </dict>
77
+ <key>^.*</key>
78
+ <true/>
79
+ <key>^.*\.lproj/</key>
80
+ <dict>
81
+ <key>optional</key>
82
+ <true/>
83
+ <key>weight</key>
84
+ <real>1000</real>
85
+ </dict>
86
+ <key>^.*\.lproj/locversion.plist$</key>
87
+ <dict>
88
+ <key>omit</key>
89
+ <true/>
90
+ <key>weight</key>
91
+ <real>1100</real>
92
+ </dict>
93
+ <key>^Base\.lproj/</key>
94
+ <dict>
95
+ <key>weight</key>
96
+ <real>1010</real>
97
+ </dict>
98
+ <key>^Info\.plist$</key>
99
+ <dict>
100
+ <key>omit</key>
101
+ <true/>
102
+ <key>weight</key>
103
+ <real>20</real>
104
+ </dict>
105
+ <key>^PkgInfo$</key>
106
+ <dict>
107
+ <key>omit</key>
108
+ <true/>
109
+ <key>weight</key>
110
+ <real>20</real>
111
+ </dict>
112
+ <key>^embedded\.provisionprofile$</key>
113
+ <dict>
114
+ <key>weight</key>
115
+ <real>20</real>
116
+ </dict>
117
+ <key>^version\.plist$</key>
118
+ <dict>
119
+ <key>weight</key>
120
+ <real>20</real>
121
+ </dict>
122
+ </dict>
123
+ </dict>
124
+ </plist>
@@ -0,0 +1,31 @@
1
+ //
2
+ // cloudsync.h
3
+ // cloudsync
4
+ //
5
+ // Created by Marco Bambini on 16/05/24.
6
+ //
7
+
8
+ #ifndef __CLOUDSYNC__
9
+ #define __CLOUDSYNC__
10
+
11
+ #include <stdint.h>
12
+ #include <stdbool.h>
13
+ #ifndef SQLITE_CORE
14
+ #include "sqlite3ext.h"
15
+ #else
16
+ #include "sqlite3.h"
17
+ #endif
18
+
19
+ #ifdef __cplusplus
20
+ extern "C" {
21
+ #endif
22
+
23
+ #define CLOUDSYNC_VERSION "0.8.58"
24
+
25
+ int sqlite3_cloudsync_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi);
26
+
27
+ #ifdef __cplusplus
28
+ }
29
+ #endif
30
+
31
+ #endif
@@ -0,0 +1 @@
1
+ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>en</string> <key>CFBundleExecutable</key> <string>CloudSync</string> <key>CFBundleIdentifier</key> <string>ai.sqlite.cloudsync</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundlePackageType</key> <string>FMWK</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> <string>0.8.58</string> <key>CFBundleShortVersionString</key> <string>0.8.58</string> <key>MinimumOSVersion</key> <string>11.0</string> </dict> </plist>
@@ -0,0 +1 @@
1
+ framework module CloudSync { umbrella header "CloudSync.h" export * }
@@ -0,0 +1,124 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>files</key>
6
+ <dict>
7
+ <key>Headers/CloudSync.h</key>
8
+ <data>
9
+ HhLoU+u0Z1WYbe1ieuR9nqYMOP8=
10
+ </data>
11
+ <key>Info.plist</key>
12
+ <data>
13
+ aHgFCbr2zzPmULN9RN6EcdyELxI=
14
+ </data>
15
+ <key>Modules/module.modulemap</key>
16
+ <data>
17
+ ro9xghwl6x7oHnWfH0PiOV6up+o=
18
+ </data>
19
+ </dict>
20
+ <key>files2</key>
21
+ <dict>
22
+ <key>Headers/CloudSync.h</key>
23
+ <dict>
24
+ <key>hash2</key>
25
+ <data>
26
+ g1UmPX4/qWnSZ1/V1vYvGmLuafHBsAJFj++vpY6+xXA=
27
+ </data>
28
+ </dict>
29
+ <key>Modules/module.modulemap</key>
30
+ <dict>
31
+ <key>hash2</key>
32
+ <data>
33
+ bIwPn3WW18gPsoCQuL+cYaEBTMqTFCR6Y8FSln2GcXQ=
34
+ </data>
35
+ </dict>
36
+ </dict>
37
+ <key>rules</key>
38
+ <dict>
39
+ <key>^.*</key>
40
+ <true/>
41
+ <key>^.*\.lproj/</key>
42
+ <dict>
43
+ <key>optional</key>
44
+ <true/>
45
+ <key>weight</key>
46
+ <real>1000</real>
47
+ </dict>
48
+ <key>^.*\.lproj/locversion.plist$</key>
49
+ <dict>
50
+ <key>omit</key>
51
+ <true/>
52
+ <key>weight</key>
53
+ <real>1100</real>
54
+ </dict>
55
+ <key>^Base\.lproj/</key>
56
+ <dict>
57
+ <key>weight</key>
58
+ <real>1010</real>
59
+ </dict>
60
+ <key>^version.plist$</key>
61
+ <true/>
62
+ </dict>
63
+ <key>rules2</key>
64
+ <dict>
65
+ <key>.*\.dSYM($|/)</key>
66
+ <dict>
67
+ <key>weight</key>
68
+ <real>11</real>
69
+ </dict>
70
+ <key>^(.*/)?\.DS_Store$</key>
71
+ <dict>
72
+ <key>omit</key>
73
+ <true/>
74
+ <key>weight</key>
75
+ <real>2000</real>
76
+ </dict>
77
+ <key>^.*</key>
78
+ <true/>
79
+ <key>^.*\.lproj/</key>
80
+ <dict>
81
+ <key>optional</key>
82
+ <true/>
83
+ <key>weight</key>
84
+ <real>1000</real>
85
+ </dict>
86
+ <key>^.*\.lproj/locversion.plist$</key>
87
+ <dict>
88
+ <key>omit</key>
89
+ <true/>
90
+ <key>weight</key>
91
+ <real>1100</real>
92
+ </dict>
93
+ <key>^Base\.lproj/</key>
94
+ <dict>
95
+ <key>weight</key>
96
+ <real>1010</real>
97
+ </dict>
98
+ <key>^Info\.plist$</key>
99
+ <dict>
100
+ <key>omit</key>
101
+ <true/>
102
+ <key>weight</key>
103
+ <real>20</real>
104
+ </dict>
105
+ <key>^PkgInfo$</key>
106
+ <dict>
107
+ <key>omit</key>
108
+ <true/>
109
+ <key>weight</key>
110
+ <real>20</real>
111
+ </dict>
112
+ <key>^embedded\.provisionprofile$</key>
113
+ <dict>
114
+ <key>weight</key>
115
+ <real>20</real>
116
+ </dict>
117
+ <key>^version\.plist$</key>
118
+ <dict>
119
+ <key>weight</key>
120
+ <real>20</real>
121
+ </dict>
122
+ </dict>
123
+ </dict>
124
+ </plist>
package/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "@sqliteai/sqlite-sync-expo",
3
+ "version": "0.8.58",
4
+ "description": "SQLite Sync extension for React Native/Expo - Sync on-device databases with SQLite Cloud",
5
+ "main": "src/index.js",
6
+ "types": "src/index.d.ts",
7
+ "files": [
8
+ "src",
9
+ "android",
10
+ "ios",
11
+ "app.plugin.js"
12
+ ],
13
+ "keywords": [
14
+ "react-native",
15
+ "expo",
16
+ "expo-plugin",
17
+ "sqlite",
18
+ "sqlite-sync",
19
+ "sync",
20
+ "offline-first",
21
+ "database-sync"
22
+ ],
23
+ "author": "SQLite AI",
24
+ "license": "SEE LICENSE IN LICENSE.md",
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "https://github.com/sqliteai/sqlite-sync.git",
28
+ "directory": "packages/expo"
29
+ },
30
+ "homepage": "https://github.com/sqliteai/sqlite-sync#react-native--expo",
31
+ "bugs": {
32
+ "url": "https://github.com/sqliteai/sqlite-sync/issues"
33
+ },
34
+ "peerDependencies": {
35
+ "expo": ">=51.0.0",
36
+ "react-native": ">=0.73.0"
37
+ },
38
+ "peerDependenciesMeta": {
39
+ "expo": {
40
+ "optional": true
41
+ }
42
+ }
43
+ }
package/src/index.d.ts ADDED
@@ -0,0 +1,12 @@
1
+ declare module '@sqliteai/sqlite-sync-expo' {
2
+ export const name: string;
3
+
4
+ export const ios: {
5
+ bundleId: string;
6
+ frameworkName: string;
7
+ };
8
+
9
+ export const android: {
10
+ libraryName: string;
11
+ };
12
+ }
package/src/index.js ADDED
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @sqliteai/sqlite-sync-expo
3
+ *
4
+ * SQLite Sync extension binaries for React Native/Expo.
5
+ * This package provides pre-built binaries and an Expo config plugin.
6
+ *
7
+ * Usage:
8
+ * 1. Add to app.json plugins: ["@sqliteai/sqlite-sync-expo"]
9
+ * 2. Run: npx expo prebuild --clean
10
+ * 3. Load extension in your code (see README)
11
+ */
12
+
13
+ module.exports = {
14
+ // Package metadata
15
+ name: '@sqliteai/sqlite-sync-expo',
16
+
17
+ // Extension identifiers for loading
18
+ ios: {
19
+ bundleId: 'ai.sqlite.cloudsync',
20
+ frameworkName: 'CloudSync',
21
+ },
22
+ android: {
23
+ libraryName: 'cloudsync',
24
+ },
25
+ };