@capacitor/ios 8.0.0-nightly-20250915T150618.0 → 8.0.0-nightly-20250916T150555.0

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.
@@ -1,5 +1,5 @@
1
1
  import Foundation
2
- import MobileCoreServices
2
+ import UniformTypeIdentifiers
3
3
 
4
4
  @objc(CAPWebViewAssetHandler)
5
5
  // swiftlint:disable type_body_length
@@ -106,9 +106,9 @@ open class WebViewAssetHandler: NSObject, WKURLSchemeHandler {
106
106
 
107
107
  open func mimeTypeForExtension(pathExtension: String) -> String {
108
108
  if !pathExtension.isEmpty {
109
- if let uti = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as NSString, nil)?.takeRetainedValue() {
110
- if let mimetype = UTTypeCopyPreferredTagWithClass(uti, kUTTagClassMIMEType)?.takeRetainedValue() {
111
- return mimetype as String
109
+ if let uti = UTType(filenameExtension: pathExtension) {
110
+ if let mimetype = uti.preferredMIMEType {
111
+ return mimetype
112
112
  }
113
113
  }
114
114
  // TODO: Remove when deployment target is set to iOS 17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/ios",
3
- "version": "8.0.0-nightly-20250915T150618.0",
3
+ "version": "8.0.0-nightly-20250916T150555.0",
4
4
  "description": "Capacitor: Cross-platform apps with JavaScript and the web",
5
5
  "homepage": "https://capacitorjs.com",
6
6
  "author": "Ionic Team <hi@ionic.io> (https://ionic.io)",
@@ -25,7 +25,7 @@
25
25
  "xc:build:CapacitorCordova": "cd CapacitorCordova && xcodebuild && cd .."
26
26
  },
27
27
  "peerDependencies": {
28
- "@capacitor/core": "^8.0.0-nightly-20250915T150618.0"
28
+ "@capacitor/core": "^8.0.0-nightly-20250916T150555.0"
29
29
  },
30
30
  "publishConfig": {
31
31
  "access": "public"