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
dotLottie will not load on web #1190
Comments
For web, you need to follow the instructions in the README: |
Yes I followed instructions, and it plays json files, and remote .lottie files, only when you require local .lottie file (no problem with .json) this error arises |
Can you provide a minimal reproducable? |
I am having the same issue. Metro is configured to accept |
Description
Image.resolveAssetSource is not defined on web.
lottie-react-native/packages/core/src/LottieView/utils.ts
Line 31 in ad223dd
for resolving the .lottie path i fixed it with expo-asset.
Version: 6.6.0
The text was updated successfully, but these errors were encountered: