bcc71abee6
- switch root package manager to pnpm 10.33.4 via packageManager field - add .npmrc with node-linker=hoisted for RN/Expo compatibility - convert yarn resolutions to pnpm.overrides; pin psl@1.9.0 and @types/psl@1.1.1 to keep types resolving under exports-aware resolution - pin react-compiler-runtime and babel-plugin-react-compiler to real rc.3 (the deprecated "Wrong version name was published" tag would otherwise resolve) - add pnpm.onlyBuiltDependencies allowlist for @sentry/cli, core-js-pure, esbuild, unrs-resolver - regenerate pnpm-lock.yaml; delete yarn.lock; drop postinstall-postinstall - update all workflows, Dockerfile, Dockerfile.embedr (root-level), Makefile, conductor.json; bskyembed/bskylink/bskyogcard/dev-env stay on yarn - update docs (CLAUDE.md, docs/build.md, docs/testing.md, docs/localization.md, bskyweb/README.md, scripts/push-notification/README.md, BlueskyClip/README.md) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
30 lines
1.6 KiB
Diff
30 lines
1.6 KiB
Diff
diff --git a/node_modules/expo-image-picker/ios/MediaHandler.swift b/node_modules/expo-image-picker/ios/MediaHandler.swift
|
|
index 6e4fbe1..e334abb 100644
|
|
--- a/node_modules/expo-image-picker/ios/MediaHandler.swift
|
|
+++ b/node_modules/expo-image-picker/ios/MediaHandler.swift
|
|
@@ -310,10 +310,12 @@ internal struct MediaHandler {
|
|
let fileExtension = getFileExtension(from: originalFilename)
|
|
let destinationUrl = try generateUrl(withFileExtension: fileExtension)
|
|
|
|
+ let resourceOptions = PHAssetResourceRequestOptions()
|
|
+ resourceOptions.isNetworkAccessAllowed = true
|
|
try await PHAssetResourceManager.default().writeData(
|
|
for: resource,
|
|
toFile: destinationUrl,
|
|
- options: nil
|
|
+ options: resourceOptions
|
|
)
|
|
|
|
let mimeType = getMimeType(from: destinationUrl.pathExtension)
|
|
@@ -389,7 +391,9 @@ internal struct MediaHandler {
|
|
|
|
// Stream the resource into our cache directory. This API is asynchronous but doesn't require
|
|
// a temporary file like `loadFileRepresentation`.
|
|
- try await PHAssetResourceManager.default().writeData(for: resource, toFile: destinationUrl, options: nil)
|
|
+ let resourceOptions = PHAssetResourceRequestOptions()
|
|
+ resourceOptions.isNetworkAccessAllowed = true
|
|
+ try await PHAssetResourceManager.default().writeData(for: resource, toFile: destinationUrl, options: resourceOptions)
|
|
|
|
// Build and return the result using the helper.
|
|
let mimeType = getMimeType(from: destinationUrl.pathExtension)
|