iOS 26 with design compatibility mode (#9059)

* enable design compat mode

* patch compressor lib

https://github.com/numandev1/react-native-compressor/issues/367
This commit is contained in:
Samuel Newman
2025-09-22 18:21:20 +03:00
committed by GitHub
parent ac71ea235f
commit 6983efee7f
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -102,6 +102,7 @@ module.exports = function (_config) {
'zh-Hans',
'zh-Hant',
],
UIDesignRequiresCompatibility: true,
},
associatedDomains: ASSOCIATED_DOMAINS,
entitlements: {
@@ -0,0 +1,10 @@
diff --git a/node_modules/react-native-compressor/ios/Video/VideoMain.swift b/node_modules/react-native-compressor/ios/Video/VideoMain.swift
index 6fe5e9c..af8a0b5 100644
--- a/node_modules/react-native-compressor/ios/Video/VideoMain.swift
+++ b/node_modules/react-native-compressor/ios/Video/VideoMain.swift
@@ -1,5 +1,4 @@
import Foundation
-import AssetsLibrary
import AVFoundation
import Photos
import MobileCoreServices