ReferenceError: requestAnimationFrame is not defined #4890
Labels
Important
This seem to be a serious issue and we will need to take a deeper look into it some time soon
Needs review
Issue is ready to be reviewed by a maintainer
Platform: Android
This issue is specific to Android
Platform: iOS
This issue is specific to iOS
Platform: Web
This issue is specific to web
Repro provided
A reproduction with a snippet of code, snack or repo is provided
Description
I'm using Expo SDK 49 with Router v2 and when I enable static output and export web using metro bundler, I get this error:
ReferenceError: requestAnimationFrame is not defined at JSReanimated.scheduleOnUI
This issue talks about it and this PR is what I think is initiated to solve this issue.
But it's been a month since the PR is opened and no moves are made on it yet.
If there's any work around I can do till then, please suggest. Thank you.
P.S: I'm not attaching any snack link because this issue doesn't appear during local runtime and can only be reproducible if we export it.
Steps to reproduce
npx expo export --platform web
Snack or a link to a repository
N/A
Reanimated version
3.3.0
React Native version
0.72.3
Platforms
Android, iOS, Web
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
None
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: