Skip to content

FCE-2869: Add permission helpers docs#234

Open
MiloszFilimowski wants to merge 3 commits intomainfrom
mfilimowski/FCE-2869-permission-helpers
Open

FCE-2869: Add permission helpers docs#234
MiloszFilimowski wants to merge 3 commits intomainfrom
mfilimowski/FCE-2869-permission-helpers

Conversation

@MiloszFilimowski
Copy link
Contributor

Description

  • managing-devices.mdx: Add "Managing Permissions (Mobile only)" section documenting useCameraPermissions and useMicrophonePermissions hooks with query/request API and usage example
  • installation.mdx: Replace expo-permissions/react-native-permissions recommendation with a link to the new Managing Permissions section
  • Bump web-client-sdk submodule

Motivation and Context

The mobile SDK now ships built-in permission hooks (useCameraPermissions, useMicrophonePermissions), so the docs should guide users to those instead of third-party libraries.

@linear
Copy link

linear bot commented Feb 26, 2026

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR documents the mobile SDK's built-in permission management hooks and updates installation guidance to reference them instead of third-party libraries.

Changes:

  • Added "Managing Permissions (Mobile only)" section to managing-devices.mdx documenting useCameraPermissions and useMicrophonePermissions hooks
  • Updated installation.mdx to link to the new Managing Permissions section instead of recommending third-party libraries
  • Bumped web-client-sdk submodule

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
packages/web-client-sdk Updated submodule commit reference
docs/how-to/client/managing-devices.mdx Added comprehensive documentation for permission hooks with usage example
docs/how-to/client/installation.mdx Replaced third-party library recommendations with link to new Managing Permissions section
Comments suppressed due to low confidence (1)

docs/how-to/client/managing-devices.mdx:278

  • The RoomScreen component doesn't return any JSX. Add a return statement with component markup or clarify in a comment that this is a simplified example showing only the permission logic.
function RoomScreen() {

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@MiloszFilimowski MiloszFilimowski force-pushed the mfilimowski/FCE-2869-permission-helpers branch from c2168a2 to ded0591 Compare February 27, 2026 09:40
@MiloszFilimowski MiloszFilimowski force-pushed the mfilimowski/FCE-2869-permission-helpers branch from ded0591 to 16f9cb3 Compare February 27, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants