Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[web][camera] Fix missing function "getCapabilities" in Firefox #28947

Merged

Conversation

miso-belica
Copy link
Contributor

@miso-belica miso-belica commented May 17, 2024

Why

As explained in #13182 Firefox freezes when this happens which is quite annoying.

How

I skip calling the affected function entirely. It would result having no effect anyway of I pretend to have no capabilities.

Test Plan

All details were already provided in #13182

Checklist


@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label May 17, 2024
Copy link
Contributor

@lukmccall lukmccall left a comment

Choose a reason for hiding this comment

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

Looks good! Thanks for your contribution 🎊
Can you add the changelog entry for your change? The changelog file is inside the expo-camera package.

@miso-belica miso-belica force-pushed the fix/firefox-get-capabilities-not-function branch from 5cd0293 to 91dc7b6 Compare May 21, 2024 10:31
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels May 21, 2024
@miso-belica
Copy link
Contributor Author

Yes, sure. Sorry it took a while. I hope it OK now.

Copy link
Contributor

@lukmccall lukmccall left a comment

Choose a reason for hiding this comment

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

Looking good! I'll merge it as soon as the CI passes

@lukmccall lukmccall merged commit c467473 into expo:main May 21, 2024
10 checks passed
@miso-belica miso-belica deleted the fix/firefox-get-capabilities-not-function branch May 21, 2024 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: passed checks ExpoBot has nothing to complain about
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants