From a9fc9ec6976a9c2813124b59c20ee02b6515c4f2 Mon Sep 17 00:00:00 2001 From: ZayanKhan-12 <108294002+ZayanKhan-12@users.noreply.github.com> Date: Wed, 22 Jul 2026 16:09:15 -0400 Subject: [PATCH] iOS: make requestDeviceCameraAuthorization actually request authorization The requestDeviceCameraAuthorization ref method called NativeCameraKitModule.checkDeviceCameraAuthorizationStatus() - a copy-paste of the checkDeviceCameraAuthorizationStatus method directly below it. Calling it returned the current authorization status without ever presenting the iOS permission prompt. The native side already implements the request path (RNCameraKitModule.mm -> CameraManager.requestDeviceCameraAuthorization) and the TurboModule spec declares it; it was just never called from JS. Co-Authored-By: Claude Fable 5 --- src/Camera.ios.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Camera.ios.tsx b/src/Camera.ios.tsx index 63d3c87b6..55403a470 100644 --- a/src/Camera.ios.tsx +++ b/src/Camera.ios.tsx @@ -27,7 +27,7 @@ const Camera = React.forwardRef((props, ref) => { return await NativeCameraKitModule.capture({}, findNodeHandle(nativeRef.current) ?? undefined); }, requestDeviceCameraAuthorization: async () => { - return await NativeCameraKitModule.checkDeviceCameraAuthorizationStatus(); + return await NativeCameraKitModule.requestDeviceCameraAuthorization(); }, checkDeviceCameraAuthorizationStatus: async () => { return await NativeCameraKitModule.checkDeviceCameraAuthorizationStatus();