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

[expo-speech][Web] Fix onDone not firing listeners. #28904

Merged
merged 4 commits into from
May 20, 2024

Conversation

aleqsio
Copy link
Contributor

@aleqsio aleqsio commented May 15, 2024

Why

#28762

How

Instead of calling DeviceEventEmitter, we actually want to call emit on the current module – if we wrap it with createWebModule it should ensure that this always has the emit method.

Not sure if it's possible to type it better at this point (before moving to classes)

Test Plan

Events are now being called on web:
image

Checklist

@aleqsio aleqsio requested a review from tsapeta May 15, 2024 20:20
@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label May 15, 2024
@aleqsio aleqsio changed the title WIP fix expo speech not firing listeners [expo-speech][Web] Fix onDone not firing listeners. May 20, 2024
Co-authored-by: Expo Bot <34669131+expo-bot@users.noreply.github.com>
@aleqsio aleqsio marked this pull request as ready for review May 20, 2024 08:35
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels May 20, 2024
@aleqsio aleqsio merged commit 00f47c4 into main May 20, 2024
19 checks passed
@aleqsio aleqsio deleted the @aleqsio/fix-expo-speech branch May 20, 2024 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: fingerprint compatible 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