From e3e8807f9facf70dc2b4f110deaaf1f3a30cfaf5 Mon Sep 17 00:00:00 2001 From: Marc Prud'hommeaux Date: Tue, 31 Mar 2026 22:46:30 -0400 Subject: [PATCH] Bridge PermissionManager.requestPermission --- Sources/SkipKit/PermissionManager.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SkipKit/PermissionManager.swift b/Sources/SkipKit/PermissionManager.swift index fe01842..7fd9a30 100644 --- a/Sources/SkipKit/PermissionManager.swift +++ b/Sources/SkipKit/PermissionManager.swift @@ -67,7 +67,7 @@ public class PermissionManager { /// - permission: the permission, such as `PermissionType.CAMERA` /// - showRationale: an optional async callback to invoke when the system determies that a rationale should be displayed for the permission check /// - Returns: true if the permission was granted, false if denied or there was an error making the request - /* SKIP @nobridge */ public static func requestPermission(_ permission: PermissionType, showRationale: (() async -> Bool)?) async -> PermissionAuthorization { + public static func requestPermission(_ permission: PermissionType, showRationale: (() async -> Bool)?) async -> PermissionAuthorization { #if !SKIP switch permission { case .POST_NOTIFICATIONS: return await (try? requestPostNotificationPermission()) ?? .unknown