From 79620a887fc3e1908a6829353c2ef63b2ca8a722 Mon Sep 17 00:00:00 2001 From: Abe White Date: Mon, 23 Dec 2024 12:55:38 -0600 Subject: [PATCH] Do not bridge extensions that were not meant to be bridged --- Sources/SkipAndroidBridge/AndroidBridgeBootstrap.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/SkipAndroidBridge/AndroidBridgeBootstrap.swift b/Sources/SkipAndroidBridge/AndroidBridgeBootstrap.swift index 044170e..7b973e9 100644 --- a/Sources/SkipAndroidBridge/AndroidBridgeBootstrap.swift +++ b/Sources/SkipAndroidBridge/AndroidBridgeBootstrap.swift @@ -137,6 +137,7 @@ private func bootstrapSSLCertificates(fromCertficateFolders certsFolders: [Strin // URL.applicationSupportDirectory exists in Darwin's Foundation but not in Android's Foundation #if os(Android) +// SKIP @nobridge extension URL { public static var applicationSupportDirectory: URL { try! FileManager.default.url(for: .applicationSupportDirectory, in: .userDomainMask, appropriateFor: nil, create: false) @@ -148,6 +149,7 @@ extension URL { } #endif +// SKIP @nobridge extension UserDefaults { // TODO: we can't do this because there will be an `ambiguous use` error // #if os(Android) || ROBOLECTRIC