@legendapp/spark 0.0.2 → 0.0.4
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.
- package/init-template.cjs +7 -1
- package/package.json +10 -5
- package/patches/dependencies.json +252 -0
- package/patches/expo-application@55.0.19.patch +54 -0
- package/patches/expo-blur@55.0.18.patch +130 -0
- package/patches/expo-device@55.0.21.patch +149 -0
- package/patches/expo-font@55.0.8.patch +55 -0
- package/patches/expo-glass-effect@55.0.11.patch +304 -0
- package/patches/expo-haptics@55.0.18.patch +54 -0
- package/patches/expo-image-manipulator@55.0.21.patch +312 -0
- package/patches/expo-image-picker@55.0.24.patch +327 -0
- package/patches/expo-image@55.0.11.patch +158 -0
- package/patches/expo-keep-awake@55.0.8.patch +41 -0
- package/patches/expo-localization@55.0.19.patch +32 -0
- package/patches/expo-location@55.1.15.patch +190 -0
- package/patches/expo-symbols@55.0.9.patch +286 -0
- package/patches/expo-system-ui@55.0.22.patch +61 -0
- package/patches/expo-web-browser@55.0.20.patch +13 -0
- package/patches/react-native-app-logs@0.3.1.patch +20 -0
- package/patches/react-native-blurhash@2.1.3.patch +318 -0
- package/patches/react-native-community-blur@4.4.1.patch +415 -0
- package/patches/react-native-community-datetimepicker@9.2.2.patch +320 -0
- package/patches/react-native-fast-image@10.9.9.patch +131 -0
- package/patches/react-native-graph@1.4.0.patch +157 -0
- package/patches/react-native-keyboard-controller@1.22.9.patch +16 -0
- package/patches/react-native-masked-view-masked-view@0.3.2.patch +140 -0
- package/patches/react-native-mmkv@4.3.2.patch +40 -0
- package/patches/react-native-nitro-fetch@1.9.0.patch +130 -0
- package/patches/react-native-nitro-zxing@0.3.0.patch +13 -0
- package/patches/react-native-nitro-zxing@0.3.1.patch +22 -0
- package/patches/react-native-quick-base64@3.0.1.patch +13 -0
- package/patches/react-native-quick-crypto@1.1.9.patch +31 -0
- package/patches/react-native-release-profiler@0.4.5.patch +37 -0
- package/patches/react-native-screen-corner-radius@0.2.3.patch +13 -0
- package/patches/react-native-screens@4.23.0.patch +160 -0
- package/patches/react-native-svg@15.15.3.patch +31 -0
- package/patches/react-native-unistyles@3.6.0.patch +203 -0
- package/patches/react-native-worklets-core@1.6.3.patch +13 -0
- package/patches/react-navigation-native-stack@7.21.0.patch +16 -0
- package/patches/registry.json +615 -0
- package/patches/sentry-react-native@8.32.0.patch +76 -0
- package/patches/workspace/expo-audio@55.0.18.patch +159 -0
- package/patches/workspace/op-engineering-op-sqlite@18.2.1.patch +796 -0
- package/patches/workspace/react-native-nitro-modules@0.37.0.patch +1348 -0
- package/patches/workspace/react-native-runtimes-core@0.1.0-alpha.2.patch +276 -0
- package/patches/workspace/react-native-webview@16.0.0.patch +208 -0
- package/postinstall.cjs +10 -1
- package/skills/spark/SKILL.md +37 -4
- package/skills/spark/UPGRADING.md +150 -1
- package/skills/spark/ai-customize.md +39 -0
- package/skills/spark/app-and-documents.md +56 -0
- package/skills/spark/external-libraries.md +87 -0
- package/skills/spark/files.md +64 -0
- package/skills/spark/integrations.md +69 -0
- package/skills/spark/keyboard.md +54 -0
- package/skills/spark/library-compat.md +76 -0
- package/skills/spark/menus-tray-dock.md +83 -0
- package/skills/spark/storage-settings.md +85 -0
- package/skills/spark/ui.md +57 -0
- package/skills/spark/windows.md +91 -0
- package/ui-popover.ts +1 -0
- package/ui-progress.ts +1 -0
- package/ui-sheet.ts +1 -0
- package/ui-split-view.ts +1 -0
- package/ui-table.ts +1 -0
- package/vendor/node_modules/@legendapp/spark-ai/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-audio/package.json +3 -13
- package/vendor/node_modules/@legendapp/spark-auth-session/package.json +3 -10
- package/vendor/node_modules/@legendapp/spark-cli/dist/add-desktop.js +5 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/build.js +139 -104
- package/vendor/node_modules/@legendapp/spark-cli/dist/cli-arguments.js +4 -1
- package/vendor/node_modules/@legendapp/spark-cli/dist/commands.js +16 -7
- package/vendor/node_modules/@legendapp/spark-cli/dist/dependency-pins.js +19 -3
- package/vendor/node_modules/@legendapp/spark-cli/dist/dev-command.js +2 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/dev.js +10 -2
- package/vendor/node_modules/@legendapp/spark-cli/dist/enriched-html-pins.js +2 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/errors.js +1 -1
- package/vendor/node_modules/@legendapp/spark-cli/dist/index.js +57 -9
- package/vendor/node_modules/@legendapp/spark-cli/dist/init-template.cjs +12 -2
- package/vendor/node_modules/@legendapp/spark-cli/dist/init-template.d.cts +1 -1
- package/vendor/node_modules/@legendapp/spark-cli/dist/metro.cjs +1 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/migrate.js +65 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/migration-helpers.cjs +4 -4
- package/vendor/node_modules/@legendapp/spark-cli/dist/migration-helpers.d.cts +2 -2
- package/vendor/node_modules/@legendapp/spark-cli/dist/migrations.cjs +15 -8
- package/vendor/node_modules/@legendapp/spark-cli/dist/native-patch-preflight.js +35 -7
- package/vendor/node_modules/@legendapp/spark-cli/dist/patch.js +92 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/project-version.js +12 -4
- package/vendor/node_modules/@legendapp/spark-cli/dist/project.js +20 -1
- package/vendor/node_modules/@legendapp/spark-cli/dist/release.json +20 -20
- package/vendor/node_modules/@legendapp/spark-cli/dist/runtime-input-cache.js +140 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/upgrade.js +1 -1
- package/vendor/node_modules/@legendapp/spark-cli/dist/windows.js +3 -0
- package/vendor/node_modules/@legendapp/spark-cli/package.json +5 -4
- package/vendor/node_modules/@legendapp/spark-cli/templates/blank-typescript/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-cli/templates/universal/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-cli/templates/windows/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-clipboard/macos/RNDesktopClipboard.mm +1 -1
- package/vendor/node_modules/@legendapp/spark-clipboard/package.json +3 -10
- package/vendor/node_modules/@legendapp/spark-clipboard/src/desktop.ts +1 -0
- package/vendor/node_modules/@legendapp/spark-codex/package.json +3 -7
- package/vendor/node_modules/@legendapp/spark-commands/package.json +5 -5
- package/vendor/node_modules/@legendapp/spark-context-menu/package.json +3 -10
- package/vendor/node_modules/@legendapp/spark-desktop-app/macos/SparkDesktop.h +3 -1
- package/vendor/node_modules/@legendapp/spark-desktop-app/macos/SparkDesktop.mm +51 -10
- package/vendor/node_modules/@legendapp/spark-desktop-app/macos/SparkStorage.h +4 -0
- package/vendor/node_modules/@legendapp/spark-desktop-app/macos/SparkStorage.mm +82 -0
- package/vendor/node_modules/@legendapp/spark-desktop-app/macos/SparkTestDriver.mm +64 -2
- package/vendor/node_modules/@legendapp/spark-desktop-app/package.json +2 -8
- package/vendor/node_modules/@legendapp/spark-desktop-config/autolinking.cjs +3 -2
- package/vendor/node_modules/@legendapp/spark-desktop-config/config.cjs +6 -8
- package/vendor/node_modules/@legendapp/spark-desktop-config/identity.cjs +2 -0
- package/vendor/node_modules/@legendapp/spark-desktop-config/native-patches.cjs +315 -68
- package/vendor/node_modules/@legendapp/spark-desktop-config/native-patches.d.cts +7 -0
- package/vendor/node_modules/@legendapp/spark-desktop-config/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-desktop-config/patch-registry.cjs +318 -0
- package/vendor/node_modules/@legendapp/spark-desktop-config/patch-registry.d.cts +20 -0
- package/vendor/node_modules/@legendapp/spark-desktop-config/validation.cjs +66 -9
- package/vendor/node_modules/@legendapp/spark-desktop-config/windows.plugin.cjs +1 -0
- package/vendor/node_modules/@legendapp/spark-desktop-host/AppDelegate.mm +1 -0
- package/vendor/node_modules/@legendapp/spark-desktop-host/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-desktop-links/package.json +3 -10
- package/vendor/node_modules/@legendapp/spark-desktop-shortcuts/package.json +3 -10
- package/vendor/node_modules/@legendapp/spark-desktop-windows/macos/RNDesktopWindows.mm +7 -2
- package/vendor/node_modules/@legendapp/spark-desktop-windows/macos/window-manager/RNWindowManager.mm +235 -240
- package/vendor/node_modules/@legendapp/spark-desktop-windows/package.json +4 -11
- package/vendor/node_modules/@legendapp/spark-desktop-windows/src/api.ts +9 -3
- package/vendor/node_modules/@legendapp/spark-desktop-windows/src/macos-adapter.ts +7 -0
- package/vendor/node_modules/@legendapp/spark-desktop-windows/src/types.ts +32 -3
- package/vendor/node_modules/@legendapp/spark-desktop-windows/src/validation.ts +28 -11
- package/vendor/node_modules/@legendapp/spark-desktop-windows/src/windows/createWindowsNavigator.tsx +15 -3
- package/vendor/node_modules/@legendapp/spark-desktop-windows/src/windows/primaryWindowLifecycle.ts +12 -3
- package/vendor/node_modules/@legendapp/spark-desktop-windows/src/windows/usePrimaryWindowLifecycle.ts +2 -1
- package/vendor/node_modules/@legendapp/spark-desktop-windows/src/windows/useWindowFocusEffect.ts +4 -1
- package/vendor/node_modules/@legendapp/spark-documents/package.json +7 -7
- package/vendor/node_modules/@legendapp/spark-drag-drop/macos/RNDesktopDragView.mm +77 -17
- package/vendor/node_modules/@legendapp/spark-drag-drop/package.json +3 -8
- package/vendor/node_modules/@legendapp/spark-drag-drop/src/DesktopDragViewNativeComponent.ts +1 -0
- package/vendor/node_modules/@legendapp/spark-drag-drop/src/contracts.ts +13 -4
- package/vendor/node_modules/@legendapp/spark-drag-drop/src/index.tsx +5 -3
- package/vendor/node_modules/@legendapp/spark-drag-drop/windows/SparkDragDrop/SparkDragDrop.h +6 -1
- package/vendor/node_modules/@legendapp/spark-expo-compat/metro.cjs +44 -0
- package/vendor/node_modules/@legendapp/spark-expo-compat/package.json +20 -0
- package/vendor/node_modules/@legendapp/spark-expo-compat/src/clipboard.ts +40 -0
- package/vendor/node_modules/@legendapp/spark-expo-compat/src/document-picker.ts +52 -0
- package/vendor/node_modules/@legendapp/spark-file-dialog/package.json +3 -10
- package/vendor/node_modules/@legendapp/spark-file-dialog/src/options.ts +5 -2
- package/vendor/node_modules/@legendapp/spark-file-dialog/src/types.ts +3 -3
- package/vendor/node_modules/@legendapp/spark-file-system/macos/RNDesktopFileSystem.mm +1 -1
- package/vendor/node_modules/@legendapp/spark-file-system/package.json +3 -11
- package/vendor/node_modules/@legendapp/spark-global-shortcuts/package.json +3 -10
- package/vendor/node_modules/@legendapp/spark-html/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-markdown/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-message-dialog/package.json +3 -10
- package/vendor/node_modules/@legendapp/spark-message-dialog/src/index.ts +1 -0
- package/vendor/node_modules/@legendapp/spark-native-menu/package.json +3 -9
- package/vendor/node_modules/@legendapp/spark-native-menu/src/hooks.ts +4 -0
- package/vendor/node_modules/@legendapp/spark-notifications/package.json +3 -10
- package/vendor/node_modules/@legendapp/spark-processes/package.json +3 -10
- package/vendor/node_modules/@legendapp/spark-rich-text/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-secure-storage/package.json +3 -10
- package/vendor/node_modules/@legendapp/spark-settings/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-settings-ui/package.json +4 -4
- package/vendor/node_modules/@legendapp/spark-sqlite/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-system/package.json +3 -10
- package/vendor/node_modules/@legendapp/spark-tray/package.json +3 -10
- package/vendor/node_modules/@legendapp/spark-tray/src/index.ts +2 -1
- package/vendor/node_modules/@legendapp/spark-ui/macos/RNSparkButton.mm +82 -14
- package/vendor/node_modules/@legendapp/spark-ui/macos/RNSparkTextInput.h +1 -1
- package/vendor/node_modules/@legendapp/spark-ui/macos/RNSparkTextInput.mm +94 -11
- package/vendor/node_modules/@legendapp/spark-ui/macos/appkit-split-view/RNSidebarSplitViewComponent.mm +235 -18
- package/vendor/node_modules/@legendapp/spark-ui/macos/appkit-split-view/RNSparkPaneSplitView.h +17 -0
- package/vendor/node_modules/@legendapp/spark-ui/macos/appkit-split-view/RNSparkPaneSplitView.mm +216 -0
- package/vendor/node_modules/@legendapp/spark-ui/macos/appkit-split-view/RNSparkSplitViewComponent.h +4 -0
- package/vendor/node_modules/@legendapp/spark-ui/macos/appkit-split-view/RNSparkSplitViewComponent.mm +212 -0
- package/vendor/node_modules/@legendapp/spark-ui/macos/appkit-split-view/RNSparkSplitViewUpdates.h +6 -0
- package/vendor/node_modules/@legendapp/spark-ui/macos/native-select/RNNativeSegmentedControl.mm +26 -13
- package/vendor/node_modules/@legendapp/spark-ui/macos/popover/RNSparkPopover.h +9 -0
- package/vendor/node_modules/@legendapp/spark-ui/macos/popover/RNSparkPopover.mm +126 -0
- package/vendor/node_modules/@legendapp/spark-ui/macos/progress/RNSparkProgressIndicator.h +9 -0
- package/vendor/node_modules/@legendapp/spark-ui/macos/progress/RNSparkProgressIndicator.mm +66 -0
- package/vendor/node_modules/@legendapp/spark-ui/macos/radio-group/RNSparkRadioGroup.h +9 -0
- package/vendor/node_modules/@legendapp/spark-ui/macos/radio-group/RNSparkRadioGroup.mm +118 -0
- package/vendor/node_modules/@legendapp/spark-ui/macos/sf-symbol/RNSFSymbol.mm +4 -12
- package/vendor/node_modules/@legendapp/spark-ui/macos/sheet/RNSparkSheet.h +9 -0
- package/vendor/node_modules/@legendapp/spark-ui/macos/sheet/RNSparkSheet.mm +109 -0
- package/vendor/node_modules/@legendapp/spark-ui/macos/sidebar/RNSidebar.mm +418 -102
- package/vendor/node_modules/@legendapp/spark-ui/macos/table/RNSparkTable.h +9 -0
- package/vendor/node_modules/@legendapp/spark-ui/macos/table/RNSparkTable.mm +179 -0
- package/vendor/node_modules/@legendapp/spark-ui/package.json +9 -8
- package/vendor/node_modules/@legendapp/spark-ui/src/SparkButtonNativeComponent.ts +10 -2
- package/vendor/node_modules/@legendapp/spark-ui/src/SparkTextInputNativeComponent.ts +2 -0
- package/vendor/node_modules/@legendapp/spark-ui/src/appkit-split-view/SidebarSplitViewNativeComponent.ts +9 -0
- package/vendor/node_modules/@legendapp/spark-ui/src/appkit-split-view/SplitView.tsx +99 -0
- package/vendor/node_modules/@legendapp/spark-ui/src/appkit-split-view/SplitViewNativeComponent.ts +29 -0
- package/vendor/node_modules/@legendapp/spark-ui/src/appkit-split-view/index.tsx +34 -17
- package/vendor/node_modules/@legendapp/spark-ui/src/availability.ts +5 -4
- package/vendor/node_modules/@legendapp/spark-ui/src/checkbox-unavailable.tsx +20 -0
- package/vendor/node_modules/@legendapp/spark-ui/src/control.ts +24 -3
- package/vendor/node_modules/@legendapp/spark-ui/src/desktop.tsx +63 -13
- package/vendor/node_modules/@legendapp/spark-ui/src/index.android.tsx +12 -7
- package/vendor/node_modules/@legendapp/spark-ui/src/index.ios.tsx +12 -7
- package/vendor/node_modules/@legendapp/spark-ui/src/index.web.tsx +35 -13
- package/vendor/node_modules/@legendapp/spark-ui/src/mobile-input.tsx +2 -2
- package/vendor/node_modules/@legendapp/spark-ui/src/native-select/NativeSegmentedControlNativeComponent.ts +3 -1
- package/vendor/node_modules/@legendapp/spark-ui/src/popover/PopoverNativeComponent.ts +20 -0
- package/vendor/node_modules/@legendapp/spark-ui/src/popover/index.tsx +45 -0
- package/vendor/node_modules/@legendapp/spark-ui/src/progress/ProgressIndicatorNativeComponent.ts +13 -0
- package/vendor/node_modules/@legendapp/spark-ui/src/progress/index.tsx +32 -0
- package/vendor/node_modules/@legendapp/spark-ui/src/radio-group/RadioGroupNativeComponent.ts +17 -0
- package/vendor/node_modules/@legendapp/spark-ui/src/sheet/SheetNativeComponent.ts +15 -0
- package/vendor/node_modules/@legendapp/spark-ui/src/sheet/index.tsx +38 -0
- package/vendor/node_modules/@legendapp/spark-ui/src/sidebar/SidebarItemNativeComponent.ts +9 -1
- package/vendor/node_modules/@legendapp/spark-ui/src/sidebar/SidebarNativeComponent.ts +17 -2
- package/vendor/node_modules/@legendapp/spark-ui/src/sidebar/index.tsx +106 -22
- package/vendor/node_modules/@legendapp/spark-ui/src/table/TableNativeComponent.ts +22 -0
- package/vendor/node_modules/@legendapp/spark-ui/src/table/index.tsx +118 -0
- package/vendor/node_modules/@legendapp/spark-ui/src/types.ts +39 -6
- package/vendor/node_modules/@legendapp/spark-ui/uniwind.ts +3 -1
- package/vendor/node_modules/@legendapp/spark-ui/uniwind.web.ts +2 -1
- package/vendor/node_modules/@legendapp/spark-ui/windows/SparkUI/SparkUI.h +46 -15
- package/vendor/node_modules/@legendapp/spark-updates/package.json +3 -9
- package/vendor/node_modules/@legendapp/spark-webview/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-window-options/package.json +1 -1
package/init-template.cjs
CHANGED
|
@@ -1,2 +1,8 @@
|
|
|
1
1
|
module.exports = require("./vendor/node_modules/@legendapp/spark-cli/dist/init-template.cjs");
|
|
2
|
-
if (require.main === module)
|
|
2
|
+
if (require.main === module) {
|
|
3
|
+
const root = process.cwd();
|
|
4
|
+
require("./vendor/node_modules/@legendapp/spark-desktop-config/patch-registry.cjs").ensurePatchRegistry(root).then(() => {
|
|
5
|
+
module.exports.initializeTemplate(root);
|
|
6
|
+
require("./vendor/node_modules/@legendapp/spark-desktop-config/native-patches.cjs").prepareNativePatches(root);
|
|
7
|
+
}).catch(error => { console.error(error.message); process.exitCode = 1; });
|
|
8
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/spark",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -63,6 +63,10 @@
|
|
|
63
63
|
"./ui/glass": "./ui-glass.ts",
|
|
64
64
|
"./ui/swipe": "./ui-swipe.ts",
|
|
65
65
|
"./ui/symbol": "./ui-symbol.ts",
|
|
66
|
+
"./ui/popover": "./ui-popover.ts",
|
|
67
|
+
"./ui/sheet": "./ui-sheet.ts",
|
|
68
|
+
"./ui/table": "./ui-table.ts",
|
|
69
|
+
"./ui/progress": "./ui-progress.ts",
|
|
66
70
|
"./ui/search": "./ui-search.ts",
|
|
67
71
|
"./settings/window": "./settings-window.ts",
|
|
68
72
|
"./settings/observable": "./settings-observable.ts",
|
|
@@ -184,7 +188,7 @@
|
|
|
184
188
|
"spark": {
|
|
185
189
|
"nativePatchRequirements": {
|
|
186
190
|
"schema": 1,
|
|
187
|
-
"frameworkVersion": "0.0.
|
|
191
|
+
"frameworkVersion": "0.0.4",
|
|
188
192
|
"packages": {
|
|
189
193
|
"@react-native-runtimes/core": {
|
|
190
194
|
"version": "0.1.0-alpha.2",
|
|
@@ -193,17 +197,17 @@
|
|
|
193
197
|
},
|
|
194
198
|
"react-native-nitro-modules": {
|
|
195
199
|
"version": "0.37.0",
|
|
196
|
-
"patchHash": "
|
|
200
|
+
"patchHash": "2baedc8e2b79533f215059b2fb5d02f9813e2ee7505d799b038cb66216428282",
|
|
197
201
|
"upstreamIntegrity": "sha512-ULS2CBZcdwGw5d4Y35EV/tbCOsNsQOnQ9LC9CehMhDNm5c90lwF/LxRamzKuFpjI547G7teTQgD0peqYSGnP9g=="
|
|
198
202
|
},
|
|
199
203
|
"@op-engineering/op-sqlite": {
|
|
200
204
|
"version": "18.2.1",
|
|
201
|
-
"patchHash": "
|
|
205
|
+
"patchHash": "6132dbdfb11e775d02c581a4dcb445a3f59f2a1d286df4ede31a5f0194dcbc2d",
|
|
202
206
|
"upstreamIntegrity": "sha512-atVOtXyFzO0e454eVS27AMwRs515URCKrkvLLG+mGKcyiF5UPfC53oukpNp2UmVzlLebyTEXNkTYs6n0dVGd0g=="
|
|
203
207
|
},
|
|
204
208
|
"react-native-webview": {
|
|
205
209
|
"version": "16.0.0",
|
|
206
|
-
"patchHash": "
|
|
210
|
+
"patchHash": "3848bb32ccbbe17f788c8678b984bebad232f0123a48d803c451d28642f043e9",
|
|
207
211
|
"upstreamIntegrity": "sha512-KIg5Yhy04lQfHdXC1JQPM+0kftMfPnH6AqDH7v6YskQ9kzfUacooofOFRmbaZHASq/0WY87Fx0peiFETFjOcCg=="
|
|
208
212
|
},
|
|
209
213
|
"expo-audio": {
|
|
@@ -230,6 +234,7 @@
|
|
|
230
234
|
"@legendapp/spark-desktop-windows",
|
|
231
235
|
"@legendapp/spark-documents",
|
|
232
236
|
"@legendapp/spark-drag-drop",
|
|
237
|
+
"@legendapp/spark-expo-compat",
|
|
233
238
|
"@legendapp/spark-file-dialog",
|
|
234
239
|
"@legendapp/spark-file-system",
|
|
235
240
|
"@legendapp/spark-global-shortcuts",
|
|
@@ -10,5 +10,257 @@
|
|
|
10
10
|
"url": "https://registry.npmjs.org/react-native-enriched-html/-/react-native-enriched-html-1.1.1.tgz",
|
|
11
11
|
"integrity": "sha512-OlJLESOgA4eqgWQe3BXOK9kFk7iypOnQo22sIce5k/x2eGsOtnAwDPqHnaVfnOZlzzNWh+wXRzxuSL1tSBOkgA==",
|
|
12
12
|
"patch": "react-native-enriched-html@1.1.1.patch"
|
|
13
|
+
},
|
|
14
|
+
"react-native-mmkv": {
|
|
15
|
+
"version": "4.3.2",
|
|
16
|
+
"url": "https://registry.npmjs.org/react-native-mmkv/-/react-native-mmkv-4.3.2.tgz",
|
|
17
|
+
"integrity": "sha512-49OAyfkg0/TMWiWELZN6VuVQPZPhizwL4DTmp8b7B1md3dB/s3LH3mGfC3T+lp9W0y/rqxZMEnotLFTIbOAenQ==",
|
|
18
|
+
"patch": "react-native-mmkv@4.3.2.patch",
|
|
19
|
+
"optional": true
|
|
20
|
+
},
|
|
21
|
+
"react-native-unistyles": {
|
|
22
|
+
"version": "3.6.0",
|
|
23
|
+
"url": "https://registry.npmjs.org/react-native-unistyles/-/react-native-unistyles-3.6.0.tgz",
|
|
24
|
+
"integrity": "sha512-eYqixPy6auBj6k/ica9fCYIPgFQsLzUwRoxGZ04hX3hkANTNjaz3/LzNfXPfgJbwF/fQrhaK0qII4nhtSqUPfA==",
|
|
25
|
+
"patch": "react-native-unistyles@3.6.0.patch",
|
|
26
|
+
"optional": true
|
|
27
|
+
},
|
|
28
|
+
"react-native-quick-crypto": {
|
|
29
|
+
"version": "1.1.9",
|
|
30
|
+
"url": "https://registry.npmjs.org/react-native-quick-crypto/-/react-native-quick-crypto-1.1.9.tgz",
|
|
31
|
+
"integrity": "sha512-u60Kr4EdAYI1ksGq7uwJfOXNJR/iWkCQ1AxfoVbjM/pEpiydddzsFXFYqwyv7EeB7eTDgg5/LiCGwNxA7W7NKA==",
|
|
32
|
+
"patch": "react-native-quick-crypto@1.1.9.patch",
|
|
33
|
+
"optional": true
|
|
34
|
+
},
|
|
35
|
+
"react-native-quick-base64": {
|
|
36
|
+
"version": "3.0.1",
|
|
37
|
+
"url": "https://registry.npmjs.org/react-native-quick-base64/-/react-native-quick-base64-3.0.1.tgz",
|
|
38
|
+
"integrity": "sha512-EjUP2U7WqKmlMmoY7XGyHomy8bM0q4+yCDCRg4ZezQ6zedYRwc7yVk4V2O/iSftKaLEzhuW98lpyPMdk1iPHXQ==",
|
|
39
|
+
"patch": "react-native-quick-base64@3.0.1.patch",
|
|
40
|
+
"optional": true
|
|
41
|
+
},
|
|
42
|
+
"react-native-nitro-fetch": {
|
|
43
|
+
"version": "1.9.0",
|
|
44
|
+
"url": "https://registry.npmjs.org/react-native-nitro-fetch/-/react-native-nitro-fetch-1.9.0.tgz",
|
|
45
|
+
"integrity": "sha512-4rxaPcXKudZW1Ma1Y63rHF8/7hbanOyqr01Gac6ROUYApcCH8/YtS0d02cm0ZEbSzwPvmcvFRzPoT4cHWxhJGA==",
|
|
46
|
+
"patch": "react-native-nitro-fetch@1.9.0.patch",
|
|
47
|
+
"optional": true
|
|
48
|
+
},
|
|
49
|
+
"@react-native-community/blur": {
|
|
50
|
+
"version": "4.4.1",
|
|
51
|
+
"url": "https://registry.npmjs.org/@react-native-community/blur/-/blur-4.4.1.tgz",
|
|
52
|
+
"integrity": "sha512-XBSsRiYxE/MOEln2ayunShfJtWztHwUxLFcSL20o+HNNRnuUDv+GXkF6FmM2zE8ZUfrnhQ/zeTqvnuDPGw6O8A==",
|
|
53
|
+
"patch": "react-native-community-blur@4.4.1.patch",
|
|
54
|
+
"optional": true
|
|
55
|
+
},
|
|
56
|
+
"react-native-worklets-core": {
|
|
57
|
+
"version": "1.6.3",
|
|
58
|
+
"url": "https://registry.npmjs.org/react-native-worklets-core/-/react-native-worklets-core-1.6.3.tgz",
|
|
59
|
+
"integrity": "sha512-r3Q40XQBccx/iAI5tlyiua+micvO1UGzzUOskNweZUXyfrrE+rb5aqxqruBPqXf90rO+bBiplylLMEAXCLTyGA==",
|
|
60
|
+
"patch": "react-native-worklets-core@1.6.3.patch",
|
|
61
|
+
"optional": true
|
|
62
|
+
},
|
|
63
|
+
"react-native-fast-image": {
|
|
64
|
+
"version": "10.9.9",
|
|
65
|
+
"url": "https://registry.npmjs.org/react-native-fast-image/-/react-native-fast-image-10.9.9.tgz",
|
|
66
|
+
"integrity": "sha512-Dev69p1kcTxx7qLLFwax5hB/3X5wMNpviUIXS6K6KnITyhu+O2AEUhenZoq2OmGnT9UzHBIYHkEKoFebZNK/lA==",
|
|
67
|
+
"patch": "react-native-fast-image@10.9.9.patch",
|
|
68
|
+
"optional": true
|
|
69
|
+
},
|
|
70
|
+
"react-native-release-profiler": {
|
|
71
|
+
"version": "0.4.5",
|
|
72
|
+
"url": "https://registry.npmjs.org/react-native-release-profiler/-/react-native-release-profiler-0.4.5.tgz",
|
|
73
|
+
"integrity": "sha512-1w05jDlKRdIMxTuSPep67eMc+FW805SJZjWJwBVsPIQHmRYttxBdrdbzF0mG5XVvMVRNji4RHLidu54+V54lRQ==",
|
|
74
|
+
"patch": "react-native-release-profiler@0.4.5.patch",
|
|
75
|
+
"optional": true
|
|
76
|
+
},
|
|
77
|
+
"react-native-blurhash": {
|
|
78
|
+
"version": "2.1.3",
|
|
79
|
+
"url": "https://registry.npmjs.org/react-native-blurhash/-/react-native-blurhash-2.1.3.tgz",
|
|
80
|
+
"integrity": "sha512-tYyFketZkrrEIABJ5Z1Pt6N2dqPqtSp7w4Lce17sx1bvspdppgVu/ehtZoPRZu02fYyX92RkyCeGXtCbtUNntg==",
|
|
81
|
+
"patch": "react-native-blurhash@2.1.3.patch",
|
|
82
|
+
"optional": true
|
|
83
|
+
},
|
|
84
|
+
"react-native-screen-corner-radius": {
|
|
85
|
+
"version": "0.2.3",
|
|
86
|
+
"url": "https://registry.npmjs.org/react-native-screen-corner-radius/-/react-native-screen-corner-radius-0.2.3.tgz",
|
|
87
|
+
"integrity": "sha512-8JgiHI/S2Xf6swquEjopHW//wI4a/nV/dEImJMR8YXQVWVdnjbhcMi0NGk1s1cW8xuunwlFT173PozsS3Gvgxg==",
|
|
88
|
+
"patch": "react-native-screen-corner-radius@0.2.3.patch",
|
|
89
|
+
"optional": true
|
|
90
|
+
},
|
|
91
|
+
"react-native-app-logs": {
|
|
92
|
+
"version": "0.3.1",
|
|
93
|
+
"url": "https://registry.npmjs.org/react-native-app-logs/-/react-native-app-logs-0.3.1.tgz",
|
|
94
|
+
"integrity": "sha512-Nyxwx92vJRTIBdIRiHlFrz0IFJq+rKIsq6XFRiYT7ZBA1jQIPBYX/kx9kCRwqLDGnSBzec2oYwPScGEllRpNCw==",
|
|
95
|
+
"patch": "react-native-app-logs@0.3.1.patch",
|
|
96
|
+
"optional": true
|
|
97
|
+
},
|
|
98
|
+
"react-native-nitro-zxing": {
|
|
99
|
+
"version": "0.3.1",
|
|
100
|
+
"url": "https://registry.npmjs.org/react-native-nitro-zxing/-/react-native-nitro-zxing-0.3.1.tgz",
|
|
101
|
+
"integrity": "sha512-KBQaNqsme3K1Fk02V+Pbkb30cjl4CiBF9oHNHMAcX1r8c4aS665BYqLoE067MYklOCc1MLlG0/bw1eDK8mW6Xg==",
|
|
102
|
+
"patch": "react-native-nitro-zxing@0.3.1.patch",
|
|
103
|
+
"optional": true
|
|
104
|
+
},
|
|
105
|
+
"expo-keep-awake": {
|
|
106
|
+
"version": "55.0.8",
|
|
107
|
+
"url": "https://registry.npmjs.org/expo-keep-awake/-/expo-keep-awake-55.0.8.tgz",
|
|
108
|
+
"integrity": "sha512-PfIpMfM+STOBwkR5XOE+yVtER86c44MD+W8QD8JxuO0sT9pF7Y1SJYakWlpvX8xsGA+bjKLxftm9403s9kQhKA==",
|
|
109
|
+
"patch": "expo-keep-awake@55.0.8.patch",
|
|
110
|
+
"optional": true
|
|
111
|
+
},
|
|
112
|
+
"react-native-screens": {
|
|
113
|
+
"version": "4.23.0",
|
|
114
|
+
"url": "https://registry.npmjs.org/react-native-screens/-/react-native-screens-4.23.0.tgz",
|
|
115
|
+
"integrity": "sha512-XhO3aK0UeLpBn4kLecd+J+EDeRRJlI/Ro9Fze06vo1q163VeYtzfU9QS09/VyDFMWR1qxDC1iazCArTPSFFiPw==",
|
|
116
|
+
"patch": "react-native-screens@4.23.0.patch",
|
|
117
|
+
"optional": true
|
|
118
|
+
},
|
|
119
|
+
"@react-navigation/native-stack": {
|
|
120
|
+
"version": "7.21.0",
|
|
121
|
+
"url": "https://registry.npmjs.org/@react-navigation/native-stack/-/native-stack-7.21.0.tgz",
|
|
122
|
+
"integrity": "sha512-bYrNW87nDtbMXAJsosYwu59xwTqeuaurfCDA+62MQ6hY4+2Iv71+Sik3ulW92fOqg8s2SZinOJosHEWoi9Ayqw==",
|
|
123
|
+
"patch": "react-navigation-native-stack@7.21.0.patch",
|
|
124
|
+
"optional": true
|
|
125
|
+
},
|
|
126
|
+
"expo-web-browser": {
|
|
127
|
+
"version": "55.0.20",
|
|
128
|
+
"url": "https://registry.npmjs.org/expo-web-browser/-/expo-web-browser-55.0.20.tgz",
|
|
129
|
+
"integrity": "sha512-masGrfbi/jqMezm/8cHHZ8chW+ifxumzt7QOCPiL+9aix0BSwuwDIBryEm2QPVmqJX51jckS0n245vWhwheQuQ==",
|
|
130
|
+
"patch": "expo-web-browser@55.0.20.patch",
|
|
131
|
+
"optional": true
|
|
132
|
+
},
|
|
133
|
+
"expo-application": {
|
|
134
|
+
"version": "55.0.19",
|
|
135
|
+
"url": "https://registry.npmjs.org/expo-application/-/expo-application-55.0.19.tgz",
|
|
136
|
+
"integrity": "sha512-RFer4T46/OaIkNQEweA9PQj6xlXKor71IPNydWxlupx/XG05Yv/269HJJ3Q9zejdY9M7R3jTeTlAYYmXwbLBgA==",
|
|
137
|
+
"patch": "expo-application@55.0.19.patch",
|
|
138
|
+
"optional": true
|
|
139
|
+
},
|
|
140
|
+
"expo-device": {
|
|
141
|
+
"version": "55.0.21",
|
|
142
|
+
"url": "https://registry.npmjs.org/expo-device/-/expo-device-55.0.21.tgz",
|
|
143
|
+
"integrity": "sha512-W2DNWWnjk3KSdAy2BtK9ie1lByO6IsJIpriQAnvS1+d/e12wXhq14iZLUB5iA0CCVftU3eliQRIzkyT2cdL9Ng==",
|
|
144
|
+
"patch": "expo-device@55.0.21.patch",
|
|
145
|
+
"optional": true
|
|
146
|
+
},
|
|
147
|
+
"expo-localization": {
|
|
148
|
+
"version": "55.0.19",
|
|
149
|
+
"url": "https://registry.npmjs.org/expo-localization/-/expo-localization-55.0.19.tgz",
|
|
150
|
+
"integrity": "sha512-rw8pcC4QL8HC3K8Vs5pdVCB+ayFkaVD0f+Ul+jHgM6W7XdzGtCzd0x7rI3M/9PzP1YpAgQ4jYZid/g+UKi9IIA==",
|
|
151
|
+
"patch": "expo-localization@55.0.19.patch",
|
|
152
|
+
"optional": true
|
|
153
|
+
},
|
|
154
|
+
"expo-haptics": {
|
|
155
|
+
"version": "55.0.18",
|
|
156
|
+
"url": "https://registry.npmjs.org/expo-haptics/-/expo-haptics-55.0.18.tgz",
|
|
157
|
+
"integrity": "sha512-bEH0bf5bBGn7U2eTZVdiXBUk4vTfNGbfv9/9PCYLg3gL7L/WE2g8WKs2vYg1B4/BDSucyO8prZofH3IgvLJojQ==",
|
|
158
|
+
"patch": "expo-haptics@55.0.18.patch",
|
|
159
|
+
"optional": true
|
|
160
|
+
},
|
|
161
|
+
"react-native-svg": {
|
|
162
|
+
"version": "15.15.3",
|
|
163
|
+
"url": "https://registry.npmjs.org/react-native-svg/-/react-native-svg-15.15.3.tgz",
|
|
164
|
+
"integrity": "sha512-/k4KYwPBLGcx2f5d4FjE+vCScK7QOX14cl2lIASJ28u4slHHtIhL0SZKU7u9qmRBHxTCKPoPBtN6haT1NENJNA==",
|
|
165
|
+
"patch": "react-native-svg@15.15.3.patch",
|
|
166
|
+
"optional": true
|
|
167
|
+
},
|
|
168
|
+
"expo-font": {
|
|
169
|
+
"version": "55.0.8",
|
|
170
|
+
"url": "https://registry.npmjs.org/expo-font/-/expo-font-55.0.8.tgz",
|
|
171
|
+
"integrity": "sha512-WyP75pnKqhLNktYwDn3xKAUNt5rLihRDv8XWGhhz6VEhVqypixpT86NA3uGtiDTlM3gGjhrYCY7o7ypXgCUOZg==",
|
|
172
|
+
"patch": "expo-font@55.0.8.patch",
|
|
173
|
+
"optional": true
|
|
174
|
+
},
|
|
175
|
+
"expo-blur": {
|
|
176
|
+
"version": "55.0.18",
|
|
177
|
+
"url": "https://registry.npmjs.org/expo-blur/-/expo-blur-55.0.18.tgz",
|
|
178
|
+
"integrity": "sha512-eXuVAahonZXLrXa//isvq72ed1to/MmbHUyd2WTkRH2/FjC9X91rZ4BUNIFBZnAxaNXQrKw/ITfG/VMVz1DIhQ==",
|
|
179
|
+
"patch": "expo-blur@55.0.18.patch",
|
|
180
|
+
"optional": true
|
|
181
|
+
},
|
|
182
|
+
"expo-image": {
|
|
183
|
+
"version": "55.0.11",
|
|
184
|
+
"url": "https://registry.npmjs.org/expo-image/-/expo-image-55.0.11.tgz",
|
|
185
|
+
"integrity": "sha512-PVIBYQJW/h1f6Zb9xnoWlgfqyOPVm2yb6eo6ZogaKbvMrhb/Q/fiERbagi4oqmR6IPljWPEpkXXQyFBUh7TjpQ==",
|
|
186
|
+
"patch": "expo-image@55.0.11.patch",
|
|
187
|
+
"optional": true
|
|
188
|
+
},
|
|
189
|
+
"expo-symbols": {
|
|
190
|
+
"version": "55.0.9",
|
|
191
|
+
"url": "https://registry.npmjs.org/expo-symbols/-/expo-symbols-55.0.9.tgz",
|
|
192
|
+
"integrity": "sha512-F85C/8ExQjd2gYjasLVKMT8wPj+1+19TVTqg4jAeVjVZklqiQtLO72io9Ji1xAjYNgmDeUI0diVHlFMMTC4Ekg==",
|
|
193
|
+
"patch": "expo-symbols@55.0.9.patch",
|
|
194
|
+
"optional": true
|
|
195
|
+
},
|
|
196
|
+
"@react-native-masked-view/masked-view": {
|
|
197
|
+
"version": "0.3.2",
|
|
198
|
+
"url": "https://registry.npmjs.org/@react-native-masked-view/masked-view/-/masked-view-0.3.2.tgz",
|
|
199
|
+
"integrity": "sha512-XwuQoW7/GEgWRMovOQtX3A4PrXhyaZm0lVUiY8qJDvdngjLms9Cpdck6SmGAUNqQwcj2EadHC1HwL0bEyoa/SQ==",
|
|
200
|
+
"patch": "react-native-masked-view-masked-view@0.3.2.patch",
|
|
201
|
+
"optional": true
|
|
202
|
+
},
|
|
203
|
+
"expo-glass-effect": {
|
|
204
|
+
"version": "55.0.11",
|
|
205
|
+
"url": "https://registry.npmjs.org/expo-glass-effect/-/expo-glass-effect-55.0.11.tgz",
|
|
206
|
+
"integrity": "sha512-wqq7GUOqSkfoFJzreZvBG0jzjsq5c582m3glhWSjcmIuByxXXWp6j6GY6hyFuYKzpOXhbuvusVxGCQi0yWnp3g==",
|
|
207
|
+
"patch": "expo-glass-effect@55.0.11.patch",
|
|
208
|
+
"optional": true
|
|
209
|
+
},
|
|
210
|
+
"expo-system-ui": {
|
|
211
|
+
"version": "55.0.22",
|
|
212
|
+
"url": "https://registry.npmjs.org/expo-system-ui/-/expo-system-ui-55.0.22.tgz",
|
|
213
|
+
"integrity": "sha512-/ma8XGdwXvWkeZN++pHQt66jEQ4ZsaV9B5nP/+PAmXa4hAukPxG2bXjZaNOOOlTssWlaJRclJgGeC+Wo2uJlXQ==",
|
|
214
|
+
"patch": "expo-system-ui@55.0.22.patch",
|
|
215
|
+
"optional": true
|
|
216
|
+
},
|
|
217
|
+
"expo-image-picker": {
|
|
218
|
+
"version": "55.0.24",
|
|
219
|
+
"url": "https://registry.npmjs.org/expo-image-picker/-/expo-image-picker-55.0.24.tgz",
|
|
220
|
+
"integrity": "sha512-scbtvQIgiqiOxQx/lFEocJkWPzYANHjwFLnzfKjdZNWh3RJjjMmtHaEoeu7lM9RzqE3EwF+JQecgy+FATXNfiQ==",
|
|
221
|
+
"patch": "expo-image-picker@55.0.24.patch",
|
|
222
|
+
"optional": true
|
|
223
|
+
},
|
|
224
|
+
"expo-image-manipulator": {
|
|
225
|
+
"version": "55.0.21",
|
|
226
|
+
"url": "https://registry.npmjs.org/expo-image-manipulator/-/expo-image-manipulator-55.0.21.tgz",
|
|
227
|
+
"integrity": "sha512-BlVl692hVDKuWzOCnbUsfp1u0XqujOABm/Kv3ISMg0qRMchvD6vUSJ/XOIj80+6B9CCm1hNgklgeJ0SIEHiCVQ==",
|
|
228
|
+
"patch": "expo-image-manipulator@55.0.21.patch",
|
|
229
|
+
"optional": true
|
|
230
|
+
},
|
|
231
|
+
"expo-location": {
|
|
232
|
+
"version": "55.1.15",
|
|
233
|
+
"url": "https://registry.npmjs.org/expo-location/-/expo-location-55.1.15.tgz",
|
|
234
|
+
"integrity": "sha512-4wTDpVZg2/ZH4FnLkobY+PeIrfPz0uFTQqx7LIkxgviucNcRUPGstODBd+XRBOd8mIU1tN1vf6TSs8qEzOOJAw==",
|
|
235
|
+
"patch": "expo-location@55.1.15.patch",
|
|
236
|
+
"optional": true
|
|
237
|
+
},
|
|
238
|
+
"@react-native-community/datetimepicker": {
|
|
239
|
+
"version": "9.2.2",
|
|
240
|
+
"url": "https://registry.npmjs.org/@react-native-community/datetimepicker/-/datetimepicker-9.2.2.tgz",
|
|
241
|
+
"integrity": "sha512-0cZGrK61UZ8VxpKKV/lun/L/b5wKus55IhvqqdewUayHwIc73lrLI0l5CIlHw8tA0/yQEzHEMEdtHQglAD+hKA==",
|
|
242
|
+
"patch": "react-native-community-datetimepicker@9.2.2.patch",
|
|
243
|
+
"optional": true
|
|
244
|
+
},
|
|
245
|
+
"react-native-keyboard-controller": {
|
|
246
|
+
"version": "1.22.9",
|
|
247
|
+
"url": "https://registry.npmjs.org/react-native-keyboard-controller/-/react-native-keyboard-controller-1.22.9.tgz",
|
|
248
|
+
"integrity": "sha512-nLoXvTbIy/9cI4p/bAXUP7Vfi6Mf2Q7g/gsh2H29C7hgUSQQLdoQjl8inhKC25oxaEibB0CMR++h3HP/k/+BVw==",
|
|
249
|
+
"patch": "react-native-keyboard-controller@1.22.9.patch",
|
|
250
|
+
"optional": true
|
|
251
|
+
},
|
|
252
|
+
"@sentry/react-native": {
|
|
253
|
+
"version": "8.32.0",
|
|
254
|
+
"url": "https://registry.npmjs.org/@sentry/react-native/-/react-native-8.32.0.tgz",
|
|
255
|
+
"integrity": "sha512-Z7W2t0oDrm46JU+FgdB0AL+Ru5urBVmFhYl/RjuPi2AnAjddmbNyDZGzpOLSYtl6oWqqz2u4zGuj3ZFjrCMJOg==",
|
|
256
|
+
"patch": "sentry-react-native@8.32.0.patch",
|
|
257
|
+
"optional": true
|
|
258
|
+
},
|
|
259
|
+
"react-native-graph": {
|
|
260
|
+
"version": "1.4.0",
|
|
261
|
+
"url": "https://registry.npmjs.org/react-native-graph/-/react-native-graph-1.4.0.tgz",
|
|
262
|
+
"integrity": "sha512-Mh0P3kXWrbg9WxPAgce3a+XzKSE36sE9lSi+VwXw/5Ps1VChsa4eApI8LHqpcdvlWH7qjCNk5cSdFkGDuA8Kgw==",
|
|
263
|
+
"patch": "react-native-graph@1.4.0.patch",
|
|
264
|
+
"optional": true
|
|
13
265
|
}
|
|
14
266
|
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
diff --git a/ios/ApplicationModule.swift b/ios/ApplicationModule.swift
|
|
2
|
+
index 30eebcb..9626a66 100644
|
|
3
|
+
--- a/ios/ApplicationModule.swift
|
|
4
|
+
+++ b/ios/ApplicationModule.swift
|
|
5
|
+
@@ -24,13 +24,23 @@ public class ApplicationModule: Module {
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
AsyncFunction("getIosIdForVendorAsync") { () -> String? in
|
|
9
|
+
+ #if os(macOS)
|
|
10
|
+
+ // macOS has no identifier for vendor.
|
|
11
|
+
+ return nil
|
|
12
|
+
+ #else
|
|
13
|
+
return UIDevice.current.identifierForVendor?.uuidString
|
|
14
|
+
+ #endif
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
AsyncFunction("getInstallationTimeAsync") { () -> Double in
|
|
18
|
+
+ #if os(macOS)
|
|
19
|
+
+ // ~/Documents is the user's folder on a Mac (shared and privacy-protected); the app bundle is the installation.
|
|
20
|
+
+ let urlToDocumentsFolder = Bundle.main.bundleURL
|
|
21
|
+
+ #else
|
|
22
|
+
guard let urlToDocumentsFolder = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).last else {
|
|
23
|
+
throw UrlDocumentDirectoryException()
|
|
24
|
+
}
|
|
25
|
+
+ #endif
|
|
26
|
+
|
|
27
|
+
do {
|
|
28
|
+
let fileAttributes = try FileManager.default.attributesOfItem(atPath: urlToDocumentsFolder.path)
|
|
29
|
+
diff --git a/ios/EXApplication/EXProvisioningProfile.m b/ios/EXApplication/EXProvisioningProfile.m
|
|
30
|
+
index 5c06b26..b88d888 100644
|
|
31
|
+
--- a/ios/EXApplication/EXProvisioningProfile.m
|
|
32
|
+
+++ b/ios/EXApplication/EXProvisioningProfile.m
|
|
33
|
+
@@ -42,6 +42,9 @@ - (EXAppReleaseType)appReleaseType {
|
|
34
|
+
// provisioning profile does not exist
|
|
35
|
+
#if TARGET_IPHONE_SIMULATOR
|
|
36
|
+
return EXAppReleaseSimulator;
|
|
37
|
+
+#elif TARGET_OS_OSX
|
|
38
|
+
+ // Mac apps carry embedded.provisionprofile, not embedded.mobileprovision.
|
|
39
|
+
+ return EXAppReleaseTypeUnknown;
|
|
40
|
+
#else
|
|
41
|
+
return EXAppReleaseAppStore;
|
|
42
|
+
#endif
|
|
43
|
+
diff --git a/ios/EXApplication.podspec b/ios/EXApplication.podspec
|
|
44
|
+
index 3c178ae..6f4e6d7 100644
|
|
45
|
+
--- a/ios/EXApplication.podspec
|
|
46
|
+
+++ b/ios/EXApplication.podspec
|
|
47
|
+
@@ -12,6 +12,7 @@ Pod::Spec.new do |s|
|
|
48
|
+
s.homepage = package['homepage']
|
|
49
|
+
s.platforms = {
|
|
50
|
+
:ios => '15.1',
|
|
51
|
+
+ :osx => '14.0',
|
|
52
|
+
:tvos => '15.1'
|
|
53
|
+
}
|
|
54
|
+
s.swift_version = '5.9'
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
diff --git a/ios/BlurEffectView.swift b/ios/BlurEffectView.swift
|
|
2
|
+
index 185f69a..b1e0ed6 100644
|
|
3
|
+
--- a/ios/BlurEffectView.swift
|
|
4
|
+
+++ b/ios/BlurEffectView.swift
|
|
5
|
+
@@ -1,8 +1,41 @@
|
|
6
|
+
// Copyright 2015-present 650 Industries. All rights reserved.
|
|
7
|
+
|
|
8
|
+
-import UIKit
|
|
9
|
+
import ExpoModulesCore
|
|
10
|
+
|
|
11
|
+
+#if os(macOS)
|
|
12
|
+
+import AppKit
|
|
13
|
+
+
|
|
14
|
+
+/**
|
|
15
|
+
+ AppKit has no blur radius: intensity fades the material in, and the tint picks a material and appearance.
|
|
16
|
+
+ */
|
|
17
|
+
+final class BlurEffectView: NSVisualEffectView {
|
|
18
|
+
+ @Clamping(lowerBound: 0.01, upperBound: 1)
|
|
19
|
+
+ var intensity: Double = 0.5 {
|
|
20
|
+
+ didSet {
|
|
21
|
+
+ alphaValue = CGFloat(intensity)
|
|
22
|
+
+ }
|
|
23
|
+
+ }
|
|
24
|
+
+
|
|
25
|
+
+ var tint: TintStyle = .light {
|
|
26
|
+
+ didSet {
|
|
27
|
+
+ material = tint.toMaterial()
|
|
28
|
+
+ appearance = tint.toAppearance()
|
|
29
|
+
+ }
|
|
30
|
+
+ }
|
|
31
|
+
+
|
|
32
|
+
+ init() {
|
|
33
|
+
+ super.init(frame: .zero)
|
|
34
|
+
+ blendingMode = .withinWindow
|
|
35
|
+
+ state = .active
|
|
36
|
+
+ material = TintStyle.default.toMaterial()
|
|
37
|
+
+ alphaValue = CGFloat(intensity)
|
|
38
|
+
+ }
|
|
39
|
+
+
|
|
40
|
+
+ required init?(coder aDecoder: NSCoder) { nil }
|
|
41
|
+
+}
|
|
42
|
+
+#else
|
|
43
|
+
+import UIKit
|
|
44
|
+
+
|
|
45
|
+
/**
|
|
46
|
+
This class is based on https://gist.github.com/darrarski/29a2a4515508e385c90b3ffe6f975df7
|
|
47
|
+
*/
|
|
48
|
+
@@ -57,6 +90,8 @@ final class BlurEffectView: UIVisualEffectView {
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
+#endif
|
|
53
|
+
+
|
|
54
|
+
private func isDetoxPresent() -> Bool {
|
|
55
|
+
let args = ProcessInfo.processInfo.arguments
|
|
56
|
+
|
|
57
|
+
diff --git a/ios/ExpoBlur.podspec b/ios/ExpoBlur.podspec
|
|
58
|
+
index e4fb69d..33dcde0 100644
|
|
59
|
+
--- a/ios/ExpoBlur.podspec
|
|
60
|
+
+++ b/ios/ExpoBlur.podspec
|
|
61
|
+
@@ -12,6 +12,7 @@ Pod::Spec.new do |s|
|
|
62
|
+
s.homepage = package['homepage']
|
|
63
|
+
s.platforms = {
|
|
64
|
+
:ios => '15.1',
|
|
65
|
+
+ :osx => '14.0',
|
|
66
|
+
:tvos => '15.1'
|
|
67
|
+
}
|
|
68
|
+
s.source = { git: 'https://github.com/expo/expo.git' }
|
|
69
|
+
diff --git a/ios/ExpoBlurView.swift b/ios/ExpoBlurView.swift
|
|
70
|
+
index e0dd06b..b357b6f 100644
|
|
71
|
+
--- a/ios/ExpoBlurView.swift
|
|
72
|
+
+++ b/ios/ExpoBlurView.swift
|
|
73
|
+
@@ -8,7 +8,11 @@ public final class ExpoBlurView: ExpoView {
|
|
74
|
+
public required init(appContext: AppContext? = nil) {
|
|
75
|
+
super.init(appContext: appContext)
|
|
76
|
+
|
|
77
|
+
+ #if os(macOS)
|
|
78
|
+
+ blurEffectView.autoresizingMask = [.width, .height]
|
|
79
|
+
+ #else
|
|
80
|
+
blurEffectView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
|
|
81
|
+
+ #endif
|
|
82
|
+
clipsToBounds = true
|
|
83
|
+
|
|
84
|
+
addSubview(blurEffectView)
|
|
85
|
+
diff --git a/ios/TintStyle.swift b/ios/TintStyle.swift
|
|
86
|
+
index ca79ed4..144d5f5 100644
|
|
87
|
+
--- a/ios/TintStyle.swift
|
|
88
|
+
+++ b/ios/TintStyle.swift
|
|
89
|
+
@@ -23,6 +23,35 @@ public enum TintStyle: String, Enumerable {
|
|
90
|
+
case systemThickMaterialDark
|
|
91
|
+
case systemChromeMaterialDark
|
|
92
|
+
|
|
93
|
+
+#if os(macOS)
|
|
94
|
+
+ func toMaterial() -> NSVisualEffectView.Material {
|
|
95
|
+
+ switch self {
|
|
96
|
+
+ case .systemUltraThinMaterial, .systemUltraThinMaterialLight, .systemUltraThinMaterialDark:
|
|
97
|
+
+ return .hudWindow
|
|
98
|
+
+ case .systemThinMaterial, .systemThinMaterialLight, .systemThinMaterialDark:
|
|
99
|
+
+ return .popover
|
|
100
|
+
+ case .systemThickMaterial, .systemThickMaterialLight, .systemThickMaterialDark:
|
|
101
|
+
+ return .windowBackground
|
|
102
|
+
+ case .systemChromeMaterial, .systemChromeMaterialLight, .systemChromeMaterialDark:
|
|
103
|
+
+ return .titlebar
|
|
104
|
+
+ case .systemMaterial, .systemMaterialLight, .systemMaterialDark, .regular, .prominent, .default:
|
|
105
|
+
+ return .contentBackground
|
|
106
|
+
+ case .extraLight, .light, .dark:
|
|
107
|
+
+ return .fullScreenUI
|
|
108
|
+
+ }
|
|
109
|
+
+ }
|
|
110
|
+
+
|
|
111
|
+
+ func toAppearance() -> NSAppearance? {
|
|
112
|
+
+ switch self {
|
|
113
|
+
+ case .dark, .systemUltraThinMaterialDark, .systemThinMaterialDark, .systemMaterialDark, .systemThickMaterialDark, .systemChromeMaterialDark:
|
|
114
|
+
+ return NSAppearance(named: .darkAqua)
|
|
115
|
+
+ case .extraLight, .light, .systemUltraThinMaterialLight, .systemThinMaterialLight, .systemMaterialLight, .systemThickMaterialLight, .systemChromeMaterialLight:
|
|
116
|
+
+ return NSAppearance(named: .aqua)
|
|
117
|
+
+ default:
|
|
118
|
+
+ return nil
|
|
119
|
+
+ }
|
|
120
|
+
+ }
|
|
121
|
+
+#else
|
|
122
|
+
func toBlurEffect() -> UIBlurEffect.Style {
|
|
123
|
+
#if os(tvOS)
|
|
124
|
+
switch self {
|
|
125
|
+
@@ -116,4 +145,5 @@ public enum TintStyle: String, Enumerable {
|
|
126
|
+
}
|
|
127
|
+
#endif
|
|
128
|
+
}
|
|
129
|
+
+#endif
|
|
130
|
+
}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
diff --git a/ios/DeviceModule.swift b/ios/DeviceModule.swift
|
|
2
|
+
index 899b214..c5a3d45 100644
|
|
3
|
+
--- a/ios/DeviceModule.swift
|
|
4
|
+
+++ b/ios/DeviceModule.swift
|
|
5
|
+
@@ -1,5 +1,9 @@
|
|
6
|
+
import ExpoModulesCore
|
|
7
|
+
+#if canImport(UIKit)
|
|
8
|
+
import UIKit
|
|
9
|
+
+#else
|
|
10
|
+
+import SystemConfiguration
|
|
11
|
+
+#endif
|
|
12
|
+
import MachO
|
|
13
|
+
|
|
14
|
+
public class DeviceModule: Module {
|
|
15
|
+
@@ -19,15 +23,27 @@ public class DeviceModule: Module {
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
Constant("modelId") {
|
|
19
|
+
+#if os(macOS)
|
|
20
|
+
+ sysctlString("hw.model")
|
|
21
|
+
+#else
|
|
22
|
+
UIDevice.modelIdentifier
|
|
23
|
+
+#endif
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
Constant("modelName") {
|
|
27
|
+
+#if os(macOS)
|
|
28
|
+
+ nil as String?
|
|
29
|
+
+#else
|
|
30
|
+
UIDevice.DeviceMap.modelName
|
|
31
|
+
+#endif
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
Constant("deviceYearClass") {
|
|
35
|
+
+#if os(macOS)
|
|
36
|
+
+ nil as Int?
|
|
37
|
+
+#else
|
|
38
|
+
UIDevice.DeviceMap.deviceYearClass
|
|
39
|
+
+#endif
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
Constant("totalMemory") {
|
|
43
|
+
@@ -35,11 +51,19 @@ public class DeviceModule: Module {
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
Constant("osName") {
|
|
47
|
+
+#if os(macOS)
|
|
48
|
+
+ "macOS"
|
|
49
|
+
+#else
|
|
50
|
+
UIDevice.current.systemName
|
|
51
|
+
+#endif
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
Constant("osVersion") {
|
|
55
|
+
+#if os(macOS)
|
|
56
|
+
+ ProcessInfo.processInfo.operatingSystemVersion.versionString
|
|
57
|
+
+#else
|
|
58
|
+
UIDevice.current.systemVersion
|
|
59
|
+
+#endif
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
Constant("osBuildId") {
|
|
63
|
+
@@ -51,7 +75,11 @@ public class DeviceModule: Module {
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
Constant("deviceName") {
|
|
67
|
+
+#if os(macOS)
|
|
68
|
+
+ SCDynamicStoreCopyComputerName(nil, nil) as String?
|
|
69
|
+
+#else
|
|
70
|
+
UIDevice.current.name
|
|
71
|
+
+#endif
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
Constant("deviceType") {
|
|
75
|
+
@@ -72,12 +100,19 @@ public class DeviceModule: Module {
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
AsyncFunction("isRootedExperimentalAsync") { () -> Bool in
|
|
79
|
+
+#if os(macOS)
|
|
80
|
+
+ return false
|
|
81
|
+
+#else
|
|
82
|
+
return UIDevice.current.isJailbroken
|
|
83
|
+
+#endif
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
func getDeviceType() -> Int {
|
|
89
|
+
+ #if os(macOS)
|
|
90
|
+
+ return DeviceType.desktop.rawValue
|
|
91
|
+
+ #else
|
|
92
|
+
// if it's a macOS Catalyst app
|
|
93
|
+
if ProcessInfo.processInfo.isMacCatalystApp {
|
|
94
|
+
return DeviceType.desktop.rawValue
|
|
95
|
+
@@ -100,6 +135,7 @@ func getDeviceType() -> Int {
|
|
96
|
+
default:
|
|
97
|
+
return DeviceType.unknown.rawValue
|
|
98
|
+
}
|
|
99
|
+
+ #endif
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
func isDevice() -> Bool {
|
|
103
|
+
@@ -141,6 +177,20 @@ func cpuArchitectures() -> [String]? {
|
|
104
|
+
return [String(cString: archRaw)]
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
+#if os(macOS)
|
|
108
|
+
+func sysctlString(_ name: String) -> String? {
|
|
109
|
+
+ var size = 0
|
|
110
|
+
+ guard sysctlbyname(name, nil, &size, nil, 0) == 0, size > 0 else { return nil }
|
|
111
|
+
+ var buffer = [CChar](repeating: 0, count: size)
|
|
112
|
+
+ guard sysctlbyname(name, &buffer, &size, nil, 0) == 0 else { return nil }
|
|
113
|
+
+ return String(cString: buffer)
|
|
114
|
+
+}
|
|
115
|
+
+
|
|
116
|
+
+extension OperatingSystemVersion {
|
|
117
|
+
+ var versionString: String { "\(majorVersion).\(minorVersion).\(patchVersion)" }
|
|
118
|
+
+}
|
|
119
|
+
+#endif
|
|
120
|
+
+
|
|
121
|
+
enum DeviceType: Int {
|
|
122
|
+
case unknown = 0
|
|
123
|
+
case phone = 1
|
|
124
|
+
diff --git a/ios/ExpoDevice.podspec b/ios/ExpoDevice.podspec
|
|
125
|
+
index 1b0c81f..0283bf0 100644
|
|
126
|
+
--- a/ios/ExpoDevice.podspec
|
|
127
|
+
+++ b/ios/ExpoDevice.podspec
|
|
128
|
+
@@ -12,6 +12,7 @@ Pod::Spec.new do |s|
|
|
129
|
+
s.homepage = package['homepage']
|
|
130
|
+
s.platforms = {
|
|
131
|
+
:ios => '15.1',
|
|
132
|
+
+ :osx => '14.0',
|
|
133
|
+
:tvos => '15.1'
|
|
134
|
+
}
|
|
135
|
+
s.swift_version = '5.9'
|
|
136
|
+
diff --git a/ios/UIDevice.swift b/ios/UIDevice.swift
|
|
137
|
+
index 336c648..709c496 100644
|
|
138
|
+
--- a/ios/UIDevice.swift
|
|
139
|
+
+++ b/ios/UIDevice.swift
|
|
140
|
+
@@ -1,3 +1,4 @@
|
|
141
|
+
+#if !os(macOS)
|
|
142
|
+
import UIKit
|
|
143
|
+
|
|
144
|
+
struct ExpoDeviceType {
|
|
145
|
+
@@ -305,3 +306,4 @@ private struct JailbreakHelper {
|
|
146
|
+
]
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
+#endif
|