Polyfill DOMException#341
Conversation
🦋 Changeset detectedLatest commit: ff85fce The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @livekit/react-native@2.10.1 ### Patch Changes - Fix metro warning on invalid path configuration in package.json - [#343](#343) ([@davidliu](https://github.com/davidliu)) - Polyfill for DOMException to handle usage in livekit-client - [#341](#341) ([@davidliu](https://github.com/davidliu)) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
Hi @davidliu — quick heads-up: we tested 2.10.1 in an Expo SDK 55 / Hermes app and the original Setup
Trace (before fix)Instrumented
So Verified fix — swap lines 3 and 4 import 'well-known-symbols/Symbol.asyncIterator/auto';
import 'well-known-symbols/Symbol.iterator/auto';
-import './polyfills/MediaRecorderShim';
import './polyfills/DOMException';
+import './polyfills/MediaRecorderShim';After the swap, the same trace becomes: App boots cleanly, no consumer-side polyfill needed. Happy to open a PR if helpful — just wanted to flag this since #337 is closed and other users on 2.10.1 will hit the same crash. |
Fixes #337 and livekit/client-sdk-js#1871.