@legendapp/spark 0.0.1 → 0.0.3

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 (141) hide show
  1. package/native.d.cts +6 -3
  2. package/package.json +36 -28
  3. package/patches/dependencies.json +252 -0
  4. package/patches/expo-application@55.0.19.patch +54 -0
  5. package/patches/expo-blur@55.0.18.patch +130 -0
  6. package/patches/expo-device@55.0.21.patch +149 -0
  7. package/patches/expo-font@55.0.8.patch +55 -0
  8. package/patches/expo-glass-effect@55.0.11.patch +304 -0
  9. package/patches/expo-haptics@55.0.18.patch +54 -0
  10. package/patches/expo-image-manipulator@55.0.21.patch +312 -0
  11. package/patches/expo-image-picker@55.0.24.patch +327 -0
  12. package/patches/expo-image@55.0.11.patch +158 -0
  13. package/patches/expo-keep-awake@55.0.8.patch +41 -0
  14. package/patches/expo-localization@55.0.19.patch +32 -0
  15. package/patches/expo-location@55.1.15.patch +190 -0
  16. package/patches/expo-symbols@55.0.9.patch +286 -0
  17. package/patches/expo-system-ui@55.0.22.patch +61 -0
  18. package/patches/expo-web-browser@55.0.20.patch +13 -0
  19. package/patches/react-native-app-logs@0.3.1.patch +20 -0
  20. package/patches/react-native-blurhash@2.1.3.patch +318 -0
  21. package/patches/react-native-community-blur@4.4.1.patch +415 -0
  22. package/patches/react-native-community-datetimepicker@9.2.2.patch +320 -0
  23. package/patches/react-native-enriched-markdown@1.1.1.patch +141 -10
  24. package/patches/react-native-fast-image@10.9.9.patch +131 -0
  25. package/patches/react-native-graph@1.4.0.patch +157 -0
  26. package/patches/react-native-keyboard-controller@1.22.9.patch +16 -0
  27. package/patches/react-native-masked-view-masked-view@0.3.2.patch +140 -0
  28. package/patches/react-native-mmkv@4.3.2.patch +40 -0
  29. package/patches/react-native-nitro-fetch@1.9.0.patch +130 -0
  30. package/patches/react-native-nitro-zxing@0.3.0.patch +13 -0
  31. package/patches/react-native-quick-base64@3.0.1.patch +13 -0
  32. package/patches/react-native-quick-crypto@1.1.9.patch +31 -0
  33. package/patches/react-native-release-profiler@0.4.5.patch +37 -0
  34. package/patches/react-native-screen-corner-radius@0.2.3.patch +13 -0
  35. package/patches/react-native-screens@4.23.0.patch +160 -0
  36. package/patches/react-native-svg@15.15.3.patch +31 -0
  37. package/patches/react-native-unistyles@3.6.0.patch +203 -0
  38. package/patches/react-native-worklets-core@1.6.3.patch +13 -0
  39. package/patches/react-navigation-native-stack@7.21.0.patch +16 -0
  40. package/patches/sentry-react-native@8.32.0.patch +76 -0
  41. package/skills/spark/UPGRADING.md +122 -3
  42. package/vendor/node_modules/@legendapp/spark-ai/package.json +5 -5
  43. package/vendor/node_modules/@legendapp/spark-audio/package.json +5 -5
  44. package/vendor/node_modules/@legendapp/spark-audio/src/index.macos.ts +1 -0
  45. package/vendor/node_modules/@legendapp/spark-auth-session/package.json +6 -6
  46. package/vendor/node_modules/@legendapp/spark-auth-session/src/index.macos.ts +1 -0
  47. package/vendor/node_modules/@legendapp/spark-cli/dist/add-desktop.js +2 -2
  48. package/vendor/node_modules/@legendapp/spark-cli/dist/build.js +17 -5
  49. package/vendor/node_modules/@legendapp/spark-cli/dist/cli-arguments.js +4 -2
  50. package/vendor/node_modules/@legendapp/spark-cli/dist/create.js +8 -4
  51. package/vendor/node_modules/@legendapp/spark-cli/dist/dependency-pins.js +45 -1
  52. package/vendor/node_modules/@legendapp/spark-cli/dist/dev.js +15 -3
  53. package/vendor/node_modules/@legendapp/spark-cli/dist/examples.js +2 -2
  54. package/vendor/node_modules/@legendapp/spark-cli/dist/expo-dev-patch.cjs +3 -3
  55. package/vendor/node_modules/@legendapp/spark-cli/dist/expo-dev-preload.cjs +3 -0
  56. package/vendor/node_modules/@legendapp/spark-cli/dist/index.js +26 -7
  57. package/vendor/node_modules/@legendapp/spark-cli/dist/metro.cjs +3 -1
  58. package/vendor/node_modules/@legendapp/spark-cli/dist/migration-helpers.cjs +20 -5
  59. package/vendor/node_modules/@legendapp/spark-cli/dist/migration-helpers.d.cts +1 -0
  60. package/vendor/node_modules/@legendapp/spark-cli/dist/migrations.cjs +10 -2
  61. package/vendor/node_modules/@legendapp/spark-cli/dist/native-patch-preflight.js +3 -3
  62. package/vendor/node_modules/@legendapp/spark-cli/dist/project.js +28 -10
  63. package/vendor/node_modules/@legendapp/spark-cli/dist/release-runner-root.js +108 -0
  64. package/vendor/node_modules/@legendapp/spark-cli/dist/release.json +13 -13
  65. package/vendor/node_modules/@legendapp/spark-cli/dist/runtime-input-cache.js +140 -0
  66. package/vendor/node_modules/@legendapp/spark-cli/dist/watchman.js +12 -0
  67. package/vendor/node_modules/@legendapp/spark-cli/dist/windows-geometry.js +2 -2
  68. package/vendor/node_modules/@legendapp/spark-cli/dist/windows.js +1 -1
  69. package/vendor/node_modules/@legendapp/spark-cli/package.json +3 -3
  70. package/vendor/node_modules/@legendapp/spark-cli/templates/blank-typescript/desktop.config.json +1 -1
  71. package/vendor/node_modules/@legendapp/spark-cli/templates/blank-typescript/package.json +27 -25
  72. package/vendor/node_modules/@legendapp/spark-cli/templates/universal/desktop.config.json +1 -1
  73. package/vendor/node_modules/@legendapp/spark-cli/templates/universal/package.json +35 -33
  74. package/vendor/node_modules/@legendapp/spark-cli/templates/windows/package.json +29 -27
  75. package/vendor/node_modules/@legendapp/spark-clipboard/package.json +5 -5
  76. package/vendor/node_modules/@legendapp/spark-clipboard/src/index.macos.ts +1 -0
  77. package/vendor/node_modules/@legendapp/spark-codex/package.json +4 -4
  78. package/vendor/node_modules/@legendapp/spark-commands/package.json +7 -7
  79. package/vendor/node_modules/@legendapp/spark-context-menu/package.json +4 -4
  80. package/vendor/node_modules/@legendapp/spark-desktop-app/macos/SparkDesktop.mm +7 -2
  81. package/vendor/node_modules/@legendapp/spark-desktop-app/macos/SparkTestDriver.mm +64 -2
  82. package/vendor/node_modules/@legendapp/spark-desktop-app/package.json +3 -3
  83. package/vendor/node_modules/@legendapp/spark-desktop-config/accessibility-state.cjs +2 -2
  84. package/vendor/node_modules/@legendapp/spark-desktop-config/app.plugin.cjs +12 -0
  85. package/vendor/node_modules/@legendapp/spark-desktop-config/autolinking.cjs +7 -6
  86. package/vendor/node_modules/@legendapp/spark-desktop-config/config.d.cts +1 -1
  87. package/vendor/node_modules/@legendapp/spark-desktop-config/fabric-lifecycle.cjs +1 -1
  88. package/vendor/node_modules/@legendapp/spark-desktop-config/keyboard-events.cjs +2 -2
  89. package/vendor/node_modules/@legendapp/spark-desktop-config/macos-host.cjs +39 -0
  90. package/vendor/node_modules/@legendapp/spark-desktop-config/native-patches.cjs +73 -20
  91. package/vendor/node_modules/@legendapp/spark-desktop-config/native-patches.d.cts +2 -1
  92. package/vendor/node_modules/@legendapp/spark-desktop-config/package.json +8 -6
  93. package/vendor/node_modules/@legendapp/spark-desktop-config/rtl-scroll-view.cjs +2 -2
  94. package/vendor/node_modules/@legendapp/spark-desktop-config/rtl-text-alignment.cjs +2 -2
  95. package/vendor/node_modules/@legendapp/spark-desktop-config/rtl-text-input-alignment.cjs +2 -2
  96. package/vendor/node_modules/@legendapp/spark-desktop-config/text-input-accessibility.cjs +2 -2
  97. package/vendor/node_modules/@legendapp/spark-desktop-host/macos/AppDelegate.h +6 -0
  98. package/vendor/node_modules/@legendapp/spark-desktop-host/macos/Main.storyboard +684 -0
  99. package/vendor/node_modules/@legendapp/spark-desktop-host/macos/main.m +5 -0
  100. package/vendor/node_modules/@legendapp/spark-desktop-host/package.json +3 -2
  101. package/vendor/node_modules/@legendapp/spark-desktop-links/package.json +5 -5
  102. package/vendor/node_modules/@legendapp/spark-desktop-links/src/index.macos.ts +1 -0
  103. package/vendor/node_modules/@legendapp/spark-desktop-shortcuts/package.json +4 -4
  104. package/vendor/node_modules/@legendapp/spark-desktop-windows/macos/window-manager/RNWindowManager.mm +68 -17
  105. package/vendor/node_modules/@legendapp/spark-desktop-windows/package.json +5 -5
  106. package/vendor/node_modules/@legendapp/spark-desktop-windows/src/macos-adapter.ts +2 -1
  107. package/vendor/node_modules/@legendapp/spark-documents/package.json +9 -9
  108. package/vendor/node_modules/@legendapp/spark-drag-drop/package.json +4 -4
  109. package/vendor/node_modules/@legendapp/spark-file-dialog/package.json +4 -4
  110. package/vendor/node_modules/@legendapp/spark-file-system/macos/RNDesktopFileSystem.mm +14 -5
  111. package/vendor/node_modules/@legendapp/spark-file-system/package.json +4 -4
  112. package/vendor/node_modules/@legendapp/spark-file-system/src/index.ts +1 -1
  113. package/vendor/node_modules/@legendapp/spark-global-shortcuts/package.json +4 -4
  114. package/vendor/node_modules/@legendapp/spark-html/package.json +4 -4
  115. package/vendor/node_modules/@legendapp/spark-markdown/package.json +4 -4
  116. package/vendor/node_modules/@legendapp/spark-message-dialog/package.json +4 -4
  117. package/vendor/node_modules/@legendapp/spark-native-menu/package.json +4 -4
  118. package/vendor/node_modules/@legendapp/spark-notifications/package.json +4 -4
  119. package/vendor/node_modules/@legendapp/spark-processes/macos/RNDesktopProcesses.mm +110 -19
  120. package/vendor/node_modules/@legendapp/spark-processes/package.json +4 -4
  121. package/vendor/node_modules/@legendapp/spark-processes/src/index.ts +17 -3
  122. package/vendor/node_modules/@legendapp/spark-processes/src/types.ts +6 -0
  123. package/vendor/node_modules/@legendapp/spark-rich-text/package.json +4 -4
  124. package/vendor/node_modules/@legendapp/spark-secure-storage/package.json +5 -5
  125. package/vendor/node_modules/@legendapp/spark-secure-storage/src/index.macos.ts +1 -0
  126. package/vendor/node_modules/@legendapp/spark-settings/package.json +3 -3
  127. package/vendor/node_modules/@legendapp/spark-settings-ui/package.json +6 -6
  128. package/vendor/node_modules/@legendapp/spark-sqlite/package.json +12 -5
  129. package/vendor/node_modules/@legendapp/spark-system/package.json +4 -4
  130. package/vendor/node_modules/@legendapp/spark-tray/package.json +4 -4
  131. package/vendor/node_modules/@legendapp/spark-ui/macos/appkit-split-view/RNSidebarSplitViewComponent.mm +82 -18
  132. package/vendor/node_modules/@legendapp/spark-ui/package.json +6 -6
  133. package/vendor/node_modules/@legendapp/spark-ui/src/appkit-split-view/SidebarSplitViewNativeComponent.ts +4 -0
  134. package/vendor/node_modules/@legendapp/spark-ui/src/appkit-split-view/index.tsx +11 -9
  135. package/vendor/node_modules/@legendapp/spark-ui/src/index.android.tsx +20 -10
  136. package/vendor/node_modules/@legendapp/spark-ui/src/index.ios.tsx +15 -10
  137. package/vendor/node_modules/@legendapp/spark-ui/src/index.macos.tsx +1 -0
  138. package/vendor/node_modules/@legendapp/spark-updates/package.json +4 -4
  139. package/vendor/node_modules/@legendapp/spark-webview/package.json +11 -4
  140. package/vendor/node_modules/@legendapp/spark-window-options/package.json +1 -1
  141. package/camera.ts +0 -13
package/native.d.cts CHANGED
@@ -1,6 +1,9 @@
1
- import type { UserConfig } from "@react-native-community/cli-types";
2
- export type NativeConfiguration = Pick<Partial<UserConfig>, "platforms" | "dependencies">;
1
+ /** React Native discovery overrides produced by Spark. */
2
+ export type NativeConfiguration = {
3
+ platforms?: Record<string, { npmPackageName?: string }>;
4
+ dependencies?: Record<string, { root?: string; platforms?: Record<string, unknown> }>;
5
+ };
3
6
  /** Spark-owned project: generate native discovery configuration. */
4
7
  export function nativeConfig(root: string): NativeConfiguration;
5
8
  /** Existing Expo project: compose with its React Native CLI configuration. */
6
- export function withSparkNative<T extends Partial<UserConfig>>(config: T, root: string): T & NativeConfiguration;
9
+ export function withSparkNative<T extends object>(config: T, root: string): T & NativeConfiguration;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@legendapp/spark",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -72,7 +72,6 @@
72
72
  "./diagnostics": "./diagnostics.ts",
73
73
  "./ai": "./ai.ts",
74
74
  "./ai/codex": "./ai-codex.ts",
75
- "./camera": "./camera.ts",
76
75
  "./customize": "./customize.ts",
77
76
  "./markdown": "./markdown.ts",
78
77
  "./html": "./html.ts"
@@ -98,18 +97,11 @@
98
97
  "react-native-nitro-modules": "0.37.0",
99
98
  "@legendapp/state": "^3.0.0-beta.42",
100
99
  "expo-desktop-config-plugins": "1.3.2",
101
- "@expo/config-plugins": "54.0.5",
102
- "@expo/config-types": "54.0.10",
100
+ "@expo/config-plugins": "55.0.12",
103
101
  "@react-native-runtimes/core": "0.1.0-alpha.2",
104
- "@react-native-community/cli-types": "20.1.3",
105
- "react-native-vision-camera": "5.2.3",
106
- "react-native-nitro-image": "0.15.2",
107
- "react-native-enriched-markdown": "1.1.1",
108
- "react-native-enriched-html": "1.1.1",
109
- "@op-engineering/op-sqlite": "18.2.1",
102
+ "@react-native-windows/find-dotnet-tools": "0.0.0-canary.3",
110
103
  "clsx": "^2.1.1",
111
- "tailwind-merge": "^3.4.0",
112
- "react-native-webview": "16.0.0"
104
+ "tailwind-merge": "^3.4.0"
113
105
  },
114
106
  "description": "Legend Spark — native applications with React Native and Expo",
115
107
  "bin": {
@@ -119,20 +111,24 @@
119
111
  "node": ">=24.19.0"
120
112
  },
121
113
  "peerDependencies": {
122
- "react": "^19.1.0",
123
- "react-native": "0.81.6",
124
- "expo-audio": "1.1.1",
125
- "expo-web-browser": "~15.0.10",
126
- "expo-crypto": "~15.0.8",
127
- "expo-clipboard": "~8.0.8",
128
- "expo": "54.0.37",
129
- "react-dom": "^19.1.0",
130
- "expo-linking": "~8.0.12",
131
- "expo-secure-store": "~15.0.8",
114
+ "react": "^19.2.0",
115
+ "react-native": "0.83.10",
116
+ "expo-audio": "55.0.18",
117
+ "expo-web-browser": "~55.0.20",
118
+ "expo-crypto": "~55.0.19",
119
+ "expo-clipboard": "~55.0.17",
120
+ "expo": "55.0.32",
121
+ "react-dom": "^19.2.0",
122
+ "react-native-enriched-markdown": "1.1.1",
123
+ "react-native-enriched-html": "1.1.1",
124
+ "expo-linking": "~55.0.17",
125
+ "expo-secure-store": "~55.0.18",
132
126
  "@legendapp/list": ">=3.3.0",
133
- "@expo/ui": "0.2.0-beta.9",
127
+ "@op-engineering/op-sqlite": "18.2.1",
128
+ "@expo/ui": "55.0.17",
134
129
  "uniwind": "^1.6.3",
135
- "react-native-windows": "0.81.35"
130
+ "react-native-windows": "0.83.2",
131
+ "react-native-webview": "16.0.0"
136
132
  },
137
133
  "peerDependenciesMeta": {
138
134
  "expo-audio": {
@@ -150,12 +146,21 @@
150
146
  "react-dom": {
151
147
  "optional": true
152
148
  },
149
+ "react-native-enriched-markdown": {
150
+ "optional": true
151
+ },
152
+ "react-native-enriched-html": {
153
+ "optional": true
154
+ },
153
155
  "expo-linking": {
154
156
  "optional": true
155
157
  },
156
158
  "expo-secure-store": {
157
159
  "optional": true
158
160
  },
161
+ "@op-engineering/op-sqlite": {
162
+ "optional": true
163
+ },
159
164
  "@expo/ui": {
160
165
  "optional": true
161
166
  },
@@ -164,6 +169,9 @@
164
169
  },
165
170
  "react-native-windows": {
166
171
  "optional": true
172
+ },
173
+ "react-native-webview": {
174
+ "optional": true
167
175
  }
168
176
  },
169
177
  "publishConfig": {
@@ -176,7 +184,7 @@
176
184
  "spark": {
177
185
  "nativePatchRequirements": {
178
186
  "schema": 1,
179
- "frameworkVersion": "0.0.1",
187
+ "frameworkVersion": "0.0.3",
180
188
  "packages": {
181
189
  "@react-native-runtimes/core": {
182
190
  "version": "0.1.0-alpha.2",
@@ -199,9 +207,9 @@
199
207
  "upstreamIntegrity": "sha512-KIg5Yhy04lQfHdXC1JQPM+0kftMfPnH6AqDH7v6YskQ9kzfUacooofOFRmbaZHASq/0WY87Fx0peiFETFjOcCg=="
200
208
  },
201
209
  "expo-audio": {
202
- "version": "1.1.1",
203
- "patchHash": "e8b6a0cd4e2a111f23eb4f98b1d6577256064fdb451cc1a1538859220c7851f2",
204
- "upstreamIntegrity": "sha512-CPCpJ+0AEHdzWROc0f00Zh6e+irLSl2ALos/LPvxEeIcJw1APfBa4DuHPkL4CQCWsVe7EnUjFpdwpqsEUWcP0g=="
210
+ "version": "55.0.18",
211
+ "patchHash": "11548c0285732fa2898e3d1912633b8c4d2bded3ea46ff124a214e7d0d8e6770",
212
+ "upstreamIntegrity": "sha512-izDr80hhHXkfIZn0TXdCheUhWEVRV205a6j0gdhgJ9se36C9Yo+REyaqFrEI1La4p95vPXvaH7UkAx/EGRKNHQ=="
205
213
  }
206
214
  }
207
215
  },
@@ -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.0",
100
+ "url": "https://registry.npmjs.org/react-native-nitro-zxing/-/react-native-nitro-zxing-0.3.0.tgz",
101
+ "integrity": "sha512-SQ/qwmfakdPcOMVzph99vFOPbPkVg3JZaTGrjVVXG6RS8ZUqMocHqbeM4V17qPDTzFK+rsAp6T7u2aFe3Hot/w==",
102
+ "patch": "react-native-nitro-zxing@0.3.0.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
+ }